summaryrefslogtreecommitdiff
path: root/dev-java/velocity-dvsl
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/velocity-dvsl')
-rw-r--r--dev-java/velocity-dvsl/Manifest4
-rw-r--r--dev-java/velocity-dvsl/metadata.xml8
-rw-r--r--dev-java/velocity-dvsl/velocity-dvsl-1.0.ebuild53
3 files changed, 65 insertions, 0 deletions
diff --git a/dev-java/velocity-dvsl/Manifest b/dev-java/velocity-dvsl/Manifest
new file mode 100644
index 000000000000..dcdebf93d53c
--- /dev/null
+++ b/dev-java/velocity-dvsl/Manifest
@@ -0,0 +1,4 @@
+DIST velocity-dvsl-1.0.zip 91539 SHA256 f7b05089c38f4cd28700bb4e57c856a22c3a4700d2812c5a4c18a42bf0b78d2b SHA512 0f431347706143a76d93d58f44a534a566780e27ba3ec43e48e4268b88a5fc523850a693800b730bee3a26d1c03339b24603f7eacabf716d199a9974d95c1d01 WHIRLPOOL 9532e6b5d8737e98f67dff4023fbc0800666ff8fc616ff2233297ca506ea56661742830f663d15fee319bf5d2f06ff722cd498e5a926a1a644dd8023bbcde266
+EBUILD velocity-dvsl-1.0.ebuild 907 SHA256 0e9bc24638b9a32ff3b13f6afbb1c42cdf0403a92b565e6fa35d7ca642e453d4 SHA512 084301cf6bbae94261e0ca65ba69c3d4c6631cb98ff2ba93d912d349681a0e10609e80c736fb76307ac6d79abc36382742335ec5b5b97fa52b466f5e446aa686 WHIRLPOOL 4978128bde2e09392749078cd554a84ebf55cf31b18048ff921c5731ae78401b5ac1a1e26c1bc7077eab22bfeffe79775aa4464adc2084143eea0f2baec3bcf6
+MISC ChangeLog 900 SHA256 fe93b4d184547bd96391894e019f6ddc318f7b6aa0114c38477ef7e4ef2c84a7 SHA512 9dc1aceb2a1df2ea1cc213ff54ef3118d2cca2cf538e27290153af84de4bcb10c8633549108711367ba77536b255d3865917a21498c9b26bada2646027c9f30f WHIRLPOOL 22f1bd970d1b2a7a7cd37f42f9ba8634d04586882de65d8aa2fc96636b0d601e5e11cd5ea045a955954d24d6233486f6c313583207b14957dd957cb831c2fc6f
+MISC metadata.xml 236 SHA256 3e778d35b34b5cc1a4dd7ce105fe7d2a99b25fb6dfe24709455da94baa8a0548 SHA512 1755c2590e59060f697294c5ad125b83f2d50e05a71f7091b7de75953941914cd2db3a893bd6154a2c90fa4aff5e313e75e3e174dbba1edd5c112787da5be253 WHIRLPOOL 7967660784d0d28e9a3c3c222c5bf85b3a8b59fd84b61780e4e7cc1aa5d8bd87bee40e4c5c42e646f15d6641fe182340bcbe8be94c785f40e0ac870c7a96e5cc
diff --git a/dev-java/velocity-dvsl/metadata.xml b/dev-java/velocity-dvsl/metadata.xml
new file mode 100644
index 000000000000..952a4b9b605c
--- /dev/null
+++ b/dev-java/velocity-dvsl/metadata.xml
@@ -0,0 +1,8 @@
+<?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>
+</pkgmetadata>
diff --git a/dev-java/velocity-dvsl/velocity-dvsl-1.0.ebuild b/dev-java/velocity-dvsl/velocity-dvsl-1.0.ebuild
new file mode 100644
index 000000000000..42c7d261a5bc
--- /dev/null
+++ b/dev-java/velocity-dvsl/velocity-dvsl-1.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+JAVA_PKG_IUSE="doc source examples"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Declarative Velocity Style Language."
+HOMEPAGE="http://velocity.apache.org/dvsl/devel/"
+SRC_URI="mirror://apache/velocity/dvsl/${PV}/${P}-src.zip -> ${P}.zip"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RESTRICT="test"
+
+CDEPEND="
+ dev-java/ant-core:0
+ dev-java/dom4j:1
+ dev-java/velocity:0"
+
+DEPEND="
+ ${CDEPEND}
+ >=virtual/jdk-1.6"
+
+RDEPEND="
+ ${CDEPEND}
+ >=virtual/jre-1.6"
+
+S="${WORKDIR}/${P}-src"
+
+JAVA_SRC_DIR="src"
+
+JAVA_GENTOO_CLASSPATH="
+ dom4j-1
+ ant-core
+ velocity
+"
+
+java_prepare() {
+ java-pkg_clean
+ rm -rv src/test || die
+}
+
+src_install() {
+ java-pkg-simple_src_install
+ java-pkg_dolauncher "${PN}" --main org.apache.dvsl.DVSL
+ use examples && java-pkg_doexamples examples
+}