summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Nichols <nichoj@gentoo.org>2006-08-25 01:29:41 +0000
committerJoshua Nichols <nichoj@gentoo.org>2006-08-25 01:29:41 +0000
commita5aad70cb05ac5967d9ea2f2aa65de59b5d2fa52 (patch)
treec0fccf420f6a4e788f56fe25f4b33614c94d7871 /dev-java/xjavadoc/xjavadoc-1.1-r1.ebuild
parentFixed a stacktrace when /etc/env.d/20java doesn\'t exist, reported by Caster. (diff)
downloadgentoo-2-a5aad70cb05ac5967d9ea2f2aa65de59b5d2fa52.tar.gz
gentoo-2-a5aad70cb05ac5967d9ea2f2aa65de59b5d2fa52.tar.bz2
gentoo-2-a5aad70cb05ac5967d9ea2f2aa65de59b5d2fa52.zip
Migrated to new Java system by Caster.
(Portage version: 2.1.1_pre5-r3)
Diffstat (limited to 'dev-java/xjavadoc/xjavadoc-1.1-r1.ebuild')
-rw-r--r--dev-java/xjavadoc/xjavadoc-1.1-r1.ebuild48
1 files changed, 48 insertions, 0 deletions
diff --git a/dev-java/xjavadoc/xjavadoc-1.1-r1.ebuild b/dev-java/xjavadoc/xjavadoc-1.1-r1.ebuild
new file mode 100644
index 000000000000..a4e2094240c5
--- /dev/null
+++ b/dev-java/xjavadoc/xjavadoc-1.1-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xjavadoc/xjavadoc-1.1-r1.ebuild,v 1.1 2006/08/25 01:29:41 nichoj Exp $
+
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="A standalone implementation of JavaDoc engine suited for XDoclet"
+HOMEPAGE="http://xdoclet.sourceforge.net/xjavadoc/"
+SRC_URI="mirror://sourceforge/xdoclet/${P}-src.tar.gz
+ mirror://gentoo/${P}-supplement.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="source"
+
+COMMON_DEPEND="dev-java/commons-collections"
+
+RDEPEND=">=virtual/jre-1.4
+ ${COMMON_DEPEND}"
+# full ant needed for JJTree and JavaCC tasks, part of ant-nodeps.jar
+DEPEND=">=virtual/jdk-1.4
+ dev-java/ant
+ dev-java/javacc
+ ${COMMON_DEPEND}
+ source? ( app-arch/zip )"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ # remove the junit tests, would need xdoclet, causing circular dep
+ epatch ${FILESDIR}/${P}-nojunit.patch
+
+ cd ${S}/lib
+ rm -f *.jar
+ java-pkg_jar-from commons-collections
+ java-pkg_jar-from --build-only javacc
+}
+
+src_compile() {
+ eant jar
+}
+
+src_install() {
+ java-pkg_dojar target/${PN}.jar
+ use source && java-pkg_dosrc ${S}/src/*
+}