summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2016-02-21 16:20:56 +0000
committerPatrice Clement <monsieurp@gentoo.org>2016-02-21 16:21:42 +0000
commitfa31a4a4df84f90bc356a653fe85c11ba3643e91 (patch)
treed1c5b67da5cc82bb71918aa3e4f763a638748022
parentapp-text/blogc: version bump (diff)
downloadgentoo-fa31a4a4df84f90bc356a653fe85c11ba3643e91.tar.gz
gentoo-fa31a4a4df84f90bc356a653fe85c11ba3643e91.tar.bz2
gentoo-fa31a4a4df84f90bc356a653fe85c11ba3643e91.zip
dev-java/velocity-dvsl: Introduce velocity-dvsl. Fixes bug 263457.
Package-Manager: portage-2.2.26
-rw-r--r--dev-java/velocity-dvsl/Manifest1
-rw-r--r--dev-java/velocity-dvsl/metadata.xml12
-rw-r--r--dev-java/velocity-dvsl/velocity-dvsl-1.0.ebuild54
3 files changed, 67 insertions, 0 deletions
diff --git a/dev-java/velocity-dvsl/Manifest b/dev-java/velocity-dvsl/Manifest
new file mode 100644
index 000000000000..621ac643babe
--- /dev/null
+++ b/dev-java/velocity-dvsl/Manifest
@@ -0,0 +1 @@
+DIST velocity-dvsl-1.0.zip 91539 SHA256 f7b05089c38f4cd28700bb4e57c856a22c3a4700d2812c5a4c18a42bf0b78d2b SHA512 0f431347706143a76d93d58f44a534a566780e27ba3ec43e48e4268b88a5fc523850a693800b730bee3a26d1c03339b24603f7eacabf716d199a9974d95c1d01 WHIRLPOOL 9532e6b5d8737e98f67dff4023fbc0800666ff8fc616ff2233297ca506ea56661742830f663d15fee319bf5d2f06ff722cd498e5a926a1a644dd8023bbcde266
diff --git a/dev-java/velocity-dvsl/metadata.xml b/dev-java/velocity-dvsl/metadata.xml
new file mode 100644
index 000000000000..eeaecef8a654
--- /dev/null
+++ b/dev-java/velocity-dvsl/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>monsieurp@gentoo.org</email>
+ <name>Patrice Clement</name>
+ </maintainer>
+ <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..6f932943387e
--- /dev/null
+++ b/dev-java/velocity-dvsl/velocity-dvsl-1.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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 -rf test 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
+}