summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-04-02 08:42:40 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-04-02 08:42:40 +0000
commita7e618e5721ba81ddcb9430457ec6b8f04248396 (patch)
tree838ea6466974f7cdf4eafbf9b67c4093c91c2315 /dev-java
parentversion bump (diff)
downloadgentoo-2-a7e618e5721ba81ddcb9430457ec6b8f04248396.tar.gz
gentoo-2-a7e618e5721ba81ddcb9430457ec6b8f04248396.tar.bz2
gentoo-2-a7e618e5721ba81ddcb9430457ec6b8f04248396.zip
Migrate to generation 2 and make this compile again. Thanks to Mike Smith <mas3f@alumni.virginia.edu>.
(Portage version: 2.1.2.3)
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/jjtraveler/ChangeLog9
-rw-r--r--dev-java/jjtraveler/files/0.4.3-makefile.am.patch20
-rw-r--r--dev-java/jjtraveler/files/digest-jjtraveler-0.4.3-r13
-rw-r--r--dev-java/jjtraveler/jjtraveler-0.4.3-r1.ebuild61
4 files changed, 92 insertions, 1 deletions
diff --git a/dev-java/jjtraveler/ChangeLog b/dev-java/jjtraveler/ChangeLog
index 615f2cc9256d..a1ae015bf4fa 100644
--- a/dev-java/jjtraveler/ChangeLog
+++ b/dev-java/jjtraveler/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-java/jjtraveler
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jjtraveler/ChangeLog,v 1.8 2007/02/09 02:08:16 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jjtraveler/ChangeLog,v 1.9 2007/04/02 08:42:40 betelgeuse Exp $
+
+*jjtraveler-0.4.3-r1 (02 Apr 2007)
+
+ 02 Apr 2007; Petteri Räty <betelgeuse@gentoo.org>
+ +files/0.4.3-makefile.am.patch, +jjtraveler-0.4.3-r1.ebuild:
+ Migrate to generation 2 and make this compile again. Thanks to Mike Smith
+ <mas3f@alumni.virginia.edu>.
09 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
Regenerate digest in Manifest2 format.
diff --git a/dev-java/jjtraveler/files/0.4.3-makefile.am.patch b/dev-java/jjtraveler/files/0.4.3-makefile.am.patch
new file mode 100644
index 000000000000..a15e304df8c4
--- /dev/null
+++ b/dev-java/jjtraveler/files/0.4.3-makefile.am.patch
@@ -0,0 +1,20 @@
+diff -ru JJTraveler-0.4.3-vanilla/Makefile.am JJTraveler-0.4.3-patched/Makefile.am
+--- JJTraveler-0.4.3-vanilla/Makefile.am 2004-04-14 08:55:45.000000000 -0400
++++ JJTraveler-0.4.3-patched/Makefile.am 2007-02-26 09:12:28.000000000 -0500
+@@ -26,5 +26,4 @@
+ noinst_SCRIPTS = ${PACKAGE}-${VERSION}.pkg
+
+ ${PACKAGE}-${VERSION}.pkg: ${PACKAGE}.pkg Makefile
+- sed 's#__VERSION__#${VERSION}#g;\
+- s#__PACKAGE__#${PACKAGE}#g' < $< > $@
++ sed 's#__VERSION__#${VERSION}#g;s#__PACKAGE__#${PACKAGE}#g' < $< > $@
+diff -ru JJTraveler-0.4.3-vanilla/scripts/Makefile.am JJTraveler-0.4.3-patched/scripts/Makefile.am
+--- JJTraveler-0.4.3-vanilla/scripts/Makefile.am 2004-02-02 10:12:10.000000000 -0500
++++ JJTraveler-0.4.3-patched/scripts/Makefile.am 2007-02-26 09:11:03.000000000 -0500
+@@ -5,5 +5,4 @@
+ EXTRA_DIST = jjtraveler-config.sh.src
+
+ % : %.sh.src Makefile
+- sed 's@__PREFIX__@${prefix}@g;\
+- s@__VERSION__@${VERSION}@g;' < $< > $@ && chmod +x $@
++ sed 's@__PREFIX__@${prefix}@g;s@__VERSION__@${VERSION}@g;' < $< > $@ && chmod +x $@
diff --git a/dev-java/jjtraveler/files/digest-jjtraveler-0.4.3-r1 b/dev-java/jjtraveler/files/digest-jjtraveler-0.4.3-r1
new file mode 100644
index 000000000000..b44ddfc571fd
--- /dev/null
+++ b/dev-java/jjtraveler/files/digest-jjtraveler-0.4.3-r1
@@ -0,0 +1,3 @@
+MD5 35bf801ee61f042513ae88247fe1bf1d JJTraveler-0.4.3.tar.gz 219594
+RMD160 574b02f18fa71fd8aab90ef3083e3f9f4ccfe365 JJTraveler-0.4.3.tar.gz 219594
+SHA256 e873a57e59661b557bd73181c398c88efa1898dbb277df791cebc6ba6c8a1ad0 JJTraveler-0.4.3.tar.gz 219594
diff --git a/dev-java/jjtraveler/jjtraveler-0.4.3-r1.ebuild b/dev-java/jjtraveler/jjtraveler-0.4.3-r1.ebuild
new file mode 100644
index 000000000000..4b35bda5eb32
--- /dev/null
+++ b/dev-java/jjtraveler/jjtraveler-0.4.3-r1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jjtraveler/jjtraveler-0.4.3-r1.ebuild,v 1.1 2007/04/02 08:42:40 betelgeuse Exp $
+
+JAVA_PKG_IUSE="source doc"
+WANT_AUTOMAKE="1.7"
+
+inherit autotools java-pkg-2
+
+DESCRIPTION="A visitor combinator framework for Java"
+HOMEPAGE="http://www.cwi.nl/htbin/sen1/twiki/bin/view/SEN1/ATermLibrary"
+MY_P=JJTraveler-${PV}
+SRC_URI="http://www.cwi.nl/projects/MetaEnv/jjtraveler/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+S=${WORKDIR}/${MY_P}
+
+DEPEND="
+ >=virtual/jdk-1.4
+ dev-java/junit"
+RDEPEND=">=virtual/jre-1.4
+ dev-java/junit"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/0.4.3-makefile.am.patch"
+ eautomake
+
+ cp "${FILESDIR}/0.4.3-build.xml" "${S}/build.xml" -i || die
+ (
+ echo "#!/bin/sh"
+ echo "java-config -p ${PN}-${SLOT}"
+ ) > "${S}/jjtraveler-config"
+
+ rm -v jars/*.jar || die
+ cd jars
+ java-pkg_jar-from junit
+}
+
+src_compile() {
+ econf \
+ --with-javac-flags="$(java-pkg_javac-args)"
+ emake || die "emake failed"
+ if use doc; then
+ cd src/jjtraveler
+ make htmljava.stamp || die "Failed to create javadoc"
+ fi
+}
+
+src_install() {
+ java-pkg_newjar ./src/${P}.jar
+
+ dobin jjtraveler-config || die
+ dodoc AUTHORS ChangeLog NEWS README TODO || die
+
+ use source && java-pkg_dosrc src/jjtraveler
+ use doc && java-pkg_dojavadoc src/jjtraveler/doc
+}