summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Brinkmann <luckyduck@gentoo.org>2005-03-27 17:05:50 +0000
committerJan Brinkmann <luckyduck@gentoo.org>2005-03-27 17:05:50 +0000
commitb62af2fc81580e849dbcd50d055f3127d3334734 (patch)
tree2e70e27b89fde8b1cfb64095290a93ab53753dd8 /dev-java/jakarta-regexp
parentgaleon version bump (diff)
downloadgentoo-2-b62af2fc81580e849dbcd50d055f3127d3334734.tar.gz
gentoo-2-b62af2fc81580e849dbcd50d055f3127d3334734.tar.bz2
gentoo-2-b62af2fc81580e849dbcd50d055f3127d3334734.zip
Initial import, move from regexp to jakarta-regexp, see #71336
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-java/jakarta-regexp')
-rw-r--r--dev-java/jakarta-regexp/ChangeLog10
-rw-r--r--dev-java/jakarta-regexp/Manifest4
-rw-r--r--dev-java/jakarta-regexp/files/digest-jakarta-regexp-1.31
-rw-r--r--dev-java/jakarta-regexp/jakarta-regexp-1.3.ebuild41
-rw-r--r--dev-java/jakarta-regexp/metadata.xml5
5 files changed, 61 insertions, 0 deletions
diff --git a/dev-java/jakarta-regexp/ChangeLog b/dev-java/jakarta-regexp/ChangeLog
new file mode 100644
index 000000000000..0f82c4597113
--- /dev/null
+++ b/dev-java/jakarta-regexp/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/jakarta-regexp
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jakarta-regexp/ChangeLog,v 1.4 2005/03/27 17:05:50 luckyduck Exp $
+
+*jakarta-regexp-1.3 (27 Mar 2005)
+
+ 27 Mar 2005; Jan Brinkmann <luckyduck@gentoo.org> +metadata.xml,
+ +jakarta-regexp-1.3.ebuild:
+ Initial import, move from regexp to jakarta-regexp, see #71336
+
diff --git a/dev-java/jakarta-regexp/Manifest b/dev-java/jakarta-regexp/Manifest
new file mode 100644
index 000000000000..8b5542df1f0d
--- /dev/null
+++ b/dev-java/jakarta-regexp/Manifest
@@ -0,0 +1,4 @@
+MD5 61c34a7a7bf470cfc939ca980634b8d5 jakarta-regexp-1.3.ebuild 1087
+MD5 a57755c37908eb36cf726a64693c0bfa ChangeLog 322
+MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
+MD5 6eac4bdeb129dbd95c52ac349db33c61 files/digest-jakarta-regexp-1.3 70
diff --git a/dev-java/jakarta-regexp/files/digest-jakarta-regexp-1.3 b/dev-java/jakarta-regexp/files/digest-jakarta-regexp-1.3
new file mode 100644
index 000000000000..804595133e20
--- /dev/null
+++ b/dev-java/jakarta-regexp/files/digest-jakarta-regexp-1.3
@@ -0,0 +1 @@
+MD5 4322f82bea908ca4a7db270f7fa4850d jakarta-regexp-1.3.tar.gz 127069
diff --git a/dev-java/jakarta-regexp/jakarta-regexp-1.3.ebuild b/dev-java/jakarta-regexp/jakarta-regexp-1.3.ebuild
new file mode 100644
index 000000000000..990d649f2c59
--- /dev/null
+++ b/dev-java/jakarta-regexp/jakarta-regexp-1.3.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jakarta-regexp/jakarta-regexp-1.3.ebuild,v 1.1 2005/03/27 17:05:50 luckyduck Exp $
+
+inherit java-pkg
+
+DESCRIPTION="100% Pure Java Regular Expression package"
+SRC_URI="mirror://apache/jakarta/regexp/source/${P}.tar.gz"
+HOMEPAGE="http://jakarta.apache.org/"
+SLOT="1.3"
+IUSE="doc jikes source"
+LICENSE="Apache-1.1"
+KEYWORDS="~x86 ~ppc ~sparc ~amd64 ~ppc64"
+DEPEND=">=virtual/jdk-1.3
+ dev-java/ant-core
+ jikes? ( dev-java/jikes )
+ source? ( app-arch/zip )"
+RDEPEND=">=virtual/jre-1.3"
+
+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"
+ use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
+ ant ${antflags} || die "compile problem"
+}
+
+src_install() {
+ cd ${S}/build
+ mv ${P}.jar ${PN}.jar
+ java-pkg_dojar ${PN}.jar
+
+ use doc && java-pkg_dohtml -r docs/api/*
+ use source && java-pkg_dosrc ${S}/src/java/*
+}
diff --git a/dev-java/jakarta-regexp/metadata.xml b/dev-java/jakarta-regexp/metadata.xml
new file mode 100644
index 000000000000..838c00a4a448
--- /dev/null
+++ b/dev-java/jakarta-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>