summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-04-11 17:10:23 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-04-11 17:10:23 +0000
commit95d7c9b44a09ca8fd5157f312e476ada7c1c87b1 (patch)
tree4ef329d5496faa0099f95a56f48800deb82a9313 /dev-java/sablecc/sablecc-3.1-r1.ebuild
parentVersion bump, closes bug #172837. This release requires UINPUT support in the... (diff)
downloadgentoo-2-95d7c9b44a09ca8fd5157f312e476ada7c1c87b1.tar.gz
gentoo-2-95d7c9b44a09ca8fd5157f312e476ada7c1c87b1.tar.bz2
gentoo-2-95d7c9b44a09ca8fd5157f312e476ada7c1c87b1.zip
Migrate to generation 2.
(Portage version: 2.1.2.3)
Diffstat (limited to 'dev-java/sablecc/sablecc-3.1-r1.ebuild')
-rw-r--r--dev-java/sablecc/sablecc-3.1-r1.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/dev-java/sablecc/sablecc-3.1-r1.ebuild b/dev-java/sablecc/sablecc-3.1-r1.ebuild
new file mode 100644
index 000000000000..be3bd1e46828
--- /dev/null
+++ b/dev-java/sablecc/sablecc-3.1-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sablecc/sablecc-3.1-r1.ebuild,v 1.1 2007/04/11 17:10:23 betelgeuse Exp $
+
+JAVA_PKG_IUSE="source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Java based compiler / parser generator"
+HOMEPAGE="http://www.sablecc.org/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~amd64"
+
+RDEPEND=">=virtual/jre-1.4"
+DEPEND=">=virtual/jdk-1.4"
+
+src_unpack() {
+ unpack "${A}"
+ rm -v "${S}"/lib/*.jar || die
+}
+
+JAVA_PKG_FILTER_COMPILER="jikes"
+
+src_install() {
+ java-pkg_dojar lib/*
+
+ dobin ${FILESDIR}/${PN}
+
+ dodoc AUTHORS THANKS || die
+ dohtml README.html || die
+ use source && java-pkg_dosrc src/*
+}