summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2004-10-30 20:32:43 +0000
committerThomas Matthijs <axxo@gentoo.org>2004-10-30 20:32:43 +0000
commit14173e28fdc94367c8d630cde096d508affd08a8 (patch)
treec0e5358c98ef6373e8d1349c103c0adbbd4f04a8 /dev-java
parentinital import, ebuild contributed by Dan <dan@intuitivelyobvious.net> (Manife... (diff)
downloadgentoo-2-14173e28fdc94367c8d630cde096d508affd08a8.tar.gz
gentoo-2-14173e28fdc94367c8d630cde096d508affd08a8.tar.bz2
gentoo-2-14173e28fdc94367c8d630cde096d508affd08a8.zip
inital import, ebuild contributed by Dan <dan@intuitivelyobvious.net>
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/jrexx/ChangeLog10
-rw-r--r--dev-java/jrexx/Manifest2
-rw-r--r--dev-java/jrexx/files/digest-jrexx-1.1.11
-rw-r--r--dev-java/jrexx/jrexx-1.1.1.ebuild43
-rw-r--r--dev-java/jrexx/metadata.xml5
5 files changed, 61 insertions, 0 deletions
diff --git a/dev-java/jrexx/ChangeLog b/dev-java/jrexx/ChangeLog
new file mode 100644
index 000000000000..99c2f9078b2d
--- /dev/null
+++ b/dev-java/jrexx/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/jrexx
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jrexx/ChangeLog,v 1.1 2004/10/30 20:32:43 axxo Exp $
+
+*jrexx-1.1.1 (30 Oct 2004)
+
+ 30 Oct 2004; Thomas Matthijs <axxo@gentoo.org> +metadata.xml,
+ +jrexx-1.1.1.ebuild:
+ inital import, ebuild contributed by Dan <dan@intuitivelyobvious.net>
+
diff --git a/dev-java/jrexx/Manifest b/dev-java/jrexx/Manifest
new file mode 100644
index 000000000000..233d19d9e0d9
--- /dev/null
+++ b/dev-java/jrexx/Manifest
@@ -0,0 +1,2 @@
+MD5 0519aab479b696f9cc76d2a84be5bce1 jrexx-1.1.1.ebuild 994
+MD5 9cf333bb6babb9b15b1579bfaedf42e1 files/digest-jrexx-1.1.1 63
diff --git a/dev-java/jrexx/files/digest-jrexx-1.1.1 b/dev-java/jrexx/files/digest-jrexx-1.1.1
new file mode 100644
index 000000000000..7bbe965b4b85
--- /dev/null
+++ b/dev-java/jrexx/files/digest-jrexx-1.1.1
@@ -0,0 +1 @@
+MD5 e54e1dc8454472ef2706bc21768df103 jrexx-1.1.1-src.zip 62878
diff --git a/dev-java/jrexx/jrexx-1.1.1.ebuild b/dev-java/jrexx/jrexx-1.1.1.ebuild
new file mode 100644
index 000000000000..4ac94c09c4cd
--- /dev/null
+++ b/dev-java/jrexx/jrexx-1.1.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2004 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.ebuild,v 1.1 2004/10/30 20:32:43 axxo Exp $
+
+inherit java-pkg
+
+DESCRIPTION="jrexx is a 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="~x86 ~amd64"
+RDEPEND="
+ >=virtual/jre-1.4
+ "
+DEPEND=">=virtual/jdk-1.4
+ app-arch/unzip
+ "
+IUSE="doc"
+S=${WORKDIR}
+
+src_compile() {
+ mkdir build
+
+ cd src
+ javac -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() {
+ cd ${S}
+ java-pkg_dojar ${PN}.jar
+ use doc && java-pkg_dohtml -r javadoc
+}
diff --git a/dev-java/jrexx/metadata.xml b/dev-java/jrexx/metadata.xml
new file mode 100644
index 000000000000..7303cef96964
--- /dev/null
+++ b/dev-java/jrexx/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>