summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-04-22 16:15:57 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-04-22 16:15:57 +0000
commitc0518e4c12f2b664d68ec68db3f9dd2ea18a1616 (patch)
tree53d6c4a6cff269b9f8be55e20081135ceb5cd46d
parentUse newconfd/newinitd for #174266; Properly quote variables. (diff)
downloadgentoo-2-c0518e4c12f2b664d68ec68db3f9dd2ea18a1616.tar.gz
gentoo-2-c0518e4c12f2b664d68ec68db3f9dd2ea18a1616.tar.bz2
gentoo-2-c0518e4c12f2b664d68ec68db3f9dd2ea18a1616.zip
Version bump. Features support for 1.5 features in GNU Classpath.
(Portage version: 2.1.2.4)
-rw-r--r--dev-java/gjdoc/ChangeLog7
-rw-r--r--dev-java/gjdoc/files/digest-gjdoc-0.7.83
-rw-r--r--dev-java/gjdoc/gjdoc-0.7.8.ebuild73
3 files changed, 82 insertions, 1 deletions
diff --git a/dev-java/gjdoc/ChangeLog b/dev-java/gjdoc/ChangeLog
index e65dce6560fa..92dab9790180 100644
--- a/dev-java/gjdoc/ChangeLog
+++ b/dev-java/gjdoc/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/gjdoc
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/gjdoc/ChangeLog,v 1.25 2007/02/14 22:26:45 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/gjdoc/ChangeLog,v 1.26 2007/04/22 16:15:57 betelgeuse Exp $
+
+*gjdoc-0.7.8 (22 Apr 2007)
+
+ 22 Apr 2007; Petteri Räty <betelgeuse@gentoo.org> +gjdoc-0.7.8.ebuild:
+ Version bump. Features support for 1.5 features in GNU Classpath.
14 Feb 2007; Vlastimil Babka <caster@gentoo.org> -gjdoc-0.7.7.ebuild:
Cleanup.
diff --git a/dev-java/gjdoc/files/digest-gjdoc-0.7.8 b/dev-java/gjdoc/files/digest-gjdoc-0.7.8
new file mode 100644
index 000000000000..6d82b6a0cb8f
--- /dev/null
+++ b/dev-java/gjdoc/files/digest-gjdoc-0.7.8
@@ -0,0 +1,3 @@
+MD5 a60c6bb229025120412b8a9d69ef1800 gjdoc-0.7.8.tar.gz 752319
+RMD160 075203cf9090032c23e1a9056ce2ff28b3277639 gjdoc-0.7.8.tar.gz 752319
+SHA256 17da1dc5b53287eace01045f748bfb2e5790929dc0514c498c62bd67689e9998 gjdoc-0.7.8.tar.gz 752319
diff --git a/dev-java/gjdoc/gjdoc-0.7.8.ebuild b/dev-java/gjdoc/gjdoc-0.7.8.ebuild
new file mode 100644
index 000000000000..285aae212d2d
--- /dev/null
+++ b/dev-java/gjdoc/gjdoc-0.7.8.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/gjdoc/gjdoc-0.7.8.ebuild,v 1.1 2007/04/22 16:15:57 betelgeuse Exp $
+
+WANT_AUTOMAKE="latest"
+WANT_AUTOCONF="latest"
+
+inherit eutils autotools java-pkg-2
+
+DESCRIPTION="A javadoc compatible Java source documentation generator."
+HOMEPAGE="http://www.gnu.org/software/cp-tools/"
+SRC_URI="mirror://gnu/classpath/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+
+# Possible USE flags.
+#
+# native: to --enable-native
+# doc: to generate javadoc
+# debug: There is a debug doclet installed by default but maybe could
+# have a wrapper that uses it.
+#
+IUSE="xmldoclet source"
+
+# Refused to emerge with sun-jdk-1.3* complaining about wanting a bigger stack size
+DEPEND=">=dev-java/antlr-2.7.1
+ >=virtual/jdk-1.4
+ source? ( app-arch/zip )"
+
+RDEPEND=">=virtual/jre-1.4
+ >=dev-java/antlr-2.7.1"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/${PN}-0.7.7-gcp.patch"
+ AT_M4DIR="m4" eautoreconf
+}
+
+src_compile() {
+ # I think that configure will do --enable-native if it finds gcj
+ # so we'll disable it explicitly
+ local myc="--with-antlr-jar=$(java-pkg_getjar antlr antlr.jar) --disable-native"
+ myc="${myc} --disable-dependency-tracking"
+
+ # Does not work with gcc 3.* and without these it tries to use gij
+ # see bug #116804 for details
+
+ # TODO ideally, would respect JAVACFLAGS
+ JAVA="java" JAVAC="javac $(java-pkg_javac-args)" \
+ econf ${myc} \
+ $(use_enable xmldoclet) || die "econf failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ local jars="com-sun-tools-doclets-Taglet gnu-classpath-tools-gjdoc com-sun-javadoc"
+ for jar in ${jars}; do
+ java-pkg_newjar ${jar}-${PV}.jar ${jar}.jar
+ done
+
+ dobin ${FILESDIR}/gjdoc
+ dodoc AUTHORS ChangeLog NEWS README
+
+ cd ${S}/docs
+ make DESTDIR=${D} install || die "Failed to install documentation"
+
+ use source && java-pkg_dosrc "${S}/src"/{com,gnu}
+}