summaryrefslogtreecommitdiff
path: root/dev-java/sablecc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-java/sablecc
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-java/sablecc')
-rw-r--r--dev-java/sablecc/Manifest3
-rw-r--r--dev-java/sablecc/metadata.xml11
-rw-r--r--dev-java/sablecc/sablecc-3.7-r1.ebuild38
3 files changed, 52 insertions, 0 deletions
diff --git a/dev-java/sablecc/Manifest b/dev-java/sablecc/Manifest
new file mode 100644
index 000000000000..214cf0e17525
--- /dev/null
+++ b/dev-java/sablecc/Manifest
@@ -0,0 +1,3 @@
+DIST sablecc-3.7.tar.gz 556985 BLAKE2B 8acc8f74f640d66b2e420562f3d93f91e78edf98d30d88c5189bf023099fc44e0dcd18bae2e0692d768ba5c9ceaddd4e8f8dd94cbbce86acc6554991549039a2 SHA512 c53212ae10afc546796a46b8f1d731d3337c1fe184f12a285686b1f876b207a6cddcd789876d5c9d6b378583065bbb8ca7b5c3797d88b4eea3609ffe9a9c8f71
+EBUILD sablecc-3.7-r1.ebuild 685 BLAKE2B d639c1f14d384353acafc73edcd9d424dca4d9db04f42f10be313ac0dcb3b06c99081c5e054138396756d0c01154f7e572db800fdc5aa91eff51e1eac776a0c9 SHA512 f1d215525598e7800b2d8900cf07514ec39a8d68fcc28415adb24091a10e5283ba0d771613fcb43d8df145c084fa3e73fcbc97733f2df297d90e40b2c5f36a41
+MISC metadata.xml 313 BLAKE2B 5adae23844d519f05c3290eed3df91d78b96692449a28710edf70dd423c17e79b3f87df98c38769f619fff6334527d0d93332afe4063720819a01b4d2923f017 SHA512 352f5ed232f1b73b569c9b6a2615117b943994684b0f66e49b6255eb29b7717caca435d95488462bcd59dbfdc77b1b0562eef28bbb8b46c50c8498ab64a6e06a
diff --git a/dev-java/sablecc/metadata.xml b/dev-java/sablecc/metadata.xml
new file mode 100644
index 000000000000..273d81b33501
--- /dev/null
+++ b/dev-java/sablecc/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>java@gentoo.org</email>
+ <name>Java</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">sablecc</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-java/sablecc/sablecc-3.7-r1.ebuild b/dev-java/sablecc/sablecc-3.7-r1.ebuild
new file mode 100644
index 000000000000..861695b504eb
--- /dev/null
+++ b/dev-java/sablecc/sablecc-3.7-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-pkg-simple
+
+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="amd64 x86"
+
+RDEPEND="
+ >=virtual/jre-1.6"
+
+DEPEND="
+ >=virtual/jdk-1.6
+ source? ( app-arch/zip )"
+
+S="${WORKDIR}/${P}"
+
+JAVA_SRC_DIR="src"
+
+java_prepare() {
+ java-pkg_clean
+}
+
+src_install() {
+ java-pkg-simple_src_install
+ java-pkg_dolauncher "${PN}" --main org.sablecc.sablecc.SableCC
+ dodoc AUTHORS THANKS
+ dohtml README.html
+}