diff options
author | Dylan Carlson <absinthe@gentoo.org> | 2003-03-16 23:51:54 +0000 |
---|---|---|
committer | Dylan Carlson <absinthe@gentoo.org> | 2003-03-16 23:51:54 +0000 |
commit | 629688f52be4862391c4bfcacfe913a034dcb98f (patch) | |
tree | 5036162fe44a38f516c17db7cb7aae2f8dd06cc2 /dev-java/oro | |
parent | new version; mark 3.0.4 stable for x86 (diff) | |
download | historical-629688f52be4862391c4bfcacfe913a034dcb98f.tar.gz historical-629688f52be4862391c4bfcacfe913a034dcb98f.tar.bz2 historical-629688f52be4862391c4bfcacfe913a034dcb98f.zip |
Added 'doc' and 'jikes' use flags.
Diffstat (limited to 'dev-java/oro')
-rw-r--r-- | dev-java/oro/ChangeLog | 7 | ||||
-rw-r--r-- | dev-java/oro/files/digest-oro-2.0.6-r2 | 1 | ||||
-rw-r--r-- | dev-java/oro/oro-2.0.6-r2.ebuild | 42 |
3 files changed, 49 insertions, 1 deletions
diff --git a/dev-java/oro/ChangeLog b/dev-java/oro/ChangeLog index 73eb4f3e40dd..c558b553e235 100644 --- a/dev-java/oro/ChangeLog +++ b/dev-java/oro/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-java/oro # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/oro/ChangeLog,v 1.5 2003/02/12 05:54:15 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/oro/ChangeLog,v 1.6 2003/03/16 23:51:54 absinthe Exp $ + +*oro-2.0.6-r2 (16 Mar 2003) + + 16 Mar 2003; Dylan Carlson <absinthe@gentoo.org> oro-2.0.6-r2.ebuild: + Added 'doc' flag for API documentation, and 'jikes'. 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords diff --git a/dev-java/oro/files/digest-oro-2.0.6-r2 b/dev-java/oro/files/digest-oro-2.0.6-r2 new file mode 100644 index 000000000000..534a18cbe24f --- /dev/null +++ b/dev-java/oro/files/digest-oro-2.0.6-r2 @@ -0,0 +1 @@ +MD5 a1698f1a325584a6fc32690cd58d9986 jakarta-oro-2.0.6.tar.gz 331423 diff --git a/dev-java/oro/oro-2.0.6-r2.ebuild b/dev-java/oro/oro-2.0.6-r2.ebuild new file mode 100644 index 000000000000..48809f27f76f --- /dev/null +++ b/dev-java/oro/oro-2.0.6-r2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/dev-java/oro/oro-2.0.6-r2.ebuild,v 1.1 2003/03/16 23:51:54 absinthe Exp $ + +S=${WORKDIR}/jakarta-oro-${PV} +DESCRIPTION="A set of text-processing Java classes that provide Perl5 compatible regular expressions, AWK-like regular expressions, glob expressions, and utility classes for performing substitutions, splits, filtering filenames, etc." +SRC_URI="http://jakarta.apache.org/builds/jakarta-oro/release/v${PV}/jakarta-oro-${PV}.tar.gz" +HOMEPAGE="http://jakarta.apache.org/oro/index.html" +DEPEND=">=virtual/jdk-1.3 + >=dev-java/ant-1.4 + jikes? ( >=dev-java/jikes-1.17 )" +REDEPND=">=virtual/jdk-1.3" +LICENSE="Apache-1.1" +SLOT="0" +KEYWORDS="x86" +IUSE="doc jikes" + +src_compile() { + local myc + + if [ -n "`use jikes`" ] ; then + myc="${myc} -Dbuild.compiler=jikes" + fi + + ANT_OPTS=${myc} ant jar || die "Failed Compiling" + + if [ -n "`use doc`" ] ; then + ant javadocs || die "Failed Creating Docs" + fi +} + +src_install () { + mv jakarta-oro*.jar oro.jar + dojar oro.jar || die "Failed Installing" + dodoc BUGS CHANGES COMPILE CONTRIBUTORS README STYLE TODO + dohtml *.html + + if [ -n "`use doc`" ] ; then + dodir /usr/share/doc/${P} + dohtml -r docs/ + fi +} |