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/Manifest3
-rw-r--r--dev-java/velocity-dvsl/metadata.xml8
-rw-r--r--dev-java/velocity-dvsl/velocity-dvsl-1.0.ebuild53
3 files changed, 64 insertions, 0 deletions
diff --git a/dev-java/velocity-dvsl/Manifest b/dev-java/velocity-dvsl/Manifest
new file mode 100644
index 000000000000..328b29ac8752
--- /dev/null
+++ b/dev-java/velocity-dvsl/Manifest
@@ -0,0 +1,3 @@
+DIST velocity-dvsl-1.0.zip 91539 BLAKE2B 747c735804b24d6d775c658e505a5fbe22289e98ede55577354da7ec0a7908031312febeef8f698aba033d0c9b1553b4e46eb6a5cbf6683ba4f16f87b178fa32 SHA512 0f431347706143a76d93d58f44a534a566780e27ba3ec43e48e4268b88a5fc523850a693800b730bee3a26d1c03339b24603f7eacabf716d199a9974d95c1d01
+EBUILD velocity-dvsl-1.0.ebuild 907 BLAKE2B 6c9f6d111248907a9d1df34d64aef9029d51ad0c213d2d09f2985359ee51c8c891f150a558cfe4ab6cda6cd3b05b11e50547ce17b2978be2108e865010b2a327 SHA512 084301cf6bbae94261e0ca65ba69c3d4c6631cb98ff2ba93d912d349681a0e10609e80c736fb76307ac6d79abc36382742335ec5b5b97fa52b466f5e446aa686
+MISC metadata.xml 236 BLAKE2B 5a64c4404c26415501f50132968e687d4f1b852738cb0e1a5aef8cc4de9e4ea623066f46068fce3d80514ff122d85304e3fd12282c4b1513a4084523ef8bef07 SHA512 1755c2590e59060f697294c5ad125b83f2d50e05a71f7091b7de75953941914cd2db3a893bd6154a2c90fa4aff5e313e75e3e174dbba1edd5c112787da5be253
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
+}