summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2004-07-30 08:16:53 +0000
committerThomas Matthijs <axxo@gentoo.org>2004-07-30 08:16:53 +0000
commit73b454223622488d14aff1e37d56cff60d82967e (patch)
tree1b90d7571406eb7a478403f9e50bd0f14ecaa520 /dev-java/velocity
parentFixed ChangeLog and metadata.xml. Removed used patch (Manifest recommit) (diff)
downloadgentoo-2-73b454223622488d14aff1e37d56cff60d82967e.tar.gz
gentoo-2-73b454223622488d14aff1e37d56cff60d82967e.tar.bz2
gentoo-2-73b454223622488d14aff1e37d56cff60d82967e.zip
version bump + cleanup
Diffstat (limited to 'dev-java/velocity')
-rw-r--r--dev-java/velocity/ChangeLog7
-rw-r--r--dev-java/velocity/Manifest2
-rw-r--r--dev-java/velocity/files/digest-velocity-1.41
-rw-r--r--dev-java/velocity/velocity-1.4.ebuild46
4 files changed, 55 insertions, 1 deletions
diff --git a/dev-java/velocity/ChangeLog b/dev-java/velocity/ChangeLog
index dfc344e643cc..d502033f41af 100644
--- a/dev-java/velocity/ChangeLog
+++ b/dev-java/velocity/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/velocity
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/velocity/ChangeLog,v 1.8 2004/06/24 22:44:51 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/velocity/ChangeLog,v 1.9 2004/07/30 08:16:53 axxo Exp $
+
+*velocity-1.4 (30 Jul 2004)
+
+ 30 Jul 2004; Thomas Matthijs <axxo@gentoo.org> +velocity-1.4.ebuild:
+ version bump + cleanup
02 Jun 2004; Aron Griffis <agriffis@gentoo.org> velocity-1.3.ebuild:
Fix use invocation
diff --git a/dev-java/velocity/Manifest b/dev-java/velocity/Manifest
index 48d6495efa45..bb7f2eeae753 100644
--- a/dev-java/velocity/Manifest
+++ b/dev-java/velocity/Manifest
@@ -1,4 +1,6 @@
+MD5 7bb2e534d4802a96a72ae0f467b7a657 velocity-1.4.ebuild 1355
MD5 647d7db93dc533f0685fb09c7b70e8de velocity-1.3.ebuild 1325
MD5 33585e388be86e2311c1db75c75b261c ChangeLog 1163
MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
MD5 c7bdf6df038fc9fcc34a772e5c5b1838 files/digest-velocity-1.3 128
+MD5 ebc2b845ee1e201a404b4eceb168952a files/digest-velocity-1.4 65
diff --git a/dev-java/velocity/files/digest-velocity-1.4 b/dev-java/velocity/files/digest-velocity-1.4
new file mode 100644
index 000000000000..ccc2e9c9c5dd
--- /dev/null
+++ b/dev-java/velocity/files/digest-velocity-1.4
@@ -0,0 +1 @@
+MD5 f280fee7ddb5eac5b354f6dea39a2f51 velocity-1.4.tar.gz 4566056
diff --git a/dev-java/velocity/velocity-1.4.ebuild b/dev-java/velocity/velocity-1.4.ebuild
new file mode 100644
index 000000000000..4c84e5ef3d17
--- /dev/null
+++ b/dev-java/velocity/velocity-1.4.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/velocity/velocity-1.4.ebuild,v 1.1 2004/07/30 08:16:53 axxo Exp $
+
+DESCRIPTION="A Java-based template engine that allows easy creation/rendering of documents that format and present data."
+HOMEPAGE="http://jakarta.apache.org/velocity/"
+SRC_URI="mirror://apache/jakarta/velocity/binaries/velocity-${PV}/velocity-${PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="doc j2ee jikes junit"
+
+DEPEND=">=dev-java/sun-jdk-1.3.1"
+RDEPEND=">=dev-java/sun-jdk-1.3.1
+ >=dev-java/ant-1.5.1
+ >=dev-java/avalon-logkit-1.2
+ >=dev-java/oro-2.0.6
+ j2ee? ( =dev-java/sun-j2ee-1.3.1* )
+ jikes? ( >=dev-java/jikes-1.17 )"
+
+src_compile () {
+ cd ${S}/build
+ local antflags
+ use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
+ use junit && antflags="${antflags} test"
+ if use j2ee ; then
+ cp /opt/sun-j2ee-1.3.1/lib/j2ee.jar ${S}/build/lib
+ ant ${antflags} jar-J2EE || die "Java compile failed."
+ else
+ ant ${antflags} jar || die "Java compile failed"
+ fi
+
+ use doc && ant javadocs || die "Document compile failed"
+}
+
+src_install () {
+ cd ${S}
+ if use j2ee ; then
+ dojar bin/${PN}-J2EE-${PV}.jar
+ else
+ dojar bin/${PN}-${PV}.jar
+ fi
+ dodoc LICENSE NOTICE README.txt
+ use doc && dohtml -r docs/*
+}