diff options
author | Patrick Kursawe <phosphan@gentoo.org> | 2005-09-21 15:14:01 +0000 |
---|---|---|
committer | Patrick Kursawe <phosphan@gentoo.org> | 2005-09-21 15:14:01 +0000 |
commit | 617f7f8e49293ac10844432db892f761152ab9ca (patch) | |
tree | c04d6f872562edc90f8a54aa1b2c62ac9e3f38f8 /sci-electronics/magic | |
parent | fix typo in desc (diff) | |
download | gentoo-2-617f7f8e49293ac10844432db892f761152ab9ca.tar.gz gentoo-2-617f7f8e49293ac10844432db892f761152ab9ca.tar.bz2 gentoo-2-617f7f8e49293ac10844432db892f761152ab9ca.zip |
7.1-r5 stable for x86, cleanup.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'sci-electronics/magic')
-rw-r--r-- | sci-electronics/magic/ChangeLog | 6 | ||||
-rw-r--r-- | sci-electronics/magic/files/digest-magic-7.1-r3 | 1 | ||||
-rw-r--r-- | sci-electronics/magic/files/digest-magic-7.1-r4 | 1 | ||||
-rw-r--r-- | sci-electronics/magic/magic-7.1-r3.ebuild | 83 | ||||
-rw-r--r-- | sci-electronics/magic/magic-7.1-r4.ebuild | 105 | ||||
-rw-r--r-- | sci-electronics/magic/magic-7.1-r5.ebuild | 4 |
6 files changed, 7 insertions, 193 deletions
diff --git a/sci-electronics/magic/ChangeLog b/sci-electronics/magic/ChangeLog index bed7bb5c344d..4237925bd604 100644 --- a/sci-electronics/magic/ChangeLog +++ b/sci-electronics/magic/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-electronics/magic # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/magic/ChangeLog,v 1.6 2005/08/22 17:08:24 phosphan Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/magic/ChangeLog,v 1.7 2005/09/21 15:14:01 phosphan Exp $ + + 21 Sep 2005; Patrick Kursawe <phosphan@gentoo.org> -magic-7.1-r3.ebuild, + -magic-7.1-r4.ebuild, magic-7.1-r5.ebuild: + 7.1-r5 stable for x86, cleanup. *magic-7.1-r5 (22 Aug 2005) diff --git a/sci-electronics/magic/files/digest-magic-7.1-r3 b/sci-electronics/magic/files/digest-magic-7.1-r3 deleted file mode 100644 index b5c06b5e7f42..000000000000 --- a/sci-electronics/magic/files/digest-magic-7.1-r3 +++ /dev/null @@ -1 +0,0 @@ -MD5 13364b77566f5b47fd3f2783e188d3df magic-7.1.tar.gz 3860487 diff --git a/sci-electronics/magic/files/digest-magic-7.1-r4 b/sci-electronics/magic/files/digest-magic-7.1-r4 deleted file mode 100644 index b5c06b5e7f42..000000000000 --- a/sci-electronics/magic/files/digest-magic-7.1-r4 +++ /dev/null @@ -1 +0,0 @@ -MD5 13364b77566f5b47fd3f2783e188d3df magic-7.1.tar.gz 3860487 diff --git a/sci-electronics/magic/magic-7.1-r3.ebuild b/sci-electronics/magic/magic-7.1-r3.ebuild deleted file mode 100644 index 683486c7370e..000000000000 --- a/sci-electronics/magic/magic-7.1-r3.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/magic/magic-7.1-r3.ebuild,v 1.3 2005/06/27 02:18:41 ribosome Exp $ - -inherit eutils flag-o-matic - -DESCRIPTION="The VLSI design CAD tool" -HOMEPAGE="http://vlsi.cornell.edu/magic/" -SRC_URI="http://vlsi.cornell.edu/magic/${P}.tar.gz" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="x86 ~ppc" -IUSE="" - -DEPEND="sys-apps/findutils - dev-lang/perl - >=app-shells/tcsh-6.10-r3 - sys-libs/libtermcap-compat" -RDEPEND="sys-libs/libtermcap-compat - !sys-apps/file" - -src_unpack() { - unpack ${A} - - # Patch to use FHS paths - epatch ${FILESDIR}/${P}-fhs.patch - - # Patch for GCC 3.2 compatibility - epatch ${FILESDIR}/${P}-gcc3.2.patch - - # Add one more needed for GCC 3.4 (but earlier gcc won't mind) - epatch ${FILESDIR}/${P}-remove-decl.patch - - # Fix endianness problem for ppc - epatch ${FILESDIR}/${P}-ppc-endian.patch - - # some gcc 3.3 stuff, paths... - cd ${S} - # work around cvs problem - sed -i 's/\$Header/\$NO_RCS_Header/' magic/proto.magic - epatch ${FILESDIR}/${P}-misc.patch - - # Insert our idea of configuration file - cp ${FILESDIR}/defs.mak-${PV}-r2 ${S}/defs.mak - strip-flags - sed -i "/^CFLAGS/ s/=.*/= ${CFLAGS}/;" ${S}/defs.mak - - scripts/makedbh database/database.h.in database/database.h - - # Clean up all the pre-GCC-3.2 preprocessor directives - einfo "Cleansing preprocessor directives" - find ./ -name "*.[ch]" | xargs -n 1 perl -pi -e 's/^\#endif..*$/\#endif/' - find ./ -name "*.[ch]" | xargs -n 1 perl -pi -e 's/^\#else..*$/\#else/' -} - -src_compile() { - # this program does not like optimizations or parallel builds - make || die - egrep -q "^make.*Error" make.log && die "Error while compiling - please add ${S}/make.log to your error report." -} - -src_install() { - make DESTDIR=${D} install || die - - insinto /etc/env.d - doins ${FILESDIR}/10magic - keepdir /var/lock/magic - chmod +t ${D}/var/lock/magic - chmod ugo+rwx ${D}/var/lock/magic - cd ${D}/usr/lib/magic - mv * ${D}/usr/share/magic/ - cd ${D}/usr/lib - mv *.h *.a magic/ - ln -s ../../share/magic/sys magic/sys - ln -s ../../share/magic/scm magic/scm - ln -s ../../share/magic/tutorial magic/tutorial - - # try to make man page names unique (many are so generic they collide) - cd ${D}/usr/share/man - find . -type f ! -name "*magic*" -exec \ - sh -c 'F=`echo {} | sed -e "s:\(man.\)/:\1/magic-:;"` ; mv "{}" "${F}" ' \; -} diff --git a/sci-electronics/magic/magic-7.1-r4.ebuild b/sci-electronics/magic/magic-7.1-r4.ebuild deleted file mode 100644 index aba2a52264b3..000000000000 --- a/sci-electronics/magic/magic-7.1-r4.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/magic/magic-7.1-r4.ebuild,v 1.1 2005/07/09 02:16:48 ribosome Exp $ - -inherit eutils flag-o-matic - -DESCRIPTION="The VLSI design CAD tool" -HOMEPAGE="http://vlsi.cornell.edu/magic/" -SRC_URI="http://vlsi.cornell.edu/magic/${P}.tar.gz" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="~x86 ~ppc" -IUSE="" - -DEPEND="sys-apps/findutils - dev-lang/perl - >=app-shells/tcsh-6.10-r3 - sys-libs/libtermcap-compat" -RDEPEND="sys-libs/libtermcap-compat" - -src_unpack() { - unpack ${A} - - # Patch to use FHS paths - epatch ${FILESDIR}/${P}-fhs.patch - - # Patch for GCC 3.2 compatibility - epatch ${FILESDIR}/${P}-gcc3.2.patch - - # Add one more needed for GCC 3.4 (but earlier gcc won't mind) - epatch ${FILESDIR}/${P}-remove-decl.patch - - # Fix endianness problem for ppc - epatch ${FILESDIR}/${P}-ppc-endian.patch - - # some gcc 3.3 stuff, paths... - cd ${S} - # work around cvs problem - sed -i 's/\$Header/\$NO_RCS_Header/' magic/proto.magic - epatch ${FILESDIR}/${P}-misc.patch - - # Insert our idea of configuration file - cp ${FILESDIR}/defs.mak-${PV}-r2 ${S}/defs.mak - strip-flags - sed -i "/^CFLAGS/ s/=.*/= ${CFLAGS}/;" ${S}/defs.mak - - scripts/makedbh database/database.h.in database/database.h - - # Clean up all the pre-GCC-3.2 preprocessor directives - einfo "Cleansing preprocessor directives" - find ./ -name "*.[ch]" | xargs -n 1 perl -pi -e 's/^\#endif..*$/\#endif/' - find ./ -name "*.[ch]" | xargs -n 1 perl -pi -e 's/^\#else..*$/\#else/' - - # Use ".magic-cad" rather than ".magic" as the config file to avoid - # conflicts with "sys-apps/file" (see bug #74592). - einfo 'Replacing occurences of ".magic" by ".magic-cad".' - cd ${S} - for i in extflat/*.c lisp/other/{*.c,Makefile.magic,:config} \ - macros/*.c magic/{Makefile,.\#Makefile.1.6,proto.magic} \ - magicusage/*.c main/*.c READ_ME scripts/config; do - sed -e 's/ .magic/ .magic-cad/' \ - -e 's/".magic"/".magic-cad"/' \ - -e 's%/.magic%/.magic-cad%' \ - -i ${i} || die - done -} - -src_compile() { - # this program does not like optimizations or parallel builds - make || die - egrep -q "^make.*Error" make.log && die "Error while compiling - please add ${S}/make.log to your error report." -} - -src_install() { - make DESTDIR=${D} install || die - - insinto /etc/env.d - doins ${FILESDIR}/10magic - keepdir /var/lock/magic - chmod +t ${D}/var/lock/magic - chmod ugo+rwx ${D}/var/lock/magic - cd ${D}/usr/lib/magic - mv * ${D}/usr/share/magic/ - cd ${D}/usr/lib - mv *.h *.a magic/ - ln -s ../../share/magic/sys magic/sys - ln -s ../../share/magic/scm magic/scm - ln -s ../../share/magic/tutorial magic/tutorial - - # try to make man page names unique (many are so generic they collide) - cd ${D}/usr/share/man - find . -type f ! -name "*magic*" -exec \ - sh -c 'F=`echo {} | sed -e "s:\(man.\)/:\1/magic-:;"` ; mv "{}" "${F}" ' \; - # Use ".magic" for the global config file. - cd ${D}/usr/share/magic/sys - mv .magic-cad .magic - dodoc ${FILESDIR}/README.Gentoo -} - -pkg_postinst() { - ewarn 'On Gentoo systems, you should use "~/.magic-cad" as your personnal' - ewarn 'Magic startup file rather than "~/.magic". For more details, see' - ewarn '"README.Gentoo"' -} diff --git a/sci-electronics/magic/magic-7.1-r5.ebuild b/sci-electronics/magic/magic-7.1-r5.ebuild index f23f32478c52..995100840c47 100644 --- a/sci-electronics/magic/magic-7.1-r5.ebuild +++ b/sci-electronics/magic/magic-7.1-r5.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/magic/magic-7.1-r5.ebuild,v 1.1 2005/08/22 17:08:24 phosphan Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/magic/magic-7.1-r5.ebuild,v 1.2 2005/09/21 15:14:01 phosphan Exp $ inherit eutils flag-o-matic @@ -10,7 +10,7 @@ SRC_URI="http://vlsi.cornell.edu/magic/${P}.tar.gz" LICENSE="as-is" SLOT="0" -KEYWORDS="~x86 ~ppc" +KEYWORDS="x86 ~ppc" IUSE="" RDEPEND="sys-libs/ncurses |