summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-java/gjdoc/ChangeLog11
-rw-r--r--dev-java/gjdoc/Manifest5
-rw-r--r--dev-java/gjdoc/files/digest-gjdoc-0.7.51
-rw-r--r--dev-java/gjdoc/files/gjdoc3
-rw-r--r--dev-java/gjdoc/gjdoc-0.7.5.ebuild48
-rw-r--r--dev-java/gjdoc/metadata.xml13
6 files changed, 81 insertions, 0 deletions
diff --git a/dev-java/gjdoc/ChangeLog b/dev-java/gjdoc/ChangeLog
new file mode 100644
index 000000000000..66bd9eb393a6
--- /dev/null
+++ b/dev-java/gjdoc/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-java/gjdoc
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/gjdoc/ChangeLog,v 1.1 2005/09/27 09:53:41 betelgeuse Exp $
+
+*gjdoc-0.7.5 (27 Sep 2005)
+
+ 27 Sep 2005; Petteri Räty <betelgeuse@gentoo.org> +files/gjdoc,
+ +metadata.xml, +gjdoc-0.7.5.ebuild:
+ Initial addition. Thanks to nichoj and belanger for the initial packaging in
+ experimental.
+
diff --git a/dev-java/gjdoc/Manifest b/dev-java/gjdoc/Manifest
new file mode 100644
index 000000000000..82ce228aafd1
--- /dev/null
+++ b/dev-java/gjdoc/Manifest
@@ -0,0 +1,5 @@
+MD5 0abd64f44a4e0a11db67cdcbc216f30a gjdoc-0.7.5.ebuild 1376
+MD5 ca067c0163044bfa6ad309841bfca7f1 ChangeLog 344
+MD5 0d8df1cd88e392aa059af56ac1d368e9 metadata.xml 535
+MD5 3fb0d8107550edfcee8ba6f0cf1bfc85 files/digest-gjdoc-0.7.5 63
+MD5 09c41d12fbdde13c5d1d4a64aa66bd0f files/gjdoc 137
diff --git a/dev-java/gjdoc/files/digest-gjdoc-0.7.5 b/dev-java/gjdoc/files/digest-gjdoc-0.7.5
new file mode 100644
index 000000000000..442b6bb60a59
--- /dev/null
+++ b/dev-java/gjdoc/files/digest-gjdoc-0.7.5
@@ -0,0 +1 @@
+MD5 556d10c9c125ae2f4fc553e8ffff669d gjdoc-0.7.5.tar.gz 710897
diff --git a/dev-java/gjdoc/files/gjdoc b/dev-java/gjdoc/files/gjdoc
new file mode 100644
index 000000000000..cfa2b84ec225
--- /dev/null
+++ b/dev-java/gjdoc/files/gjdoc
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+$(java-config --java) -classpath "$(java-config --classpath=gjdoc,antlr):$CLASSPATH" gnu.classpath.tools.gjdoc.Main ${1+"$@"}
diff --git a/dev-java/gjdoc/gjdoc-0.7.5.ebuild b/dev-java/gjdoc/gjdoc-0.7.5.ebuild
new file mode 100644
index 000000000000..026be50a6adc
--- /dev/null
+++ b/dev-java/gjdoc/gjdoc-0.7.5.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/gjdoc/gjdoc-0.7.5.ebuild,v 1.1 2005/09/27 09:53:41 betelgeuse Exp $
+
+inherit java-pkg
+
+DESCRIPTION="A javadoc compatible Java source documentation generator."
+HOMEPAGE="http://www.gnu.org/software/cp-tools/"
+SRC_URI="ftp://ftp.gnu.org/gnu/classpath/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+# Possible USE flags.
+#
+# xml: to --enable-xmldoclet (disabled by default)
+# 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=""
+
+# 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"
+
+RDEPEND=">=virtual/jre-1.4"
+
+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-config --classpath=antlr) --disable-native"
+ myc="${myc} --disable-dependency-tracking"
+ econf ${myc} || 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
+ cd ${S}/docs
+ make DESTDIR=${D} install || die "Failed to install documentation"
+}
diff --git a/dev-java/gjdoc/metadata.xml b/dev-java/gjdoc/metadata.xml
new file mode 100644
index 000000000000..7da3e7bcce46
--- /dev/null
+++ b/dev-java/gjdoc/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+ <longdescription lang="en">
+Gjdoc provides a framework for generating documentation in various
+formats from java source files. It implements all features of the
+traditional javadoc tool version 1.4 - except for one unimplemented
+option (-serialwarn), it is fully command-line compatible and it
+provides a compatible Doclet API (package com.sun.javadoc).
+ </longdescription>
+</pkgmetadata>
+