summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Aniszczyk <zx@gentoo.org>2004-08-24 01:52:34 +0000
committerChris Aniszczyk <zx@gentoo.org>2004-08-24 01:52:34 +0000
commit383612c0e484ea91c53fd1da395cc034c17cfd2e (patch)
treeae8cf379f62816a678922aec7c96206b77e362aa /dev-java/regexp
parentMarked stable on x86. (Manifest recommit) (diff)
downloadgentoo-2-383612c0e484ea91c53fd1da395cc034c17cfd2e.tar.gz
gentoo-2-383612c0e484ea91c53fd1da395cc034c17cfd2e.tar.bz2
gentoo-2-383612c0e484ea91c53fd1da395cc034c17cfd2e.zip
Initial Import.
Diffstat (limited to 'dev-java/regexp')
-rw-r--r--dev-java/regexp/ChangeLog10
-rw-r--r--dev-java/regexp/Manifest3
-rw-r--r--dev-java/regexp/files/digest-regexp-1.31
-rw-r--r--dev-java/regexp/metadata.xml5
-rw-r--r--dev-java/regexp/regexp-1.3.ebuild34
5 files changed, 53 insertions, 0 deletions
diff --git a/dev-java/regexp/ChangeLog b/dev-java/regexp/ChangeLog
new file mode 100644
index 000000000000..3ad84b5036e3
--- /dev/null
+++ b/dev-java/regexp/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/regexp
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/regexp/ChangeLog,v 1.12 2004/08/24 01:52:34 zx Exp $
+
+*regexp-1.3 (23 Aug 2004)
+
+ 23 Aug 2004; Chris Aniszczyk <zx@gentoo.org> +metadata.xml,
+ +regexp-1.3.ebuild:
+ Initial Import
+
diff --git a/dev-java/regexp/Manifest b/dev-java/regexp/Manifest
new file mode 100644
index 000000000000..760fdd04000c
--- /dev/null
+++ b/dev-java/regexp/Manifest
@@ -0,0 +1,3 @@
+MD5 d14356b190a11865ed7ee7ddcbf73044 regexp-1.3.ebuild 873
+MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
+MD5 6eac4bdeb129dbd95c52ac349db33c61 files/digest-regexp-1.3 70
diff --git a/dev-java/regexp/files/digest-regexp-1.3 b/dev-java/regexp/files/digest-regexp-1.3
new file mode 100644
index 000000000000..804595133e20
--- /dev/null
+++ b/dev-java/regexp/files/digest-regexp-1.3
@@ -0,0 +1 @@
+MD5 4322f82bea908ca4a7db270f7fa4850d jakarta-regexp-1.3.tar.gz 127069
diff --git a/dev-java/regexp/metadata.xml b/dev-java/regexp/metadata.xml
new file mode 100644
index 000000000000..838c00a4a448
--- /dev/null
+++ b/dev-java/regexp/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>java</herd>
+</pkgmetadata>
diff --git a/dev-java/regexp/regexp-1.3.ebuild b/dev-java/regexp/regexp-1.3.ebuild
new file mode 100644
index 000000000000..f97aea3aa9bf
--- /dev/null
+++ b/dev-java/regexp/regexp-1.3.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.ebuild,v 1.10 2004/08/24 01:52:34 zx 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/*
+}