aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Huettel (dilfridge) <mail@akhuettel.de>2010-07-01 21:37:11 +0200
committerAndreas K. Huettel (dilfridge) <mail@akhuettel.de>2010-07-01 23:52:40 +0200
commitba733a79a0457706f66149babb48846ce2d8f1de (patch)
tree9f374ef39dcbd16cd231af9db257d2cd259aa044 /sci-electronics
parentNew ebuild for sci-electronics/xnec2c. (diff)
downloadsci-ba733a79a0457706f66149babb48846ce2d8f1de.tar.gz
sci-ba733a79a0457706f66149babb48846ce2d8f1de.tar.bz2
sci-ba733a79a0457706f66149babb48846ce2d8f1de.zip
[sci-electronics/magic] Copied from main tree
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/magic/ChangeLog280
-rw-r--r--sci-electronics/magic/Manifest10
-rw-r--r--sci-electronics/magic/magic-7.4.46-r1.ebuild51
-rw-r--r--sci-electronics/magic/magic-7.4.46.ebuild42
-rw-r--r--sci-electronics/magic/magic-7.5.127.ebuild43
-rw-r--r--sci-electronics/magic/magic-7.5.129.ebuild43
-rw-r--r--sci-electronics/magic/metadata.xml16
7 files changed, 485 insertions, 0 deletions
diff --git a/sci-electronics/magic/ChangeLog b/sci-electronics/magic/ChangeLog
new file mode 100644
index 000000000..8ad83b67b
--- /dev/null
+++ b/sci-electronics/magic/ChangeLog
@@ -0,0 +1,280 @@
+# ChangeLog for sci-electronics/magic
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/magic/ChangeLog,v 1.56 2009/09/27 14:53:44 nixnut Exp $
+
+ 27 Sep 2009; nixnut <nixnut@gentoo.org> magic-7.4.46-r1.ebuild:
+ ppc stable #281411
+
+ 22 Sep 2009; Markus Meier <maekke@gentoo.org> magic-7.4.46-r1.ebuild:
+ amd64 stable, bug #281411
+
+ 18 Aug 2009; Christian Faulhammer <fauli@gentoo.org>
+ magic-7.4.46-r1.ebuild:
+ stable x86, bug 281411
+
+*magic-7.4.46-r1 (11 Aug 2009)
+
+ 11 Aug 2009; Federico Ferri <mescalinum@gentoo.org>
+ +magic-7.4.46-r1.ebuild:
+ revbump magic-7.4.46.ebuild to fix bug #281148
+
+*magic-7.5.129 (08 Apr 2008)
+
+ 08 Apr 2008; Denis Dupeyron <calchan@gentoo.org> +magic-7.5.129.ebuild:
+ Version bump.
+
+ 29 Mar 2008; Denis Dupeyron <calchan@gentoo.org> -magic-7.4.35.ebuild,
+ -magic-7.4.49.ebuild, -magic-7.5.79.ebuild, -magic-7.5.95.ebuild:
+ Cleanup.
+
+*magic-7.5.127 (27 Mar 2008)
+
+ 27 Mar 2008; Denis Dupeyron <calchan@gentoo.org> +magic-7.5.127.ebuild:
+ Version bump. Branch 7.5 now considered stable by upstream.
+
+ 14 Jan 2008; Christoph Mende <angelos@gentoo.org> magic-7.4.46.ebuild:
+ Stable on amd64 wrt bug #203172
+
+ 24 Dec 2007; nixnut <nixnut@gentoo.org> magic-7.4.46.ebuild:
+ Stable on ppc wrt bug 203172
+
+ 23 Dec 2007; Dawid Węgliński <cla@gentoo.org> magic-7.4.46.ebuild:
+ Stable on x86 (bug #203172)
+
+*magic-7.4.49 (23 Dec 2007)
+
+ 23 Dec 2007; Denis Dupeyron <calchan@gentoo.org> +magic-7.4.49.ebuild:
+ Stable branch version bump.
+
+*magic-7.5.95 (29 Nov 2007)
+
+ 29 Nov 2007; Denis Dupeyron <calchan@gentoo.org> +magic-7.5.95.ebuild:
+ Experimental branch version bump.
+
+*magic-7.4.46 (29 Nov 2007)
+
+ 29 Nov 2007; Denis Dupeyron <calchan@gentoo.org> +magic-7.4.46.ebuild:
+ Stable branch version bump.
+
+ 08 Jun 2007; Denis Dupeyron <calchan@gentoo.org> -magic-7.5.78.ebuild:
+ Removed old development version.
+
+*magic-7.5.79 (30 May 2007)
+
+ 30 May 2007; Denis Dupeyron <calchan@gentoo.org> +magic-7.5.79.ebuild:
+ Development branch version bump.
+
+ 24 May 2007; Denis Dupeyron <calchan@gentoo.org> -magic-7.4.34.ebuild:
+ Removed magic-7.4.34 due to DRC and GDS output bugs.
+
+*magic-7.4.35 (30 Apr 2007)
+
+ 30 Apr 2007; Denis Dupeyron <calchan@gentoo.org> +magic-7.4.35.ebuild:
+ Version bump.
+
+ 09 Apr 2007; Denis Dupeyron <calchan@gentoo.org> -magic-7.4.19.ebuild:
+ Post-stabilization cleanup.
+
+ 09 Apr 2007; Raúl Porcel <armin76@gentoo.org> magic-7.4.34.ebuild:
+ x86 stable wrt bug 173833
+
+ 09 Apr 2007; Matti Bickel <mabi@gentoo.org> magic-7.4.34.ebuild:
+ ppc stable (bug #173833)
+
+ 09 Apr 2007; Peter Weller <welp@gentoo.org> magic-7.4.34.ebuild:
+ Stable on amd64 wrt bug 173833
+
+ 08 Apr 2007; Denis Dupeyron <calchan@gentoo.org> -magic-7.5.73.ebuild:
+ Removed old development ebuild.
+
+*magic-7.5.78 (01 Apr 2007)
+
+ 01 Apr 2007; Denis Dupeyron <calchan@gentoo.org> +magic-7.5.78.ebuild:
+ Development branch version bump.
+
+ 24 Mar 2007; Denis Dupeyron <calchan@gentoo.org> ChangeLog:
+ Fixed ChangeLog, see bug #171962.
+
+ 14 Mar 2007; Denis Dupeyron <calchan@gentoo.org> -magic-7.4.29.ebuild,
+ -magic-7.4.33.ebuild, -magic-7.5.71.ebuild:
+ Removed old ebuilds.
+
+*magic-7.5.73 (09 Mar 2007)
+
+ 09 Mar 2007; Denis Dupeyron <calchan@gentoo.org> +magic-7.5.73.ebuild:
+ Development branch version bump.
+
+*magic-7.4.34 (07 Mar 2007)
+
+ 07 Mar 2007; Denis Dupeyron <calchan@gentoo.org> +magic-7.4.34.ebuild:
+ Stable branch version bump.
+
+ 27 Feb 2007; Denis Dupeyron <calchan@gentoo.org> -magic-7.5.69.ebuild:
+ Removed old development version.
+
+*magic-7.5.71 (23 Feb 2007)
+
+ 23 Feb 2007; Denis Dupeyron <calchan@gentoo.org> +magic-7.5.71.ebuild:
+ Development branch version bump.
+
+*magic-7.4.33 (20 Feb 2007)
+
+ 20 Feb 2007; Denis Dupeyron <calchan@gentoo.org> +magic-7.4.33.ebuild,
+ magic-7.5.69.ebuild:
+ Stable branch version bump. Various cleanups and fixes.
+
+ 06 Feb 2007; Denis Dupeyron <calchan@gentoo.org> -magic-7.5.40.ebuild:
+ Removed old development version.
+
+*magic-7.5.69 (04 Feb 2007)
+
+ 04 Feb 2007; Denis Dupeyron <calchan@gentoo.org> +magic-7.5.69.ebuild:
+ Development branch version bump. Minor fixes.
+
+ 31 Jan 2007; Denis Dupeyron <calchan@gentoo.org> magic-7.5.40.ebuild:
+ Fixed KEYWORDS, see bug #160519.
+
+ 08 Jan 2007; Danny van Dyk <kugelfang@gentoo.org> -magic-7.4.27.ebuild:
+ QA: Removed unused versions.
+
+ 11 Oct 2006; Denis Dupeyron <calchan@gentoo.org> -magic-7.4.22.ebuild,
+ -magic-7.4.24.ebuild:
+ Removed old ebuilds.
+
+*magic-7.4.29 (09 Oct 2006)
+
+ 09 Oct 2006; Denis Dupeyron <calchan@gentoo.org> +magic-7.4.29.ebuild:
+ Stable branch version bump.
+
+*magic-7.5.40 (20 Sep 2006)
+
+ 20 Sep 2006; Denis Dupeyron <calchan@gentoo.org> +magic-7.5.40.ebuild:
+ Added development branch.
+
+*magic-7.4.27 (13 Sep 2006)
+
+ 13 Sep 2006; Denis Dupeyron <calchan@gentoo.org> +magic-7.4.27.ebuild:
+ Version bump.
+
+ 01 Aug 2006; Denis Dupeyron <calchan@gentoo.org> -files/defs.mak-7.1-r2,
+ -files/defs.mak-7.1-r3, -files/magic-7.1-fhs.patch,
+ -files/magic-7.1-gcc3.2.patch, -files/magic-7.1-misc.patch,
+ -files/magic-7.1-ppc-endian.patch, -files/magic-7.1-remove-decl.patch,
+ -files/10magic, -files/README.Gentoo, -magic-7.1-r5.ebuild,
+ -magic-7.4.14.ebuild, -magic-7.4.16.ebuild:
+ Cleaned up stale files following complete stabilization of magic-7.4.19.
+
+ 01 Aug 2006; Simon Stelling <blubb@gentoo.org> magic-7.4.19.ebuild:
+ stable on amd64
+
+*magic-7.4.24 (29 Jul 2006)
+
+ 29 Jul 2006; Denis Dupeyron <calchan@gentoo.org> +magic-7.4.24.ebuild:
+ Version bump.
+
+ 15 Jul 2006; Joshua Jackson <tsunam@gentoo.org> magic-7.4.19.ebuild:
+ Stable x86/ bug #139647
+
+ 8 Jul 2006; Stephanie Lockwood-Childs <wormo@gentoo.org>
+ magic-7.4.19.ebuild:
+ stable on ppc (Bug #139647)
+
+ 02 Jul 2006; Denis Dupeyron <calchan@gentoo.org> metadata.xml:
+ Adjusted metadata, see bug #138062.
+
+*magic-7.4.22 (27 Jun 2006)
+
+ 27 Jun 2006; Denis Dupeyron <calchan@gentoo.org> +magic-7.4.22.ebuild:
+ Revision bump.
+
+*magic-7.4.19 (01 Jun 2006)
+
+ 01 Jun 2006; Denis Dupeyron <calchan@gentoo.org> +magic-7.4.19.ebuild:
+ Version bump, includes upstream fix for bug #133444.
+
+ 17 May 2006; Denis Dupeyron <calchan@gentoo.org> magic-7.4.16.ebuild:
+ Fix bug #133444.
+
+*magic-7.4.16 (14 May 2006)
+
+ 14 May 2006; Denis Dupeyron <calchan@gentoo.org> +magic-7.4.16.ebuild:
+ Version bump.
+
+*magic-7.4.14 (23 Apr 2006)
+
+ 23 Apr 2006; Denis Dupeyron <calchan@gentoo.org> +magic-7.4.14.ebuild:
+ Version bump.
+
+ 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)
+
+ 22 Aug 2005; Patrick Kursawe <phosphan@gentoo.org> +files/defs.mak-7.1-r3,
+ +magic-7.1-r5.ebuild:
+ Uses system readline instead of its own and ncurses instead of termacp (bug
+ #103105).
+
+*magic-7.1-r4 (09 Jul 2005)
+
+ 09 Jul 2005; Olivier Fisette <ribosome@gentoo.org> +files/README.Gentoo,
+ +magic-7.1-r4.ebuild:
+ Fixed bug #74592 ("app-sci/magic" interferes with "sys-apps/file") by using
+ "~/.magic-cad" rather than "~/.magic".
+
+ 27 Jun 2005; Olivier Fisette <ribosome@gentoo.org> -files/defs.mak-7.1,
+ -files/defs.mak-7.1-r1, -magic-7.1-r2.ebuild, magic-7.1-r3.ebuild:
+ Made "sys-apps/file" a blocker; fixes bug #74592; thanks to Keri Harris.
+ Added to x86. Removed old version and unused files.
+
+*magic-7.1-r3 (21 Apr 2005)
+
+ 21 Apr 2005; Stephanie Lockwood-Childs <wormo@gentoo.org>
+ +files/magic-7.1-ppc-endian.patch, +files/magic-7.1-remove-decl.patch,
+ +magic-7.1-r3.ebuild:
+ Took out a conflicting declaration to fix compile under gcc3.4
+ Make it build on ppc by defining powerpc endianness in header
+ and getting correct CFLAGS into defs.mak
+ Fix file collisions caused by man pages with very generic names;
+ add "magic-" prefix to man page filenames
+
+*magic-7.1-r2 (27 Dec 2004)
+
+ 27 Dec 2004; Olivier Fisette <ribosome@gentoo.org> +metadata.xml,
+ +files/10magic, +files/defs.mak-7.1, +files/defs.mak-7.1-r1,
+ +files/defs.mak-7.1-r2, +files/magic-7.1-fhs.patch,
+ +files/magic-7.1-gcc3.2.patch, +files/magic-7.1-misc.patch,
+ +magic-7.1-r2.ebuild:
+ Moved from app-sci/magic to sci-electronics/magic.
+
+ 18 Nov 2003; Patrick Kursawe <phosphan@gentoo.org> magic-7.1-r2.ebuild,
+ files/magic-7.1-misc.patch, files/magic-7.1-paths.patch,
+ files/magic-7.1-vararg.patch:
+ Should compile _and_ work now.
+
+*magic-7.1-r2 (17 Nov 2003)
+
+ 17 Nov 2003; Patrick Kursawe <phosphan@gentoo.org> magic-7.1-r2.ebuild,
+ files/magic-7.1-vararg.patch:
+ Working on bug 32956 - package compiles fine now, paths are still incorrect.
+
+ 15 Dec 2002; Daniel Ahlberg <aliz@gentoo.org> magic-7.1-r1.ebuild :
+ Marked as stable.
+
+*magic-7.1-r1 (03 Oct 2002)
+
+ 03 Oct 2002; Daniel Ahlberg <aliz@gentoo.org> :
+ Closes #8581. Thanks to D Kindlund <gentoo@kindlund.net> for reporting this and
+ to Michael Nygard <michael.nygard@halleysfifth.com> for providing the fix.
+
+ 25 Jul 2002; Daniel Ahlberg <aliz@gentoo.org> magic-7.1.ebuild :
+ Added KEYWORDS.
+
+*magic-7.1 (30 April 2002)
+
+ 30 April 2002; Michael Nygard <michael.nygard@halleysfifth.com> ChangeLog :
+
+ First Gentoo release of this package. Magic predates autoconf, so has its
+ own (manual) configuration script. I may work with the upstream
+ developers to transition to autoconf.
diff --git a/sci-electronics/magic/Manifest b/sci-electronics/magic/Manifest
new file mode 100644
index 000000000..eac33558f
--- /dev/null
+++ b/sci-electronics/magic/Manifest
@@ -0,0 +1,10 @@
+DIST 2002a.tar.gz 6601961 RMD160 3eb7e61999b032dc47bddc3398543f4d4cde3adf SHA1 908160476c9cddcedfb8a73f78f67f2c66480cc2 SHA256 8b47889fcbcd36b1cdc2e51fc0aeb8c17b7780f559b01ca1209f9ed5f8c38d19
+DIST magic-7.4.46.tgz 3605986 RMD160 695623481c4c9d4437bd30c629a6c8bac91f6ad6 SHA1 95a344c6b4ff54466f0a7521a322d5f8da1a430f SHA256 55f377500a861b12d21483b002c72a7a5fb9b35885f7dc858ee98f4a1e191cac
+DIST magic-7.5.127.tgz 3674974 RMD160 f741008a16dca5fa282527e7c4c5a512d0d8033a SHA1 f1a25e805d91fbb279ffa9ca11a72016edda71f5 SHA256 fa19563ec011e25b1a1655a6ceda47dc8ad6898dbf68448fe17bc51427a8f578
+DIST magic-7.5.129.tgz 3674551 RMD160 25e6e1e46069667a3ca50b333d8b09a3d1dfd980 SHA1 501ed7f4ef849ee9caece8715b562f9b539822c2 SHA256 81bca3223ddf7251d73a38692e7a4f4758076c65a2fa1e3825c6bd8cce491041
+EBUILD magic-7.4.46-r1.ebuild 1381 RMD160 c3e0a719f134a679aca1046ebb8d1528baf788ac SHA1 e66bb40def3f22391adefad628b88655197abe34 SHA256 d9d600c5cb30c2caa7524951e2fa473ed4c6e56306830a72e65fbce8a26cbab8
+EBUILD magic-7.4.46.ebuild 1230 RMD160 f09c49b4dd27e433b2b32b756e5143ea648719ab SHA1 5c2c4ddc324e507db395ecc8c42ad18bbd43d8a1 SHA256 6772fdba04e210fa5760709a7c4278a671c02466f31b60abda84b415b7df6e1d
+EBUILD magic-7.5.127.ebuild 1169 RMD160 27d29d2fcae9b5d77062433aa5f6d8445afa5a53 SHA1 c05426f44c21c872c916a705c19c128437f951b1 SHA256 c674ea9034db6a97376c9b005e09e29f301ea466140cb97b03a79085b39deb19
+EBUILD magic-7.5.129.ebuild 1169 RMD160 efcbdb2305cc1f534d033c07d0ae4d10c64c925c SHA1 6f69a3dc9bd07740513e903e8a8b19e1c4e9fba4 SHA256 eb4d021bf18eb32db362742557c6d7b69780fa51ba102af0db9ff7c2418389bc
+MISC ChangeLog 9312 RMD160 12f73b3da9f9e751a96ac3421ab6d2ba72b2318d SHA1 b4cf7db7003f871f2fc3e08b907b6fbce7194097 SHA256 5b8ebe8cf2af29b16567076db5823a02a55fb6b2d6203d481e3eda335b8e0118
+MISC metadata.xml 900 RMD160 2eadae625fcf32b2b3c16cc5dea80123066b943c SHA1 015acb62eb2b6ba91c08ae1954a5bddef8d547d4 SHA256 a53b73f34be6d5dff3316ac95d407f45b7272a4934420b21cf4ca2ea81b153da
diff --git a/sci-electronics/magic/magic-7.4.46-r1.ebuild b/sci-electronics/magic/magic-7.4.46-r1.ebuild
new file mode 100644
index 000000000..b1234d71c
--- /dev/null
+++ b/sci-electronics/magic/magic-7.4.46-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/magic/magic-7.4.46-r1.ebuild,v 1.4 2009/09/27 14:53:44 nixnut Exp $
+
+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_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # bug 281148 - tcl-8.5
+ sed -i -e 's/package require -exact Tk/package require Tk/g' \
+ tcltk/tkcon.tcl
+}
+
+src_compile() {
+ # Short-circuit top-level configure script to retain CFLAGS
+ cd scripts
+ CPP="cpp" econf --libdir=/usr/share || die "Configuration failed"
+ cd ..
+ emake -j1 || die "Compilation failed"
+}
+
+src_install() {
+ emake -j1 DESTDIR="${D}" install || die "Installation failed"
+ dodoc README README.Tcl TODO
+
+ # Install latest MOSIS tech files
+ cp -pPR "${WORKDIR}"/2002a "${D}"/usr/share/magic/sys/current
+}
+
+pkg_postinst() {
+ ewarn 'Magic now uses "~/.magicrc" as the personal startup file rather'
+ ewarn 'than "~/.magic" or the previously Gentoo specific "~/.magic-cad".'
+}
diff --git a/sci-electronics/magic/magic-7.4.46.ebuild b/sci-electronics/magic/magic-7.4.46.ebuild
new file mode 100644
index 000000000..275c77459
--- /dev/null
+++ b/sci-electronics/magic/magic-7.4.46.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/magic/magic-7.4.46.ebuild,v 1.4 2008/01/14 19:05:22 angelos Exp $
+
+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_compile() {
+ # Short-circuit top-level configure script to retain CFLAGS
+ cd scripts
+ CPP="cpp" econf --libdir=/usr/share || die "Configuration failed"
+ cd ..
+ emake -j1 || die "Compilation failed"
+}
+
+src_install() {
+ emake -j1 DESTDIR="${D}" install || die "Installation failed"
+ dodoc README README.Tcl TODO
+
+ # Install latest MOSIS tech files
+ cp -pPR "${WORKDIR}"/2002a "${D}"/usr/share/magic/sys/current
+}
+
+pkg_postinst() {
+ ewarn 'Magic now uses "~/.magicrc" as the personal startup file rather'
+ ewarn 'than "~/.magic" or the previously Gentoo specific "~/.magic-cad".'
+}
diff --git a/sci-electronics/magic/magic-7.5.127.ebuild b/sci-electronics/magic/magic-7.5.127.ebuild
new file mode 100644
index 000000000..f2aec1f68
--- /dev/null
+++ b/sci-electronics/magic/magic-7.5.127.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/magic/magic-7.5.127.ebuild,v 1.1 2008/03/27 12:54:22 calchan Exp $
+
+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_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i -e "s: -pg : :" tcltk/Makefile || die "Patch failed"
+}
+
+src_compile() {
+ # Short-circuit top-level configure script to retain CFLAGS
+ cd scripts
+ CPP="cpp" econf --libdir=/usr/share || die "Configuration failed"
+ cd ..
+ emake -j1 || die "Compilation failed"
+}
+
+src_install() {
+ emake -j1 DESTDIR="${D}" install || die "Installation failed"
+ dodoc README README.Tcl TODO
+
+ # Install latest MOSIS tech files
+ cp -pPR "${WORKDIR}"/2002a "${D}"/usr/share/magic/sys/current
+}
diff --git a/sci-electronics/magic/magic-7.5.129.ebuild b/sci-electronics/magic/magic-7.5.129.ebuild
new file mode 100644
index 000000000..1bc40e1c7
--- /dev/null
+++ b/sci-electronics/magic/magic-7.5.129.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/magic/magic-7.5.129.ebuild,v 1.1 2008/04/08 13:14:50 calchan Exp $
+
+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_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i -e "s: -pg : :" tcltk/Makefile || die "Patch failed"
+}
+
+src_compile() {
+ # Short-circuit top-level configure script to retain CFLAGS
+ cd scripts
+ CPP="cpp" econf --libdir=/usr/share || die "Configuration failed"
+ cd ..
+ emake -j1 || die "Compilation failed"
+}
+
+src_install() {
+ emake -j1 DESTDIR="${D}" install || die "Installation failed"
+ dodoc README README.Tcl TODO
+
+ # Install latest MOSIS tech files
+ cp -pPR "${WORKDIR}"/2002a "${D}"/usr/share/magic/sys/current
+}
diff --git a/sci-electronics/magic/metadata.xml b/sci-electronics/magic/metadata.xml
new file mode 100644
index 000000000..986ee5244
--- /dev/null
+++ b/sci-electronics/magic/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci-electronics</herd>
+ <longdescription>
+ Magic is a venerable VLSI layout tool, written in the 1980's at Berkeley by
+ John Ousterhout, of Tcl fame. Due largely in part to its liberal Berkeley
+ open-source license, magic has remained popular with universities and small
+ companies. The open-source license has allowed VLSI engineers with a bent
+ toward programming to implement clever ideas and help magic stay abreast of
+ fabrication technology. However, it is the well thought-out core algorithms
+ which lend to magic the greatest part of its popularity. Magic is widely cited
+ as being the easiest tool to use for circuit layout, even for people who
+ ultimately rely on commercial tools for their product design flow.
+ </longdescription>
+</pkgmetadata>