summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2004-09-19 21:48:49 +0000
committerThomas Matthijs <axxo@gentoo.org>2004-09-19 21:48:49 +0000
commit5d85ed0d310f2becd572b489d04b9c6702aa10c5 (patch)
treeb3778d8796524eb9705ded4ba401b0c3383dc716 /dev-java/javacup
parentadd security patch , mark x86 (diff)
downloadhistorical-5d85ed0d310f2becd572b489d04b9c6702aa10c5.tar.gz
historical-5d85ed0d310f2becd572b489d04b9c6702aa10c5.tar.bz2
historical-5d85ed0d310f2becd572b489d04b9c6702aa10c5.zip
initial import, ebuild created me, as a dep
Diffstat (limited to 'dev-java/javacup')
-rw-r--r--dev-java/javacup/ChangeLog10
-rw-r--r--dev-java/javacup/Manifest14
-rw-r--r--dev-java/javacup/files/digest-javacup-0.10k1
-rw-r--r--dev-java/javacup/javacup-0.10k.ebuild35
-rw-r--r--dev-java/javacup/metadata.xml8
5 files changed, 68 insertions, 0 deletions
diff --git a/dev-java/javacup/ChangeLog b/dev-java/javacup/ChangeLog
new file mode 100644
index 000000000000..6ed8c420fcd6
--- /dev/null
+++ b/dev-java/javacup/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/javacup
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/javacup/ChangeLog,v 1.1 2004/09/19 21:48:49 axxo Exp $
+
+*javacup-0.10k (19 Sep 2004)
+
+ 19 Sep 2004; Thomas Matthijs <axxo@gentoo.org> +metadata.xml,
+ +javacup-0.10k.ebuild:
+ initial import, ebuild created me, as a dep
+
diff --git a/dev-java/javacup/Manifest b/dev-java/javacup/Manifest
new file mode 100644
index 000000000000..883c644bf011
--- /dev/null
+++ b/dev-java/javacup/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 8ec8e8ec69892b73a8b6f569e296daab javacup-0.10k.ebuild 862
+MD5 95c6b1967e759bb803c5f4c7c2fb6b4a ChangeLog 369
+MD5 4dad079a28768d183022cff420f01281 metadata.xml 220
+MD5 908c09cfed6120fc09504305319af259 files/digest-javacup-0.10k 65
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.2.6 (GNU/Linux)
+
+iD8DBQFBTf7U/rLF9B432nYRArhQAJwN+KslhcWujR0iix+dsQyYkVhWXwCfcplO
+vByh/8QGqsIL4IXwQviYVkE=
+=PpwG
+-----END PGP SIGNATURE-----
diff --git a/dev-java/javacup/files/digest-javacup-0.10k b/dev-java/javacup/files/digest-javacup-0.10k
new file mode 100644
index 000000000000..a0b8b39c0a61
--- /dev/null
+++ b/dev-java/javacup/files/digest-javacup-0.10k
@@ -0,0 +1 @@
+MD5 8b11edfec13c590ea443d0f0ae0da479 java_cup_v10k.tar.gz 190843
diff --git a/dev-java/javacup/javacup-0.10k.ebuild b/dev-java/javacup/javacup-0.10k.ebuild
new file mode 100644
index 000000000000..5caa4754f481
--- /dev/null
+++ b/dev-java/javacup/javacup-0.10k.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/javacup/javacup-0.10k.ebuild,v 1.1 2004/09/19 21:48:49 axxo Exp $
+
+inherit java-pkg
+
+DESCRIPTION="CUP Parser Generator for Java"
+
+HOMEPAGE="http://www.cs.princeton.edu/~appel/modern/java/CUP/"
+SRC_URI="http://www.cs.princeton.edu/~appel/modern/java/CUP/java_cup_v10k.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+DEPEND="virtual/jdk"
+RDEPEND="virtual/jre"
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ find . -name "*.class" -exec rm -f {} \;
+}
+
+src_compile() {
+ javac java_cup/*.java java_cup/runtime/*.java || die "failed to compile"
+ find java_cup -name "*.class" | xargs jar -cvf ${PN}.jar
+}
+
+src_install() {
+ java-pkg_dojar ${PN}.jar
+ dodoc CHANGELOG README LICENSE
+ dohtml manual.html
+}
diff --git a/dev-java/javacup/metadata.xml b/dev-java/javacup/metadata.xml
new file mode 100644
index 000000000000..e220c8b8a3f3
--- /dev/null
+++ b/dev-java/javacup/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+ <maintainer>
+ <email>axxo@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>