summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2004-07-23 05:57:29 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2004-07-23 05:57:29 +0000
commit18eb0a8d070a9adc1fb51f2417a4279f38ab7d96 (patch)
tree00ed7a2173475be5cc7ae5d7ed5473eb711f62a2 /dev-java/xdoclet/xdoclet-1.2.1.ebuild
parentRemoved sed usage from the global scope in favour of bash regex, see bug (diff)
downloadhistorical-18eb0a8d070a9adc1fb51f2417a4279f38ab7d96.tar.gz
historical-18eb0a8d070a9adc1fb51f2417a4279f38ab7d96.tar.bz2
historical-18eb0a8d070a9adc1fb51f2417a4279f38ab7d96.zip
*** empty log message ***
Diffstat (limited to 'dev-java/xdoclet/xdoclet-1.2.1.ebuild')
-rw-r--r--dev-java/xdoclet/xdoclet-1.2.1.ebuild51
1 files changed, 51 insertions, 0 deletions
diff --git a/dev-java/xdoclet/xdoclet-1.2.1.ebuild b/dev-java/xdoclet/xdoclet-1.2.1.ebuild
new file mode 100644
index 000000000000..b1eb7704830b
--- /dev/null
+++ b/dev-java/xdoclet/xdoclet-1.2.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xdoclet/xdoclet-1.2.1.ebuild,v 1.1 2004/07/23 05:57:29 mkennedy Exp $
+
+XJAVADOC_PV=1.0.3
+
+DESCRIPTION="XDoclet is an extended Javadoc Doclet engine."
+HOMEPAGE="http://xdoclet.sf.net/"
+SRC_URI="mirror://sourceforge/${PN}/${PN}-src-${PV}.tgz
+ mirror://gentoo/xjavadoc-${XJAVADOC_PV}-src.tar.bz2"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="x86 ~amd64"
+IUSE="jikes"
+
+RDEPEND=">=virtual/jdk-1.3"
+DEPEND="${RDEPEND}
+ jikes? ( dev-java/jikes )
+ >=dev-java/ant-1.5"
+
+# cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/xdoclet \
+# co -r XJAVADOC_1_0_3 xjavadoc
+# tar cjf xjavadoc-1.0.3-src.tar.bz2 xjavadoc
+
+src_unpack() {
+ unpack ${A}
+ if use jikes; then
+ einfo "Configuring build for Jikes"
+ cp build.properties build.properties~ \
+ && sed -e 's/compiler = modern/compiler = jikes/' <build.properties~ >build.properties
+ fi
+}
+
+src_compile() {
+ # Maven is just plain madness...
+ #
+ # You can grab the documentation on-line at http://xdoclets.sf.net
+ # or use the XDoclet Maven plugin installed with dev-java/maven.
+ #
+ # You may also consider placing an ebuild "enchancement" at
+ # http://bugs.gentoo.org/ which allows Maven to work without
+ # downloading sundry JARs from the Internet.
+
+ ant -Domit.maven=true -Domit.docs=true -Dmaven.command=true || die
+}
+
+src_install() {
+ dojar target/lib/*.jar
+ dodoc LICENSE.txt
+ cp -r target/docs target/generated-xdocs samples ${D}/usr/share/doc/${P}
+}