summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2005-09-27 09:53:41 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2005-09-27 09:53:41 +0000
commit477d7e3bea74a19b2b742e591d2ae191ac1ce198 (patch)
tree66e074dd428b70553ed80716ed33c80fc36ff264 /dev-java/gjdoc
parentNew release: 2.12.1 (diff)
downloadhistorical-477d7e3bea74a19b2b742e591d2ae191ac1ce198.tar.gz
historical-477d7e3bea74a19b2b742e591d2ae191ac1ce198.tar.bz2
historical-477d7e3bea74a19b2b742e591d2ae191ac1ce198.zip
Initial addition. Thanks to nichoj and belanger for the initial packaging in experimental.
Package-Manager: portage-2.0.52-r1
Diffstat (limited to 'dev-java/gjdoc')
-rw-r--r--dev-java/gjdoc/ChangeLog11
-rw-r--r--dev-java/gjdoc/Manifest15
-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, 91 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..a14bebf3cd8a
--- /dev/null
+++ b/dev-java/gjdoc/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 29d5b93300161debe5b99573f7057c0b gjdoc-0.7.5.ebuild 1475
+MD5 7d5f9bf973196a077fad1b5fa3fe985d ChangeLog 434
+MD5 0d8df1cd88e392aa059af56ac1d368e9 metadata.xml 535
+MD5 3fb0d8107550edfcee8ba6f0cf1bfc85 files/digest-gjdoc-0.7.5 63
+MD5 09c41d12fbdde13c5d1d4a64aa66bd0f files/gjdoc 137
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.2 (GNU/Linux)
+
+iD8DBQFDORbQQiJ/wx066S4RArBzAKCZVbt1SKgNdRhKIVg1RqHm8OgzcgCdHb5c
+L8VEUDNm4ljat8eSwIgxjXE=
+=jvPL
+-----END PGP SIGNATURE-----
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>
+