summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2005-04-03 13:47:58 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2005-04-03 13:47:58 +0000
commit6423c76076a4c025a955f40b918142af7e645729 (patch)
treea4a05ba0a5c9ca07f41d79824828d649c3516efa /dev-tcltk
parentremove dummy einfo (diff)
downloadhistorical-6423c76076a4c025a955f40b918142af7e645729.tar.gz
historical-6423c76076a4c025a955f40b918142af7e645729.tar.bz2
historical-6423c76076a4c025a955f40b918142af7e645729.zip
Version bumped. Cleanup ebuild.
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'dev-tcltk')
-rw-r--r--dev-tcltk/otcl/ChangeLog9
-rw-r--r--dev-tcltk/otcl/Manifest4
-rw-r--r--dev-tcltk/otcl/files/digest-otcl-1.91
-rw-r--r--dev-tcltk/otcl/otcl-1.9.ebuild56
4 files changed, 67 insertions, 3 deletions
diff --git a/dev-tcltk/otcl/ChangeLog b/dev-tcltk/otcl/ChangeLog
index 88ed466e1058..ba171b164fa6 100644
--- a/dev-tcltk/otcl/ChangeLog
+++ b/dev-tcltk/otcl/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-tcltk/otcl
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/otcl/ChangeLog,v 1.15 2004/10/26 22:02:17 sekretarz Exp $
+# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/otcl/ChangeLog,v 1.16 2005/04/03 13:47:58 matsuu Exp $
+
+*otcl-1.9 (03 Apr 2005)
+
+ 03 Apr 2005; MATSUU Takuto <matsuu@gentoo.org> +otcl-1.9.ebuild:
+ Version bumped. Cleanup ebuild.
27 Oct 2004; Karol Wojtaszek <sekretarz@gentoo.org> otcl-1.8-r3.ebuild:
Added ~amd64
diff --git a/dev-tcltk/otcl/Manifest b/dev-tcltk/otcl/Manifest
index d60ddd478745..686ae654a2fa 100644
--- a/dev-tcltk/otcl/Manifest
+++ b/dev-tcltk/otcl/Manifest
@@ -1,9 +1,11 @@
+MD5 f190fa4dea591a5b6ffdfc6566f1ec04 otcl-1.9.ebuild 1384
MD5 dfee444844214f6dfc6fff0948849eb1 otcl-1.8-r3.ebuild 1414
MD5 b541d6fb00bbdab66e5a36ca2a4385ef otcl-1.8-r2.ebuild 1207
-MD5 37188d63c76aa9a501c22f73dfb674f0 ChangeLog 1944
+MD5 979356d578842bf3d259d1e6a7b6efa6 ChangeLog 2068
MD5 dffd46174e78b327c834fc3e4b1cf848 metadata.xml 160
MD5 08286e1ef9899977742b19cfc3758b83 otcl-1.8-r1.ebuild 1067
MD5 64a71b4bb60017c2d8802e771d31cedc files/digest-otcl-1.8-r1 60
MD5 64a71b4bb60017c2d8802e771d31cedc files/digest-otcl-1.8-r2 60
MD5 64a71b4bb60017c2d8802e771d31cedc files/digest-otcl-1.8-r3 60
MD5 090aa64d1486dc3d916b9b5176179d30 files/otcl-1.8-badfreefix.patch 7469
+MD5 861bb2b80c83a4b6a6364a2e18322b74 files/digest-otcl-1.9 60
diff --git a/dev-tcltk/otcl/files/digest-otcl-1.9 b/dev-tcltk/otcl/files/digest-otcl-1.9
new file mode 100644
index 000000000000..7d193c7bb739
--- /dev/null
+++ b/dev-tcltk/otcl/files/digest-otcl-1.9
@@ -0,0 +1 @@
+MD5 d17331ef65912f43c530c57565f85600 otcl-1.9.tar.gz 309728
diff --git a/dev-tcltk/otcl/otcl-1.9.ebuild b/dev-tcltk/otcl/otcl-1.9.ebuild
new file mode 100644
index 000000000000..d5a7cff9d4e1
--- /dev/null
+++ b/dev-tcltk/otcl/otcl-1.9.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/otcl/otcl-1.9.ebuild,v 1.1 2005/04/03 13:47:58 matsuu Exp $
+
+inherit eutils
+
+DESCRIPTION="MIT Object extension to Tcl"
+HOMEPAGE="http://otcl-tclcl.sourceforge.net/otcl/"
+SRC_URI="mirror://sourceforge/otcl-tclcl/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~x86 ~sparc ~ppc ~amd64"
+IUSE=""
+
+DEPEND=">=dev-lang/tcl-8.3.2
+ >=dev-lang/tk-8.3.2"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ epatch ${FILESDIR}/otcl-1.8-badfreefix.patch
+ sed -i \
+ -e "s/) otkAppInit.c/) otkAppInit.c otcl.c/" \
+ -e "s/) otclAppInit.c/) otclAppInit.c otcl.c/" \
+ ${S}/Makefile.in || die "sed Makefile failed"
+
+ libtoolize -f
+}
+
+src_compile() {
+ local tclv tkv myconf
+ tclv=$(grep TCL_VER /usr/include/tcl.h | sed 's/^.*"\(.*\)".*/\1/')
+ tkv=$(grep TK_VER /usr/include/tk.h | sed 's/^.*"\(.*\)".*/\1/')
+ myconf="--with-tcl-ver=${tclv} --with-tk-ver=${tkv}"
+ CFLAGS="${CFLAGS} -I/usr/$(get_libdir)/tcl${tkv}/include/generic"
+
+ econf ${myconf} || die "econf failed"
+ emake all || die "emake all failed"
+ emake libotcl.so || die "emake libotcl.so failed"
+}
+
+src_install() {
+ dobin otclsh owish
+ dolib libotcl.so
+ dolib.a libotcl.a
+ insinto /usr/include
+ doins otcl.h
+
+ # docs
+ dodoc VERSION
+ dohtml README.html CHANGES.html
+ docinto doc
+ dohtml doc/*.html
+}