+++ /dev/null
-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 $@
+++ /dev/null
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-JAVA_PKG_IUSE="source doc"
-
-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-3.8*"
-RDEPEND=">=virtual/jre-1.4
- =dev-java/junit-3.8*"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}/0.4.3-makefile.am.patch"
- eautoreconf
-
- (
- echo "#!/bin/sh"
- echo "java-config -p ${PN}"
- ) > "${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
-}
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-
-<pkgmetadata>
-<herd>java</herd>
-
-<longdescription>
-JJTraveler: a visitor combinator framework for Java.
-</longdescription>
-</pkgmetadata>