summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/tapestry')
-rw-r--r--dev-java/tapestry/ChangeLog11
-rw-r--r--dev-java/tapestry/tapestry-3.0.4-r1.ebuild (renamed from dev-java/tapestry/tapestry-3.0.4.ebuild)56
2 files changed, 34 insertions, 33 deletions
diff --git a/dev-java/tapestry/ChangeLog b/dev-java/tapestry/ChangeLog
index 98c195da5e34..0c50e6b1bf7c 100644
--- a/dev-java/tapestry/ChangeLog
+++ b/dev-java/tapestry/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/tapestry
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/tapestry/ChangeLog,v 1.3 2008/10/21 20:48:35 betelgeuse Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/tapestry/ChangeLog,v 1.4 2014/03/08 17:55:22 tomwij Exp $
+
+*tapestry-3.0.4-r1 (08 Mar 2014)
+
+ 08 Mar 2014; Tom Wijsman <TomWij@gentoo.org> +tapestry-3.0.4-r1.ebuild,
+ -tapestry-3.0.4.ebuild:
+ Revision bump. EAPI 5.
21 Oct 2008; Petteri Räty <betelgeuse@gentoo.org> tapestry-3.0.4.ebuild:
Migrate to slot dependencies.
@@ -15,4 +21,3 @@
+files/common.properties, +metadata.xml, +tapestry-3.0.4.ebuild:
Adding tapestry package. Ebuild provided by elvantor <elvanor2007@gmail.com>
with some cleanup performed by myself.
-
diff --git a/dev-java/tapestry/tapestry-3.0.4.ebuild b/dev-java/tapestry/tapestry-3.0.4-r1.ebuild
index b2fcb405d522..7fb363319998 100644
--- a/dev-java/tapestry/tapestry-3.0.4.ebuild
+++ b/dev-java/tapestry/tapestry-3.0.4-r1.ebuild
@@ -1,67 +1,63 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/tapestry/tapestry-3.0.4.ebuild,v 1.3 2008/10/21 20:48:35 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/tapestry/tapestry-3.0.4-r1.ebuild,v 1.1 2014/03/08 17:55:22 tomwij Exp $
+
+EAPI="5"
-EAPI=1
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-ant-2
DESCRIPTION="Tapestry is an open-source framework for creating dynamic, robust, highly scalable web applications in Java."
+HOMEPAGE="http://tapestry.apache.org/"
SRC_URI="mirror://apache/${PN}/Tapestry-${PV}-src.zip"
-HOMEPAGE="http://tapestry.apache.org/"
LICENSE="Apache-2.0"
SLOT="3.0"
-KEYWORDS="~x86 ~amd64"
+KEYWORDS="~amd64 ~x86"
COMMON_DEP="
- dev-java/servletapi:2.4
- dev-java/commons-lang:2.1
- dev-java/commons-logging:0
+ dev-java/bsf:2.3
+ dev-java/commons-beanutils:1.7
dev-java/commons-codec:0
dev-java/commons-digester:0
dev-java/commons-fileupload:0
- dev-java/commons-beanutils:1.7
- dev-java/bsf:2.3
+ dev-java/commons-lang:2.1
+ dev-java/commons-logging:0
dev-java/jakarta-oro:2.0
dev-java/javassist:2
- dev-java/ognl:2.6"
+ dev-java/ognl:2.6
+ dev-java/servletapi:2.4"
RDEPEND=">=virtual/jre-1.4
${COMMON_DEP}"
DEPEND=">=virtual/jdk-1.4
- app-arch/unzip
+ app-arch/unzip:0
${COMMON_DEP}"
-IUSE=""
+IUSE="${JAVA_PKG_IUSE}"
S="${WORKDIR}/Tapestry-${PV}"
-src_unpack() {
- unpack ${A}
+EANT_GENTOO_CLASSPATH="commons-logging,commons-fileupload,commons-lang-2.1"
+EANT_GENTOO_CLASSPATH+=",commons-codec,commons-beanutils-1.7,commons-digester"
+EANT_GENTOO_CLASSPATH+=",servletapi-2.4,ognl-2.6,bsf-2.3,jakarta-oro-2.0"
+EANT_GENTOO_CLASSPATH+=",javassist-2"
+JAVA_ANT_REWRITE_CLASSPATH="true"
- cd "${S}/"
- mkdir config
+java_prepare() {
+ mkdir config lib || die
- cp "${FILESDIR}/Version.properties" config/
- cp "${FILESDIR}/build.properties" config/
- cp "${FILESDIR}/common.properties" config/
-
- cd "${S}/framework"
- java-ant_rewrite-classpath
+ cp "${FILESDIR}/Version.properties" config/ || die
+ cp "${FILESDIR}/build.properties" config/ || die
+ cp "${FILESDIR}/common.properties" config/ || die
}
src_compile() {
- mkdir lib
-
- cd framework
-
- gentoo_classpath="$(java-pkg_getjars commons-logging,commons-fileupload,commons-lang-2.1,commons-codec,commons-beanutils-1.7,commons-digester)"
- gentoo_classpath="$gentoo_classpath:$(java-pkg_getjars servletapi-2.4,ognl-2.6,bsf-2.3,jakarta-oro-2.0,javassist-2)"
+ cd "${S}/framework" || die
- eant -Dgentoo.classpath="$gentoo_classpath"
+ eant -Dgentoo.classpath="$(java-pkg_getjars ${EANT_GENTOO_CLASSPATH})"
use doc && javadoc -sourcepath src/ org.apache.tapestry -d ../javadoc
}