diff options
author | Chris Aniszczyk <zx@gentoo.org> | 2004-02-18 03:31:41 +0000 |
---|---|---|
committer | Chris Aniszczyk <zx@gentoo.org> | 2004-02-18 03:31:41 +0000 |
commit | a941ddd557ec3060f085b8d0207f62f7733f7bb6 (patch) | |
tree | 092c4e61b01e034d6667da5da70fa2c4fc3bfec5 /dev-java | |
parent | fixed metadata error (diff) | |
download | historical-a941ddd557ec3060f085b8d0207f62f7733f7bb6.tar.gz historical-a941ddd557ec3060f085b8d0207f62f7733f7bb6.tar.bz2 historical-a941ddd557ec3060f085b8d0207f62f7733f7bb6.zip |
Initial import.
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/sablecc/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/sablecc/Manifest | 4 | ||||
-rw-r--r-- | dev-java/sablecc/files/digest-sablecc-2.18.2 | 1 | ||||
-rw-r--r-- | dev-java/sablecc/metadata.xml | 5 | ||||
-rw-r--r-- | dev-java/sablecc/sablecc-2.18.2.ebuild | 44 |
5 files changed, 64 insertions, 0 deletions
diff --git a/dev-java/sablecc/ChangeLog b/dev-java/sablecc/ChangeLog new file mode 100644 index 000000000000..d48ab30c953a --- /dev/null +++ b/dev-java/sablecc/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-java/sablecc +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/sablecc/ChangeLog,v 1.1 2004/02/18 03:31:38 zx Exp $ + +*sablecc-2.18.2 (17 Feb 2004) + + 17 Feb 2004; Chris Aniszczyk <zx@gentoo.org> sablecc-2.18.2.ebuild: + Initial Import. Thanks to Kaleb Pederson <kibab@icehouse.net> for the initial + ebuild. Bug #40321 + diff --git a/dev-java/sablecc/Manifest b/dev-java/sablecc/Manifest new file mode 100644 index 000000000000..508b9008e352 --- /dev/null +++ b/dev-java/sablecc/Manifest @@ -0,0 +1,4 @@ +MD5 a20ff9322e0b1a288e35cdaf2654e2ea sablecc-2.18.2.ebuild 1032 +MD5 070c63b68bf2eb120d14cba6e2f3887a ChangeLog 412 +MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 +MD5 0ad7d919cbd78998f70716572d00e6d9 files/digest-sablecc-2.18.2 66 diff --git a/dev-java/sablecc/files/digest-sablecc-2.18.2 b/dev-java/sablecc/files/digest-sablecc-2.18.2 new file mode 100644 index 000000000000..3251561e8017 --- /dev/null +++ b/dev-java/sablecc/files/digest-sablecc-2.18.2 @@ -0,0 +1 @@ +MD5 4f08b1b5feb03a8ed91eb2e55ce2714b sablecc-2.18.2.tar.gz 401038 diff --git a/dev-java/sablecc/metadata.xml b/dev-java/sablecc/metadata.xml new file mode 100644 index 000000000000..838c00a4a448 --- /dev/null +++ b/dev-java/sablecc/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> diff --git a/dev-java/sablecc/sablecc-2.18.2.ebuild b/dev-java/sablecc/sablecc-2.18.2.ebuild new file mode 100644 index 000000000000..a069366a7d4e --- /dev/null +++ b/dev-java/sablecc/sablecc-2.18.2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/sablecc/sablecc-2.18.2.ebuild,v 1.1 2004/02/18 03:31:39 zx Exp $ + +inherit java-pkg + +DESCRIPTION="Java based compiler / parser generator" +HOMEPAGE="http://www.sablecc.org/" +SRC_URI="mirror://sourceforge/sablecc/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~x86" +IUSE="jikes" + +DEPEND=">=virtual/jdk-1.4 + >=dev-java/java-getopt-1.0.9 + >=dev-java/ant-1.5.1 + jikes? ( >=dev-java/jikes-1.17 )" +RDEPEND=">=virtual/jre-1.4" + +src_compile () { + local antflags="jar" + if [ `use jikes` ] ; then + :; # Do nothing, jikes is enable by default + else + antflags="${antflags} -Dbuild.compiler=modern" + fi + ant ${antflags} +} + +src_install () { + java-pkg_dojar lib/* + + # Create wrapper script + echo "#!/bin/sh" > ${PN} + echo "cd /usr/share/${PN}" >> ${PN} + echo '${JAVA_HOME}'/bin/java -jar lib/${PN}.jar '$*' >> ${PN} + + dobin ${PN} + + dodoc AUTHORS LICENSE THANKS + dohtml README.html +} |