diff options
author | Joshua Nichols <nichoj@gentoo.org> | 2006-07-20 23:45:26 +0000 |
---|---|---|
committer | Joshua Nichols <nichoj@gentoo.org> | 2006-07-20 23:45:26 +0000 |
commit | 6182973e1a25a0582bf677c395179dd4c1eaabf0 (patch) | |
tree | 9ffcf7fe20682cd78d8b48e172329d861f1928e6 /dev-java/javacup | |
parent | Revision bump to use new Java system. (diff) | |
download | gentoo-2-6182973e1a25a0582bf677c395179dd4c1eaabf0.tar.gz gentoo-2-6182973e1a25a0582bf677c395179dd4c1eaabf0.tar.bz2 gentoo-2-6182973e1a25a0582bf677c395179dd4c1eaabf0.zip |
Revision bump to use new Java system.
(Portage version: 2.1.1_pre2-r4)
Diffstat (limited to 'dev-java/javacup')
-rw-r--r-- | dev-java/javacup/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/javacup/files/digest-javacup-0.10k | 2 | ||||
-rw-r--r-- | dev-java/javacup/files/digest-javacup-0.10k-r1 | 3 | ||||
-rw-r--r-- | dev-java/javacup/javacup-0.10k-r1.ebuild | 37 |
4 files changed, 50 insertions, 2 deletions
diff --git a/dev-java/javacup/ChangeLog b/dev-java/javacup/ChangeLog index 4e4b4975a037..8dcac3f5bbd5 100644 --- a/dev-java/javacup/ChangeLog +++ b/dev-java/javacup/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/javacup -# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/javacup/ChangeLog,v 1.11 2005/12/09 12:13:56 betelgeuse Exp $ +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/javacup/ChangeLog,v 1.12 2006/07/20 23:45:26 nichoj Exp $ + +*javacup-0.10k-r1 (20 Jul 2006) + + 20 Jul 2006; Joshua Nichols <jnichols@gentoo.org> + +javacup-0.10k-r1.ebuild: + Revision bump to use new Java system. 09 Dec 2005; Petteri Räty <betelgeuse@gentoo.org> javacup-0.10k.ebuild: Removed the installation of the LICENSE file. diff --git a/dev-java/javacup/files/digest-javacup-0.10k b/dev-java/javacup/files/digest-javacup-0.10k index a0b8b39c0a61..5f94a594d6a2 100644 --- a/dev-java/javacup/files/digest-javacup-0.10k +++ b/dev-java/javacup/files/digest-javacup-0.10k @@ -1 +1,3 @@ MD5 8b11edfec13c590ea443d0f0ae0da479 java_cup_v10k.tar.gz 190843 +RMD160 317c764f8567240439243fd2d40b54fcaed2b96e java_cup_v10k.tar.gz 190843 +SHA256 7e6dc5be74ae56c7e86e69ad0ad88dae3b2847afa9e73a76635918a6b1eb75cd java_cup_v10k.tar.gz 190843 diff --git a/dev-java/javacup/files/digest-javacup-0.10k-r1 b/dev-java/javacup/files/digest-javacup-0.10k-r1 new file mode 100644 index 000000000000..5f94a594d6a2 --- /dev/null +++ b/dev-java/javacup/files/digest-javacup-0.10k-r1 @@ -0,0 +1,3 @@ +MD5 8b11edfec13c590ea443d0f0ae0da479 java_cup_v10k.tar.gz 190843 +RMD160 317c764f8567240439243fd2d40b54fcaed2b96e java_cup_v10k.tar.gz 190843 +SHA256 7e6dc5be74ae56c7e86e69ad0ad88dae3b2847afa9e73a76635918a6b1eb75cd java_cup_v10k.tar.gz 190843 diff --git a/dev-java/javacup/javacup-0.10k-r1.ebuild b/dev-java/javacup/javacup-0.10k-r1.ebuild new file mode 100644 index 000000000000..97ca8e413e2b --- /dev/null +++ b/dev-java/javacup/javacup-0.10k-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/javacup/javacup-0.10k-r1.ebuild,v 1.1 2006/07/20 23:45:26 nichoj Exp $ + +inherit java-pkg-2 + +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="~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="source" +DEPEND=">=virtual/jdk-1.3 + source? ( app-arch/zip )" +RDEPEND=">=virtual/jre-1.3" + +S=${WORKDIR} + +src_unpack() { + unpack ${A} + cd ${S} + find . -name "*.class" -exec rm -f {} \; +} + +src_compile() { + ejavac java_cup/*.java java_cup/runtime/*.java + find java_cup -name "*.class" | xargs jar -cvf ${PN}.jar +} + +src_install() { + java-pkg_dojar ${PN}.jar + dodoc CHANGELOG README + dohtml manual.html + use source && java-pkg_dosrc java_cup +} |