summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2016-04-04 09:48:59 +0000
committerPatrice Clement <monsieurp@gentoo.org>2016-04-04 09:49:52 +0000
commitc57dec28d040736c69a4503d8a84b53110692479 (patch)
tree146766a923d5d75b33b784b4a5663bda4044f40c /dev-java
parentdev-java/sablecc: Clean up old. (diff)
downloadgentoo-c57dec28d040736c69a4503d8a84b53110692479.tar.gz
gentoo-c57dec28d040736c69a4503d8a84b53110692479.tar.bz2
gentoo-c57dec28d040736c69a4503d8a84b53110692479.zip
dev-java/sablecc-anttask: Switch to java-pkg-simple.
--straight-to-stable because the previous version is bogus. Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/sablecc-anttask/Manifest1
-rw-r--r--dev-java/sablecc-anttask/sablecc-anttask-1.1.0-r2.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-java/sablecc-anttask/Manifest b/dev-java/sablecc-anttask/Manifest
index 99943cb6e464..581518929d75 100644
--- a/dev-java/sablecc-anttask/Manifest
+++ b/dev-java/sablecc-anttask/Manifest
@@ -1 +1,2 @@
DIST sablecc-anttask-1.1.0-src.tar.gz 14045 SHA256 1225ad44f093c6ad73132e599f9294abd20cbfb51c7cf53eadcf96cb14945235 SHA512 23e8f3e911660549fd5bd6bcec4c97c58138fbc478bb958695b9b5327cf3da6985830d1c7a8db45516e2f708f7a9405921342b2a05bdce31c39c71569d62059d WHIRLPOOL cda4247e9ae789e742d4a084b8ac7d6e51bdab3b9f7dbacfc8799fd75b2318f3e544f490630016343782ec1139b41a4c5f124da651c6356d9b1f1422f4a1a7f7
+DIST sablecc-anttask-1.1.0.tar.gz 14045 SHA256 1225ad44f093c6ad73132e599f9294abd20cbfb51c7cf53eadcf96cb14945235 SHA512 23e8f3e911660549fd5bd6bcec4c97c58138fbc478bb958695b9b5327cf3da6985830d1c7a8db45516e2f708f7a9405921342b2a05bdce31c39c71569d62059d WHIRLPOOL cda4247e9ae789e742d4a084b8ac7d6e51bdab3b9f7dbacfc8799fd75b2318f3e544f490630016343782ec1139b41a4c5f124da651c6356d9b1f1422f4a1a7f7
diff --git a/dev-java/sablecc-anttask/sablecc-anttask-1.1.0-r2.ebuild b/dev-java/sablecc-anttask/sablecc-anttask-1.1.0-r2.ebuild
new file mode 100644
index 000000000000..43b5c7f85c7e
--- /dev/null
+++ b/dev-java/sablecc-anttask/sablecc-anttask-1.1.0-r2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Ant task for sablecc"
+HOMEPAGE="http://sablecc.org/"
+SRC_URI="mirror://sourceforge/sablecc/${P}-src.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND="
+ >=virtual/jre-1.6"
+
+DEPEND="
+ >=virtual/jdk-1.6
+ source? ( app-arch/zip )"
+
+S="${WORKDIR}/${P}"
+
+JAVA_SRC_DIR="src"
+
+src_install() {
+ java-pkg-simple_src_install
+ java-pkg_register-ant-task
+}