summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Dupeyron <calchan@gentoo.org>2008-03-27 12:54:22 +0000
committerDenis Dupeyron <calchan@gentoo.org>2008-03-27 12:54:22 +0000
commit047bb92a61fb0a5aa7c90015bb02b26e561fbfb5 (patch)
tree62732dc5a490b48bbcea2d1813b3e70398a53486 /sci-electronics/magic
parentalpha/ia64/sparc/x86 stable (diff)
downloadgentoo-2-047bb92a61fb0a5aa7c90015bb02b26e561fbfb5.tar.gz
gentoo-2-047bb92a61fb0a5aa7c90015bb02b26e561fbfb5.tar.bz2
gentoo-2-047bb92a61fb0a5aa7c90015bb02b26e561fbfb5.zip
Version bump. Branch 7.5 now considered stable by upstream.
(Portage version: 2.1.4.4)
Diffstat (limited to 'sci-electronics/magic')
-rw-r--r--sci-electronics/magic/ChangeLog7
-rw-r--r--sci-electronics/magic/magic-7.5.127.ebuild43
2 files changed, 49 insertions, 1 deletions
diff --git a/sci-electronics/magic/ChangeLog b/sci-electronics/magic/ChangeLog
index 2ae9058a3b7d..cc93c68a091c 100644
--- a/sci-electronics/magic/ChangeLog
+++ b/sci-electronics/magic/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-electronics/magic
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/magic/ChangeLog,v 1.49 2008/01/14 19:05:22 angelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/magic/ChangeLog,v 1.50 2008/03/27 12:54:22 calchan Exp $
+
+*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
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 000000000000..f2aec1f6815f
--- /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
+}