summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2012-06-13 14:26:03 +0000
committerMichael Weber <xmw@gentoo.org>2012-06-13 14:26:03 +0000
commit1466f54a653c0a25b0ed46cf845c30681be39fda (patch)
tree77c2084f8d890ac923ed5b50596d04517c199639 /sci-electronics
parentMask beta versions of sci-electronics/xcircuit for testing (diff)
downloadhistorical-1466f54a653c0a25b0ed46cf845c30681be39fda.tar.gz
historical-1466f54a653c0a25b0ed46cf845c30681be39fda.tar.bz2
historical-1466f54a653c0a25b0ed46cf845c30681be39fda.zip
Version bump (thanks euscan)
Package-Manager: portage-2.1.10.65/cvs/Linux x86_64
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/magic/ChangeLog8
-rw-r--r--sci-electronics/magic/Manifest11
-rw-r--r--sci-electronics/magic/files/magic-8.0.109-ldflags.patch27
-rw-r--r--sci-electronics/magic/magic-8.0.109.ebuild62
4 files changed, 103 insertions, 5 deletions
diff --git a/sci-electronics/magic/ChangeLog b/sci-electronics/magic/ChangeLog
index 6fcbaa37e8cb..614a6ce88689 100644
--- a/sci-electronics/magic/ChangeLog
+++ b/sci-electronics/magic/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-electronics/magic
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/magic/ChangeLog,v 1.60 2012/06/13 14:00:34 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/magic/ChangeLog,v 1.61 2012/06/13 14:26:03 xmw Exp $
+
+*magic-8.0.109 (13 Jun 2012)
+
+ 13 Jun 2012; Michael Weber <xmw@gentoo.org>
+ +files/magic-8.0.109-ldflags.patch, +magic-8.0.109.ebuild:
+ Version bump (thanks euscan)
*magic-7.5.220 (13 Jun 2012)
diff --git a/sci-electronics/magic/Manifest b/sci-electronics/magic/Manifest
index 7be803f4f898..b16daf77c445 100644
--- a/sci-electronics/magic/Manifest
+++ b/sci-electronics/magic/Manifest
@@ -1,6 +1,7 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
+AUX magic-8.0.109-ldflags.patch 1045 RMD160 b5575682f670b358c23991d1ceb3381c848e6888 SHA1 319e53110964608a62817573aff0d6e0fb517c92 SHA256 ef73a525bfee39da9c6535873eb6f1c23aa60721e7c1b20ade85c9c9d4c8e4c6
AUX magic-ldflags.patch 1767 RMD160 b3e9d9a2e314ec3f920fa4bf26ffa38a5468c0f0 SHA1 a18cc71b387f052d5739e44953d1f4b467588c7a SHA256 0fc244bd6e25c45297ab2293f482e93af3fac97a32aa6864777eb204e1f36c09
DIST 2002a.tar.gz 6601961 RMD160 3eb7e61999b032dc47bddc3398543f4d4cde3adf SHA1 908160476c9cddcedfb8a73f78f67f2c66480cc2 SHA256 8b47889fcbcd36b1cdc2e51fc0aeb8c17b7780f559b01ca1209f9ed5f8c38d19
DIST magic-7.4.46.tgz 3605986 RMD160 695623481c4c9d4437bd30c629a6c8bac91f6ad6 SHA1 95a344c6b4ff54466f0a7521a322d5f8da1a430f SHA256 55f377500a861b12d21483b002c72a7a5fb9b35885f7dc858ee98f4a1e191cac
@@ -8,18 +9,20 @@ DIST magic-7.5.127.tgz 3674974 RMD160 f741008a16dca5fa282527e7c4c5a512d0d8033a S
DIST magic-7.5.129.tgz 3674551 RMD160 25e6e1e46069667a3ca50b333d8b09a3d1dfd980 SHA1 501ed7f4ef849ee9caece8715b562f9b539822c2 SHA256 81bca3223ddf7251d73a38692e7a4f4758076c65a2fa1e3825c6bd8cce491041
DIST magic-7.5.202.tgz 3692294 RMD160 99ae0bae03d131a4ed87a1059e92706f0a7f20d8 SHA1 baf03cff89d9c60c9fc9b23e40a085db78f1ff4b SHA256 975cb3962c8a97e3caae83c5de309bf09e623a829bd36983e82d28104067d99c
DIST magic-7.5.220.tgz 3746889 RMD160 628cdf685366790a10037cfd97a27932f6f17ba2 SHA1 039b445ab104325d01e31b047c3a2b1da7aabfa8 SHA256 a6a9c2bcd3e16942165a40cdcda28937f2cc122a47d92812f47e46dd67d0f69e
+DIST magic-8.0.109.tgz 3865558 RMD160 51dd11704ab5204524ca70c0d73392347a4473ff SHA1 b6243a2fdf49de82a60d902cf1ccfb6649ee5c5d SHA256 f3a669490440f5f1ae19f681a6e49eb85dc70c564b472f4e0ff40a9a53773a71
EBUILD magic-7.4.46-r1.ebuild 1349 RMD160 3547464169a3a01b2e9cc6264032d02bd4dc9264 SHA1 ca1efc424c224a48215f39180f676fb9e584419c SHA256 c8ab8a4b4cb50f828c43710bfbece9119f680e1481786f2ea043a2c429e2307a
EBUILD magic-7.4.46.ebuild 1197 RMD160 482a4858aa5280d01554b389d2a5547134bdebc7 SHA1 ebf5153220929283e41e831b5d6114d9149ed9b1 SHA256 75b4a18dd5be5ef364421218c9923d6dec4cf9ccc5f2e581e373f6e3f330c256
EBUILD magic-7.5.127.ebuild 1136 RMD160 da1c5d1bb7697f4264ec757c1f745f23a8d2a71b SHA1 515482da80bf9c0c9e0d5248edf323f24fd6ae9b SHA256 626ed3623c965be133d90e8229b0f2e416d62fb26c33ed1e0ac7fb55b8dca8f2
EBUILD magic-7.5.129.ebuild 1136 RMD160 e6389a6bf101e75b6cddb0c591a294bc426c8ebb SHA1 d8adfce7bfb5b73844068d6e52c3401b8db7e8ff SHA256 cb8679ee6417dd0ab908e131c960bac3d5e92be41e2d0ee16497b0a9e8e7d941
EBUILD magic-7.5.202.ebuild 1715 RMD160 6ba87c0b4d2fbcf97e0d7a4e5c0e85c3adb33535 SHA1 5c955eaa6f6255935db09d15ced3d859284e9323 SHA256 ec6c3830064ddc18531ff17f226f169050b6fa638d99bcf3709a5955006c6388
EBUILD magic-7.5.220.ebuild 1718 RMD160 f7e396fa58868947c21849e36b1e11de4d1763dd SHA1 5607adfe672691013ad2d95c6bd8895043b31aa5 SHA256 6bd046c5bad1993e78c2c69a52f453848d25b7b8dcced0f0530037face036dda
-MISC ChangeLog 9971 RMD160 00d118cf0b99eb7e872a2b7e18cf209c08cb1851 SHA1 ee230d817b5829d19f43dbf1f0577758c7b76e15 SHA256 e3c8f1b110eb87738e7f0dcde51c828f63f31a76e6563c6dc1a2ccfa0dc78985
+EBUILD magic-8.0.109.ebuild 1717 RMD160 9c1037b3a18147a0eceecde840b8dec07056d8aa SHA1 d8cc4f0d4c35a816c40d1e3f9031c4edc2fd7259 SHA256 62248719df02fbbac1b641da0695cc0e95f3152a7949c53f33996c2c9bac6e86
+MISC ChangeLog 10140 RMD160 674d5b4d2a6c29025ff7a269b0404bd564c5875a SHA1 7a27a0137c8a46cc5449ebbf1b474cafcd7d8867 SHA256 05fe8f1d465d77c4d5a39be62e0184ac6556c2d92efe145ac1ed2e7bd6f752a3
MISC metadata.xml 898 RMD160 06b292ea8f0762d6657dcb2fc2487e5c26a09538 SHA1 4182bc63cf97d106df37cf720b55621f2dfe32fa SHA256 cea05f737ec2d259cfd66d5b6e7acc43789ec3703af8ee120724ba66dd9021de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iF4EAREIAAYFAk/YnOIACgkQknrdDGLu8JDyzgD/amoPf3TEehbTqBPkK6NGPtqJ
-lOhTH5/COZalrep6CuIA/0hVDOmfrXtT507tKn1lrG2W1KbHS5mWYnae/ugzTi1A
-=8Ydq
+iF4EAREIAAYFAk/YotoACgkQknrdDGLu8JApjgD9FPf8hri1zrZwZ+IMf0037pv2
+Jzswlq2FHiFkF+J900sBAI5syGMtcN0ElYKnKObI/SU9wPcEwECeHNHm6rxDojdA
+=ziNP
-----END PGP SIGNATURE-----
diff --git a/sci-electronics/magic/files/magic-8.0.109-ldflags.patch b/sci-electronics/magic/files/magic-8.0.109-ldflags.patch
new file mode 100644
index 000000000000..f471aa7bcff3
--- /dev/null
+++ b/sci-electronics/magic/files/magic-8.0.109-ldflags.patch
@@ -0,0 +1,27 @@
+--- magic-8.0.109/scripts/defs.mak.in
++++ magic-8.0.109/scripts/defs.mak.in
+@@ -53,7 +53,7 @@
+ M4 = @M4@
+ RANLIB = @RANLIB@
+ SHDLIB_EXT = @SHDLIB_EXT@
+-LDDL_FLAGS = @LDDL_FLAGS@
++LDDL_FLAGS = ${LDFLAGS} @LDDL_FLAGS@
+ LD_RUN_PATH = @LD_RUN_PATH@
+ LIB_SPECS = @LIB_SPECS@
+ WISH_EXE = @WISH_EXE@
+--- magic-8.0.109/tcltk/Makefile
++++ magic-8.0.109/tcltk/Makefile
+@@ -43,11 +43,11 @@
+ (cd $(DESTDIR)${TCLDIR}; chmod 0755 tkcon.tcl tkshell.tcl)
+
+ magicexec: magicexec.c ${MAGICDIR}/defs.mak
+- ${CC} ${CFLAGS} -pg ${CPPFLAGS} ${DFLAGS} magicexec.c -o magicexec \
++ ${CC} ${CFLAGS} -pg ${CPPFLAGS} ${DFLAGS} ${LDFLAGS} magicexec.c -o magicexec \
+ ${LD_RUN_PATH} ${LIBS} ${LIB_SPECS}
+
+ magicdnull: magicdnull.c ${MAGICDIR}/defs.mak
+- ${CC} ${CFLAGS} ${CPPFLAGS} ${DFLAGS} magicdnull.c -o magicdnull \
++ ${CC} ${CFLAGS} ${CPPFLAGS} ${DFLAGS} ${LDFLAGS} magicdnull.c -o magicdnull \
+ ${LD_RUN_PATH} ${LIBS} ${LIB_SPECS}
+
+ magic.tcl: magic.tcl.in ${MAGICDIR}/defs.mak
diff --git a/sci-electronics/magic/magic-8.0.109.ebuild b/sci-electronics/magic/magic-8.0.109.ebuild
new file mode 100644
index 000000000000..0f4cc9a694da
--- /dev/null
+++ b/sci-electronics/magic/magic-8.0.109.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/magic/magic-8.0.109.ebuild,v 1.1 2012/06/13 14:26:03 xmw Exp $
+
+EAPI=2
+
+inherit multilib eutils autotools
+
+DESCRIPTION="The VLSI design CAD tool."
+HOMEPAGE="http://www.opencircuitdesign.com/magic/index.html"
+SRC_URI="http://www.opencircuitdesign.com/magic/archive/${P}.tgz \
+ ftp://ftp.mosis.edu/pub/sondeen/magic/new/beta/2002a.tar.gz"
+
+LICENSE="as-is GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND="sys-libs/ncurses
+ sys-libs/readline
+ dev-lang/tcl
+ dev-lang/tk
+ dev-tcltk/blt"
+DEPEND="${RDEPEND}
+ app-shells/tcsh"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-ldflags.patch"
+ cd scripts
+ eautoreconf
+ cd ..
+ sed -i -e "s: -pg : :" tcltk/Makefile || die "tcltk patch failed"
+}
+
+src_configure() {
+ # Short-circuit top-level configure script to retain CFLAGS
+ cd scripts
+ CPP="cpp" econf
+}
+
+src_compile() {
+ emake -j1 || die "Compilation failed"
+}
+
+src_install() {
+ emake -j1 DESTDIR="${D}" install || die
+
+ dodoc README README.Tcl TODO || die
+
+ # Move docs from libdir to docdir and add symlink.
+ mv "${D}/usr/$(get_libdir)/magic/doc"/* "${D}/usr/share/doc/${PF}/" || die
+ rmdir "${D}/usr/$(get_libdir)/magic/doc" || die
+ dosym "/usr/share/doc/${PF}" "/usr/$(get_libdir)/magic/doc" || die
+
+ # Move tutorial from libdir to datadir and add symlink.
+ dodir /usr/share/${PN} || die
+ mv "${D}/usr/$(get_libdir)/magic/tutorial" "${D}/usr/share/${PN}/" || die
+ dosym "/usr/share/${PN}/tutorial" "/usr/$(get_libdir)/magic/tutorial" || die
+
+ # Install latest MOSIS tech files
+ cp -pPR "${WORKDIR}"/2002a "${D}"/usr/$(get_libdir)/magic/sys/current || die
+}