summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris FAURE (aka billiob) <billiob@gmail.com>2006-06-22 19:16:54 +0000
committerBoris FAURE (aka billiob) <billiob@gmail.com>2006-06-22 19:16:54 +0000
commitce6c34416c944d5261ef63e0873cbcd5f8175d03 (patch)
tree3f9c8946947fcac70bab5afb28570c773ee91ea7 /dev-tcltk
parentnet-print/lm1100 - QA (quoting) (diff)
downloadsunrise-ce6c34416c944d5261ef63e0873cbcd5f8175d03.tar.gz
sunrise-ce6c34416c944d5261ef63e0873cbcd5f8175d03.tar.bz2
sunrise-ce6c34416c944d5261ef63e0873cbcd5f8175d03.zip
New Ebuild for bug 137496 for dev-tcltk/tkdnd-1.0_alpha2, thanks to Boris Faure
svn path=/sunrise/; revision=195
Diffstat (limited to 'dev-tcltk')
-rw-r--r--dev-tcltk/tkdnd/ChangeLog7
-rw-r--r--dev-tcltk/tkdnd/Manifest16
-rw-r--r--dev-tcltk/tkdnd/files/digest-tkdnd-1.0_alpha23
-rw-r--r--dev-tcltk/tkdnd/files/tkdnd-1.0_alpha2-destdir-issue.diff26
-rw-r--r--dev-tcltk/tkdnd/tkdnd-1.0_alpha2.ebuild34
5 files changed, 86 insertions, 0 deletions
diff --git a/dev-tcltk/tkdnd/ChangeLog b/dev-tcltk/tkdnd/ChangeLog
new file mode 100644
index 000000000..446c4d288
--- /dev/null
+++ b/dev-tcltk/tkdnd/ChangeLog
@@ -0,0 +1,7 @@
+# ChangeLog for dev-tcltk/tkdnd
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 22 Jun 2006; Boris FAURE (aka billiob) <billiob@gmail.com> ChangeLog:
+ New Ebuild for bug 137496, thanks to Boris Faure
+
diff --git a/dev-tcltk/tkdnd/Manifest b/dev-tcltk/tkdnd/Manifest
new file mode 100644
index 000000000..0074889ab
--- /dev/null
+++ b/dev-tcltk/tkdnd/Manifest
@@ -0,0 +1,16 @@
+AUX tkdnd-1.0_alpha2-destdir-issue.diff 1107 RMD160 f1f1359f95e65f73e0aa2db029ce052e0c27dd22 SHA1 d6a7807de2b3c96b1c59f4826d851654680d176a SHA256 681e167f9068bc7d6b9bb01747f9b053584ec91c1b599a3f3be32717dc5342fb
+MD5 8acd860c5ba831f5b12db0f1907d60fe files/tkdnd-1.0_alpha2-destdir-issue.diff 1107
+RMD160 f1f1359f95e65f73e0aa2db029ce052e0c27dd22 files/tkdnd-1.0_alpha2-destdir-issue.diff 1107
+SHA256 681e167f9068bc7d6b9bb01747f9b053584ec91c1b599a3f3be32717dc5342fb files/tkdnd-1.0_alpha2-destdir-issue.diff 1107
+DIST tkdnd-1.0a2.tar.gz 320091 RMD160 5288bae91ac5202aca8219094188bc83c1b657e9 SHA1 02cd4244cc9c3bcc6a4d9744d4ec2a06d152fcca SHA256 3a04085223dfd7d6355a7bdc0b97c330453fc68f59796a57768b72597ef696a5
+EBUILD tkdnd-1.0_alpha2.ebuild 707 RMD160 7faba60958a6fba6a8ad95ac9131d901b00be686 SHA1 8da5ad83d12c0547c7535d2ac00feeb87bfda6a9 SHA256 ec7ed4a1e5aba13b2105e20abda34790c941d7a56820415aee28c4558081fefc
+MD5 96edf01eb37da3a393055f0cfb7c7724 tkdnd-1.0_alpha2.ebuild 707
+RMD160 7faba60958a6fba6a8ad95ac9131d901b00be686 tkdnd-1.0_alpha2.ebuild 707
+SHA256 ec7ed4a1e5aba13b2105e20abda34790c941d7a56820415aee28c4558081fefc tkdnd-1.0_alpha2.ebuild 707
+MISC ChangeLog 240 RMD160 bc0d61e919d6670c57263ae3ab410902231583a1 SHA1 b9bc6583fab469582d7315ab190d762796e839ba SHA256 51d6fbf133cb02b32cc963d7c099ddd607159b2819cfbea34a9eba09a75a6ceb
+MD5 d24339666946bc4b70c07000b55788ba ChangeLog 240
+RMD160 bc0d61e919d6670c57263ae3ab410902231583a1 ChangeLog 240
+SHA256 51d6fbf133cb02b32cc963d7c099ddd607159b2819cfbea34a9eba09a75a6ceb ChangeLog 240
+MD5 d40efba70d816a2ffa58541bc98cb8cf files/digest-tkdnd-1.0_alpha2 235
+RMD160 22d0ddcbcffd1b59c81b65ced123d29c5cabfcc1 files/digest-tkdnd-1.0_alpha2 235
+SHA256 5515b506f096f1eadfe2555267a4bef535474354a38484de6fdd5b8184ff8053 files/digest-tkdnd-1.0_alpha2 235
diff --git a/dev-tcltk/tkdnd/files/digest-tkdnd-1.0_alpha2 b/dev-tcltk/tkdnd/files/digest-tkdnd-1.0_alpha2
new file mode 100644
index 000000000..bb9ae7df6
--- /dev/null
+++ b/dev-tcltk/tkdnd/files/digest-tkdnd-1.0_alpha2
@@ -0,0 +1,3 @@
+MD5 43c91da595aade4978e2e5e820ab0fc9 tkdnd-1.0a2.tar.gz 320091
+RMD160 5288bae91ac5202aca8219094188bc83c1b657e9 tkdnd-1.0a2.tar.gz 320091
+SHA256 3a04085223dfd7d6355a7bdc0b97c330453fc68f59796a57768b72597ef696a5 tkdnd-1.0a2.tar.gz 320091
diff --git a/dev-tcltk/tkdnd/files/tkdnd-1.0_alpha2-destdir-issue.diff b/dev-tcltk/tkdnd/files/tkdnd-1.0_alpha2-destdir-issue.diff
new file mode 100644
index 000000000..04fda0171
--- /dev/null
+++ b/dev-tcltk/tkdnd/files/tkdnd-1.0_alpha2-destdir-issue.diff
@@ -0,0 +1,26 @@
+--- tkdnd-1.0a2/unix/Makefile.in 2001-02-23 10:00:28.000000000 +0100
++++ tkdnd-1.0a2/unix/Makefile.in 2006-06-21 22:38:57.000000000 +0200
+@@ -296,7 +296,7 @@
+ $(RANLIB) $(DESTDIR)$(bindir)/$$p; \
+ else :; fi; \
+ done
+- $(TCLSH_PROG) mkIndex.tcl
++ $(TCLSH_PROG) mkIndex.tcl $(DESTDIR)$(libdir)
+
+ #========================================================================
+ # Install binary executables (e.g. .exe files)
+--- tkdnd-1.0a2/unix/mkIndex.tcl.in 2000-09-09 03:16:12.000000000 +0200
++++ tkdnd-1.0a2/unix/mkIndex.tcl.in 2006-06-21 22:35:37.000000000 +0200
+@@ -88,9 +88,9 @@
+ set package_dir [Nativepath [file dirname [pwd]]]
+ cd $libdir
+
+-set dest_dir [file join $libdir $package]
++set dest_dir [lindex $::argv 0]
+ ## Everything is ready, just copy to proper location...
+ foreach file {libtkdnd.dll pkgIndex.tcl tkDND_Utils.tcl} {
+- puts "Copying $file $dest_dir"
++ puts "Moving [file join $package_dir lib $package $file] to $dest_dir"
+- file copy -force [file join $package_dir lib $package $file] $dest_dir
++ file rename -force [file join $package_dir lib $package $file] $dest_dir
+ }
diff --git a/dev-tcltk/tkdnd/tkdnd-1.0_alpha2.ebuild b/dev-tcltk/tkdnd/tkdnd-1.0_alpha2.ebuild
new file mode 100644
index 000000000..0295f65c9
--- /dev/null
+++ b/dev-tcltk/tkdnd/tkdnd-1.0_alpha2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils
+
+MY_P=${P/_alpha/a}
+
+DESCRIPTION="TkDnD is an extension that adds native drag & drop capabilities to the tk toolkit."
+HOMEPAGE="http://www.iit.demokritos.gr/~petasis/Tcl/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+LICENSE="BSD"
+
+SLOT="0"
+KEYWORDS="~x86"
+RESTRICT="test"
+
+DEPEND=">=dev-lang/tcl-8.4
+ >=dev-lang/tk-8.4
+ "
+
+S=${WORKDIR}/${MY_P}/unix/
+
+src_unpack() {
+ unpack ${A}
+ # Patch to avoid a sandbox issue
+ epatch ${FILESDIR}/${P}-destdir-issue.diff
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die "emake install failed"
+ dodoc doc/* Readme.txt
+}
+