summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Aniszczyk <zx@gentoo.org>2004-02-27 15:24:24 +0000
committerChris Aniszczyk <zx@gentoo.org>2004-02-27 15:24:24 +0000
commit6de584e954a7fe1673e61b4f6487adf18cc01f43 (patch)
treeb3641910614eb075112f56aed529278fe10c6a5c
parentupdate kernel image to 2.4.24, mark stable (diff)
downloadhistorical-6de584e954a7fe1673e61b4f6487adf18cc01f43.tar.gz
historical-6de584e954a7fe1673e61b4f6487adf18cc01f43.tar.bz2
historical-6de584e954a7fe1673e61b4f6487adf18cc01f43.zip
Initial Import. Closes #20419
-rw-r--r--dev-java/javacc/ChangeLog11
-rw-r--r--dev-java/javacc/Manifest4
-rw-r--r--dev-java/javacc/files/digest-javacc-3.21
-rw-r--r--dev-java/javacc/javacc-3.2.ebuild56
-rw-r--r--dev-java/javacc/metadata.xml5
5 files changed, 77 insertions, 0 deletions
diff --git a/dev-java/javacc/ChangeLog b/dev-java/javacc/ChangeLog
new file mode 100644
index 000000000000..c398a2b7d740
--- /dev/null
+++ b/dev-java/javacc/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-java/javacc
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/javacc/ChangeLog,v 1.1 2004/02/27 15:24:24 zx Exp $
+
+*javacc-3.2 (29 Feb 2004)
+
+ 29 Feb 2004; Chris Aniszczyk <zx@gentoo.org> javacc-3.2.ebuild,
+ metadata.xml:
+ Initial Import. Thanks to Dominik Diesch <dominik@dominik.homeunix.org> for
+ the initial ebuild. Closes #20419
+
diff --git a/dev-java/javacc/Manifest b/dev-java/javacc/Manifest
new file mode 100644
index 000000000000..e997822b9754
--- /dev/null
+++ b/dev-java/javacc/Manifest
@@ -0,0 +1,4 @@
+MD5 acd96771972531aade0138fc81aa1549 javacc-3.2.ebuild 1319
+MD5 0cf1ccdd004aa08b8af7b78dccf11fe7 ChangeLog 431
+MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
+MD5 0f1b30c7bed787698a83d49ddc11dba8 files/digest-javacc-3.2 62
diff --git a/dev-java/javacc/files/digest-javacc-3.2 b/dev-java/javacc/files/digest-javacc-3.2
new file mode 100644
index 000000000000..75b21c6567a9
--- /dev/null
+++ b/dev-java/javacc/files/digest-javacc-3.2
@@ -0,0 +1 @@
+MD5 88829881cd1a6ccc0ab308e48a1ccbaf javacc-3.2.tar.gz 509819
diff --git a/dev-java/javacc/javacc-3.2.ebuild b/dev-java/javacc/javacc-3.2.ebuild
new file mode 100644
index 000000000000..99e86fd42ac9
--- /dev/null
+++ b/dev-java/javacc/javacc-3.2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/javacc/javacc-3.2.ebuild,v 1.1 2004/02/27 15:24:24 zx Exp $
+
+DESCRIPTION="Java Compiler Compiler [tm] (JavaCC [tm]) - The Java Parser Generator"
+HOMEPAGE="https://javacc.dev.java.net/servlets/ProjectHome"
+SRC_URI="${P}.tar.gz"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86"
+RESTRICT="fetch"
+IUSE=""
+
+RDEPEND="virtual/jre"
+
+pkg_nofetch() {
+ einfo "Please goto ${HOMEPAGE} and download ${SRC_URI}"
+ einfo "Place it into: "
+ einfo " ${DISTDIR}"
+}
+
+src_install() {
+ dohtml doc/*
+ dodir /opt/${P}/bin/lib
+
+ into /opt/${P}
+ dodir /usr/bin
+ for i in javacc jjdoc jjtree ; do
+ echo "#!/bin/sh" > bin/$i
+ echo "java -classpath /opt/${P}/bin/lib/javacc.jar $i \$*" >> bin/$i
+ dobin bin/$i
+ dosym /opt/${P}/bin/$i /usr/bin
+ done
+ insinto /opt/${P}/bin/lib
+ doins bin/lib/*
+
+ # no recursive doins available:
+ for i in `find examples -type d` ; do
+ dodir /opt/${P}/$i
+ insinto /opt/${P}/$i
+ FILES=`find $i -type f -maxdepth 1`
+ if [ ! "${FILES}" == "" ] ; then
+ doins ${FILES}
+ fi
+ done
+
+ dodir /etc/env.d
+ echo "JAVACC_HOME=\"/opt/${P}\"" > ${D}/etc/env.d/70javacc
+}
+
+pkg_postinst () {
+ einfo
+ einfo "An environment variable JAVACC_HOME has been set up."
+ einfo
+}
+
diff --git a/dev-java/javacc/metadata.xml b/dev-java/javacc/metadata.xml
new file mode 100644
index 000000000000..838c00a4a448
--- /dev/null
+++ b/dev-java/javacc/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>