summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-04-02 09:30:54 +0000
committerJustin Lecher <jlec@gentoo.org>2010-04-02 09:30:54 +0000
commit693e14ddb1ca12cba20eab1779bb5d5bdc52e14b (patch)
tree2913137c1767f95ca0f9ee4d123d6b4d52db3bab /dev-tcltk
parentsrc_compile -> src_configure ignored (diff)
downloadgentoo-2-693e14ddb1ca12cba20eab1779bb5d5bdc52e14b.tar.gz
gentoo-2-693e14ddb1ca12cba20eab1779bb5d5bdc52e14b.tar.bz2
gentoo-2-693e14ddb1ca12cba20eab1779bb5d5bdc52e14b.zip
Imported from prefix overlay
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'dev-tcltk')
-rw-r--r--dev-tcltk/itcl/ChangeLog10
-rw-r--r--dev-tcltk/itcl/itcl-3.3.1_pre20090417-r1.ebuild38
2 files changed, 46 insertions, 2 deletions
diff --git a/dev-tcltk/itcl/ChangeLog b/dev-tcltk/itcl/ChangeLog
index 5fb2635bf9c4..1e9982dc1329 100644
--- a/dev-tcltk/itcl/ChangeLog
+++ b/dev-tcltk/itcl/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-tcltk/itcl
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/itcl/ChangeLog,v 1.42 2009/09/22 11:47:48 maekke Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/itcl/ChangeLog,v 1.43 2010/04/02 09:30:54 jlec Exp $
+
+*itcl-3.3.1_pre20090417-r1 (02 Apr 2010)
+
+ 02 Apr 2010; Justin Lecher <jlec@gentoo.org>
+ +itcl-3.3.1_pre20090417-r1.ebuild:
+ Imported from prefix overlay
22 Sep 2009; Markus Meier <maekke@gentoo.org>
itcl-3.3.1_pre20090417.ebuild:
diff --git a/dev-tcltk/itcl/itcl-3.3.1_pre20090417-r1.ebuild b/dev-tcltk/itcl/itcl-3.3.1_pre20090417-r1.ebuild
new file mode 100644
index 000000000000..4028f5b2905b
--- /dev/null
+++ b/dev-tcltk/itcl/itcl-3.3.1_pre20090417-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/itcl/itcl-3.3.1_pre20090417-r1.ebuild,v 1.1 2010/04/02 09:30:54 jlec Exp $
+
+inherit eutils
+
+MY_PN="incrTcl"
+MY_P="${MY_PN}-${PV}"
+DESCRIPTION="Object Oriented Enhancements for Tcl/Tk"
+HOMEPAGE="http://incrtcl.sourceforge.net/"
+SRC_URI="mirror://gentoo/${MY_P}.tar.gz"
+
+IUSE=""
+SLOT="0"
+LICENSE="BSD"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
+
+DEPEND="dev-lang/tcl"
+
+S="${WORKDIR}/${MY_PN}/${PN}"
+
+src_compile() {
+ econf || die "econf failed"
+
+ # adjust install_name on darwin
+ if [[ ${CHOST} == *-darwin* ]]; then
+ sed -i \
+ -e 's:^\(SHLIB_LD\W.*\)$:\1 -install_name ${pkglibdir}/$@:' \
+ "${S}"/Makefile || die 'sed failed'
+ fi
+
+ emake CFLAGS_DEFAULT="${CFLAGS}" || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ dodoc ../{CHANGES,ChangeLog,INCOMPATIBLE,README,TODO}
+}