summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/jakarta-regexp/ChangeLog10
-rw-r--r--dev-java/jakarta-regexp/files/digest-jakarta-regexp-1.3-r22
-rw-r--r--dev-java/jakarta-regexp/files/digest-jakarta-regexp-1.3-r33
-rw-r--r--dev-java/jakarta-regexp/jakarta-regexp-1.3-r3.ebuild39
4 files changed, 52 insertions, 2 deletions
diff --git a/dev-java/jakarta-regexp/ChangeLog b/dev-java/jakarta-regexp/ChangeLog
index f08010fdae38..81f25197b476 100644
--- a/dev-java/jakarta-regexp/ChangeLog
+++ b/dev-java/jakarta-regexp/ChangeLog
@@ -1,6 +1,12 @@
# 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.7 2005/08/07 12:42:13 betelgeuse Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jakarta-regexp/ChangeLog,v 1.8 2006/07/20 11:25:52 nelchael Exp $
+
+*jakarta-regexp-1.3-r3 (20 Jul 2006)
+
+ 20 Jul 2006; Krzysiek Pawlik <nelchael@gentoo.org>
+ +jakarta-regexp-1.3-r3.ebuild:
+ Migrated to Generation 2.
07 Aug 2005; Petteri Räty <betelgeuse@gentoo.org>
-jakarta-regexp-1.3-r1.ebuild, jakarta-regexp-1.3-r2.ebuild:
diff --git a/dev-java/jakarta-regexp/files/digest-jakarta-regexp-1.3-r2 b/dev-java/jakarta-regexp/files/digest-jakarta-regexp-1.3-r2
index 804595133e20..7d8e27ca3759 100644
--- a/dev-java/jakarta-regexp/files/digest-jakarta-regexp-1.3-r2
+++ b/dev-java/jakarta-regexp/files/digest-jakarta-regexp-1.3-r2
@@ -1 +1,3 @@
MD5 4322f82bea908ca4a7db270f7fa4850d jakarta-regexp-1.3.tar.gz 127069
+RMD160 1327fe8d1534849c2150dbb0a3bbd9b6455d0165 jakarta-regexp-1.3.tar.gz 127069
+SHA256 4cff646b26b258897bf0bafe64dfb6d1422611ecbfaf4787a78f2e042be1366e jakarta-regexp-1.3.tar.gz 127069
diff --git a/dev-java/jakarta-regexp/files/digest-jakarta-regexp-1.3-r3 b/dev-java/jakarta-regexp/files/digest-jakarta-regexp-1.3-r3
new file mode 100644
index 000000000000..7d8e27ca3759
--- /dev/null
+++ b/dev-java/jakarta-regexp/files/digest-jakarta-regexp-1.3-r3
@@ -0,0 +1,3 @@
+MD5 4322f82bea908ca4a7db270f7fa4850d jakarta-regexp-1.3.tar.gz 127069
+RMD160 1327fe8d1534849c2150dbb0a3bbd9b6455d0165 jakarta-regexp-1.3.tar.gz 127069
+SHA256 4cff646b26b258897bf0bafe64dfb6d1422611ecbfaf4787a78f2e042be1366e jakarta-regexp-1.3.tar.gz 127069
diff --git a/dev-java/jakarta-regexp/jakarta-regexp-1.3-r3.ebuild b/dev-java/jakarta-regexp/jakarta-regexp-1.3-r3.ebuild
new file mode 100644
index 000000000000..6ab3645cc814
--- /dev/null
+++ b/dev-java/jakarta-regexp/jakarta-regexp-1.3-r3.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2006 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-r3.ebuild,v 1.1 2006/07/20 11:25:52 nelchael Exp $
+
+inherit java-pkg-2 java-ant-2
+
+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 source"
+LICENSE="Apache-1.1"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+DEPEND=">=virtual/jdk-1.4
+ dev-java/ant-core
+ source? ( app-arch/zip )"
+RDEPEND=">=virtual/jre-1.3"
+
+ant_src_unpack() {
+ unpack ${A}
+ cd ${S}
+ rm *.jar
+ mkdir lib
+ sed -i 's:./jakarta-site2::' build.xml || die "sed failed"
+}
+
+src_compile() {
+ local antflags="jar"
+ use doc && antflags="${antflags} javadocs"
+ eant ${antflags} || die "compile problem"
+}
+
+src_install() {
+ cd ${S}/build
+ java-pkg_newjar ${P}.jar ${PN}.jar
+
+ use doc && java-pkg_dohtml -r docs/api/*
+ use source && java-pkg_dosrc ${S}/src/java/*
+}