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
commit62bd79332e8957b1248a6aa4482d7919389ee162 (patch)
treec5f9d65d0e905eff21b389172ecb82340f44310a /dev-java/javacc
parentupdate kernel image to 2.4.24, mark stable (Manifest recommit) (diff)
downloadgentoo-2-62bd79332e8957b1248a6aa4482d7919389ee162.tar.gz
gentoo-2-62bd79332e8957b1248a6aa4482d7919389ee162.tar.bz2
gentoo-2-62bd79332e8957b1248a6aa4482d7919389ee162.zip
Initial Import. Closes #20419
Diffstat (limited to 'dev-java/javacc')
-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..45778731bbf6
--- /dev/null
+++ b/dev-java/javacc/Manifest
@@ -0,0 +1,4 @@
+MD5 06863401d9848b2b935e098ffab56902 javacc-3.2.ebuild 1228
+MD5 43a61ba225ae8fda71b11cefcca67279 ChangeLog 348
+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>