summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2004-09-04 13:01:33 +0000
committerThomas Matthijs <axxo@gentoo.org>2004-09-04 13:01:33 +0000
commita07ea016082fcbb52c6cc5aa19725e7bfc62c5b3 (patch)
tree865bbc2c122988acd337d9dfb6e787c83ac78769 /dev-java/regexp/regexp-1.3-r1.ebuild
parentmove jython-bin -> jython, stable on sparc (diff)
downloadhistorical-a07ea016082fcbb52c6cc5aa19725e7bfc62c5b3.tar.gz
historical-a07ea016082fcbb52c6cc5aa19725e7bfc62c5b3.tar.bz2
historical-a07ea016082fcbb52c6cc5aa19725e7bfc62c5b3.zip
move regexp-bin -> regexp, stable on x86, sparc
Diffstat (limited to 'dev-java/regexp/regexp-1.3-r1.ebuild')
-rw-r--r--dev-java/regexp/regexp-1.3-r1.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/dev-java/regexp/regexp-1.3-r1.ebuild b/dev-java/regexp/regexp-1.3-r1.ebuild
new file mode 100644
index 000000000000..88efa3e58433
--- /dev/null
+++ b/dev-java/regexp/regexp-1.3-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/regexp/regexp-1.3-r1.ebuild,v 1.1 2004/09/04 13:01:33 axxo Exp $
+
+DESCRIPTION="100% Pure Java Regular Expression package"
+SRC_URI="mirror://apache/jakarta/regexp/source/jakarta-${P}.tar.gz"
+HOMEPAGE="http://jakarta.apache.org/"
+SLOT="0"
+IUSE="doc jikes"
+LICENSE="Apache-1.1"
+KEYWORDS="x86 ppc sparc amd64"
+DEPEND=">=virtual/jdk-1.3"
+
+S=${WORKDIR}/jakarta-${P}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ mkdir lib
+ sed -i 's:./jakarta-site2::' build.xml || die "sed failed"
+}
+
+src_compile() {
+ local antflags="jar"
+ use doc && antflags="${antflags} javadocs"
+ ant ${antflags} || die "compile problem"
+}
+
+src_install() {
+ cd ${S}/build
+ mv jakarta-${P}.jar ${PN}.jar
+ dojar ${PN}.jar
+ use doc && dohtml -r docs/api/*
+}