summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArcady Genkin <agenkin@gentoo.org>2003-02-02 03:31:04 +0000
committerArcady Genkin <agenkin@gentoo.org>2003-02-02 03:31:04 +0000
commit1885f1c3733869eacd06ad0cc4880acab3ab4324 (patch)
tree7e6c55ef5331105904d451244975cbe5457b4f9a /dev-tcltk
parentMarked stable (diff)
downloadgentoo-2-1885f1c3733869eacd06ad0cc4880acab3ab4324.tar.gz
gentoo-2-1885f1c3733869eacd06ad0cc4880acab3ab4324.tar.bz2
gentoo-2-1885f1c3733869eacd06ad0cc4880acab3ab4324.zip
Initial version.
Diffstat (limited to 'dev-tcltk')
-rw-r--r--dev-tcltk/tkXwin/ChangeLog8
-rw-r--r--dev-tcltk/tkXwin/files/1.0-Makefile.in.diff21
-rw-r--r--dev-tcltk/tkXwin/files/digest-tkXwin-1.01
-rw-r--r--dev-tcltk/tkXwin/tkXwin-1.0.ebuild39
4 files changed, 69 insertions, 0 deletions
diff --git a/dev-tcltk/tkXwin/ChangeLog b/dev-tcltk/tkXwin/ChangeLog
new file mode 100644
index 000000000000..48e606ff4f9f
--- /dev/null
+++ b/dev-tcltk/tkXwin/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for dev-tcltk/tkXwin
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tkXwin/ChangeLog,v 1.1 2003/02/02 03:31:04 agenkin Exp $
+
+*tkXwin-1.0 (01 Feb 2003)
+
+ 01 Feb 2003; Arcady Genkin <agenkin@gentoo.org> :
+ Initial version of the package.
diff --git a/dev-tcltk/tkXwin/files/1.0-Makefile.in.diff b/dev-tcltk/tkXwin/files/1.0-Makefile.in.diff
new file mode 100644
index 000000000000..bd10890c719c
--- /dev/null
+++ b/dev-tcltk/tkXwin/files/1.0-Makefile.in.diff
@@ -0,0 +1,21 @@
+--- Makefile.in.orig 2003-02-01 22:03:34.000000000 -0500
++++ Makefile.in 2003-02-01 22:04:39.000000000 -0500
+@@ -432,14 +432,14 @@
+
+
+ install-exec-hook:
+- $(mkinstalldirs) @PKG_TCL@
++ $(mkinstalldirs) $(DESTDIR)@PKG_TCL@
+ echo "package ifneeded tkXwin" \
+ `echo $(VERSION) | awk -F. '{ printf "%s.%s", $$1, $$2 }'` \
+- "[list load $(DESTDIR)$(libdir)/libtkXwin.so]" \
+- > @PKG_TCL@/pkgIndex.tcl
++ "[list load $(libdir)/libtkXwin.so]" \
++ > $(DESTDIR)@PKG_TCL@/pkgIndex.tcl
+ sed -e 's%load .libs/libtkXwin.so%package require tkXwin%' \
+ < test.tcl \
+- > @PKG_TCL@/test.tcl
++ > $(DESTDIR)@PKG_TCL@/test.tcl
+
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
diff --git a/dev-tcltk/tkXwin/files/digest-tkXwin-1.0 b/dev-tcltk/tkXwin/files/digest-tkXwin-1.0
new file mode 100644
index 000000000000..1bebcca70490
--- /dev/null
+++ b/dev-tcltk/tkXwin/files/digest-tkXwin-1.0
@@ -0,0 +1 @@
+MD5 1750b22a9b8e68013083d058562d4b65 tkXwin-1.0.tgz 168650
diff --git a/dev-tcltk/tkXwin/tkXwin-1.0.ebuild b/dev-tcltk/tkXwin/tkXwin-1.0.ebuild
new file mode 100644
index 000000000000..264d6a765016
--- /dev/null
+++ b/dev-tcltk/tkXwin/tkXwin-1.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2003 Arcady Genkin <agenkin@gentoo.org>.
+# Distributed under the terms of the GNU General Public License v2.
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tkXwin/tkXwin-1.0.ebuild,v 1.1 2003/02/02 03:31:04 agenkin Exp $
+
+DESCRIPTION="Tcl/Tk library to detect idle periods of an X session."
+HOMEPAGE="http://beepcore-tcl.sourceforge.net/"
+
+DEPEND=">=dev-lang/tcl-8.3.3
+ >=dev-lang/tk-8.3.3"
+
+LICENSE="BSD"
+KEYWORDS="~x86"
+
+SLOT="0"
+SRC_URI="http://beepcore-tcl.sourceforge.net/${P}.tgz"
+S=${WORKDIR}/${P}
+
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}
+
+ patch -p 0 < ${FILESDIR}/${PV}-Makefile.in.diff || die
+
+}
+
+src_compile() {
+
+ econf --with-tcl=/usr/lib --with-tk=/usr/lib || die
+ make || die
+
+}
+
+src_install() {
+
+ make DESTDIR=${D} install || die
+ dodoc AUTHORS ChangeLog INSTALL LICENSE README TODO
+
+}