From 6cd0a160c67a2e60900b172dfdcc8f3b7f800c54 Mon Sep 17 00:00:00 2001
From: Joshua Nichols <nichoj@gentoo.org>
Date: Sat, 5 Aug 2006 17:07:21 +0000
Subject: Revision bump to support new Java system Package-Manager:
 portage-2.1.1_pre4-r2

---
 dev-java/jrexx/ChangeLog                   |  9 +++++--
 dev-java/jrexx/files/digest-jrexx-1.1.1    |  2 ++
 dev-java/jrexx/files/digest-jrexx-1.1.1-r1 |  3 +++
 dev-java/jrexx/jrexx-1.1.1-r1.ebuild       | 41 ++++++++++++++++++++++++++++++
 4 files changed, 53 insertions(+), 2 deletions(-)
 create mode 100644 dev-java/jrexx/files/digest-jrexx-1.1.1-r1
 create mode 100644 dev-java/jrexx/jrexx-1.1.1-r1.ebuild

(limited to 'dev-java/jrexx')

diff --git a/dev-java/jrexx/ChangeLog b/dev-java/jrexx/ChangeLog
index 0be5ab48fdc9..84a8d6562957 100644
--- a/dev-java/jrexx/ChangeLog
+++ b/dev-java/jrexx/ChangeLog
@@ -1,6 +1,11 @@
 # ChangeLog for dev-java/jrexx
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jrexx/ChangeLog,v 1.2 2005/04/30 19:52:05 luckyduck Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jrexx/ChangeLog,v 1.3 2006/08/05 17:04:05 nichoj Exp $
+
+*jrexx-1.1.1-r1 (05 Aug 2006)
+
+  05 Aug 2006; Joshua Nichols <nichoj@gentoo.org> +jrexx-1.1.1-r1.ebuild:
+  Revision bump to support new Java system
 
   30 Apr 2005; Jan Brinkmann <luckyduck@gentoo.org> jrexx-1.1.1.ebuild:
   added ~ppc to KEYWORDS and introduced support for the source useflag. stable
diff --git a/dev-java/jrexx/files/digest-jrexx-1.1.1 b/dev-java/jrexx/files/digest-jrexx-1.1.1
index 7bbe965b4b85..6a822dc7f17a 100644
--- a/dev-java/jrexx/files/digest-jrexx-1.1.1
+++ b/dev-java/jrexx/files/digest-jrexx-1.1.1
@@ -1 +1,3 @@
 MD5 e54e1dc8454472ef2706bc21768df103 jrexx-1.1.1-src.zip 62878
+RMD160 c4d40ab80cb9d852a0112affcb091a7f317391d9 jrexx-1.1.1-src.zip 62878
+SHA256 6655b611c7693f20da86cd8e933908483615341a916556e777535192aa8f1b0d jrexx-1.1.1-src.zip 62878
diff --git a/dev-java/jrexx/files/digest-jrexx-1.1.1-r1 b/dev-java/jrexx/files/digest-jrexx-1.1.1-r1
new file mode 100644
index 000000000000..6a822dc7f17a
--- /dev/null
+++ b/dev-java/jrexx/files/digest-jrexx-1.1.1-r1
@@ -0,0 +1,3 @@
+MD5 e54e1dc8454472ef2706bc21768df103 jrexx-1.1.1-src.zip 62878
+RMD160 c4d40ab80cb9d852a0112affcb091a7f317391d9 jrexx-1.1.1-src.zip 62878
+SHA256 6655b611c7693f20da86cd8e933908483615341a916556e777535192aa8f1b0d jrexx-1.1.1-src.zip 62878
diff --git a/dev-java/jrexx/jrexx-1.1.1-r1.ebuild b/dev-java/jrexx/jrexx-1.1.1-r1.ebuild
new file mode 100644
index 000000000000..fd431b9dd7b4
--- /dev/null
+++ b/dev-java/jrexx/jrexx-1.1.1-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jrexx/jrexx-1.1.1-r1.ebuild,v 1.1 2006/08/05 17:04:05 nichoj Exp $
+
+inherit java-pkg-2
+
+DESCRIPTION="Regular expression API for textual pattern matching based on the finite state automaton theory."
+SRC_URI="mirror://sourceforge/${PN}/${P}-src.zip"
+HOMEPAGE="http://www.karneim.com/jrexx/"
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+RDEPEND=">=virtual/jre-1.4"
+DEPEND=">=virtual/jdk-1.4
+		app-arch/unzip
+		source? ( app-arch/zip )"
+IUSE="doc source"
+S=${WORKDIR}
+
+src_compile() {
+	mkdir build
+
+	cd src
+	javac $(java-pkg_javac-args) -nowarn -d ${S}/build $(find -name "*.java") \
+		|| die "Failed to compile ${i}"
+
+	if use doc ; then
+		mkdir ${S}/javadoc
+		javadoc -d ${S}/javadoc $(find * -type d | tr '/' '.') \
+			|| die "failed to build javadocs"
+	fi
+
+	cd ..
+	jar cf ${PN}.jar -C build com || die "failed to create jar"
+}
+
+src_install() {
+	java-pkg_dojar ${PN}.jar
+	use doc && java-pkg_dohtml -r javadoc
+	use source && java-pkg_dosrc src/*
+}
-- 
cgit v1.2.3-65-gdbad