summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2018-03-17 19:29:33 +0100
committerPacho Ramos <pacho@gentoo.org>2018-03-17 19:34:32 +0100
commit219732649595fefbbcbaefd81abaf20aade915c2 (patch)
tree9a1af2ecc98153544e7a470bc4c61a2a594ae5f7 /dev-java/tapestry
parentmedia-sound/lilypond: Drop alpha keywords, bug 647476 (diff)
downloadgentoo-219732649595fefbbcbaefd81abaf20aade915c2.tar.gz
gentoo-219732649595fefbbcbaefd81abaf20aade915c2.tar.bz2
gentoo-219732649595fefbbcbaefd81abaf20aade915c2.zip
dev-java/tapestry: Stop using obsolete dev-java/servletapi (#398689 by William L. Thomson Jr.)
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-java/tapestry')
-rw-r--r--dev-java/tapestry/tapestry-3.0.4-r3.ebuild69
1 files changed, 69 insertions, 0 deletions
diff --git a/dev-java/tapestry/tapestry-3.0.4-r3.ebuild b/dev-java/tapestry/tapestry-3.0.4-r3.ebuild
new file mode 100644
index 000000000000..e0ffa07c6459
--- /dev/null
+++ b/dev-java/tapestry/tapestry-3.0.4-r3.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Dynamic, robust, highly scalable web framework in Java"
+HOMEPAGE="http://tapestry.apache.org/"
+SRC_URI="mirror://apache/${PN}/Tapestry-${PV}-src.zip"
+
+IUSE="${JAVA_PKG_IUSE}"
+
+LICENSE="Apache-2.0"
+SLOT="3.0"
+KEYWORDS="~amd64 ~x86"
+
+CDEPEND="
+ 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-lang:2.1
+ dev-java/commons-logging:0
+ dev-java/jakarta-oro:2.0
+ dev-java/javassist:2
+ dev-java/ognl:3.0
+ dev-java/tomcat-servlet-api:2.4
+"
+RDEPEND="
+ ${CDEPEND}
+ >=virtual/jre-1.4
+"
+DEPEND="
+ ${CDEPEND}
+ >=virtual/jdk-1.4
+"
+
+S="${WORKDIR}/Tapestry-${PV}"
+
+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+=",tomcat-servlet-api-2.4,ognl-3.0,bsf-2.3,jakarta-oro-2.0"
+EANT_GENTOO_CLASSPATH+=",javassist-2"
+
+JAVA_ANT_REWRITE_CLASSPATH="true"
+
+src_prepare() {
+ default
+
+ mkdir config lib || die
+ cp "${FILESDIR}/Version.properties" config/ || die
+ cp "${FILESDIR}/build.properties" config/ || die
+ cp "${FILESDIR}/common.properties" config/ || die
+}
+
+src_compile() {
+ cd "${S}/framework" || die
+ eant -Dgentoo.classpath="$(java-pkg_getjars ${EANT_GENTOO_CLASSPATH})"
+ use doc && javadoc -sourcepath src/ org.apache.tapestry -d ../javadoc
+}
+
+src_install() {
+ java-pkg_newjar "lib/${P}.jar"
+ use source && java-pkg_dosrc framework/src/org
+ use doc && java-pkg_dojavadoc javadoc
+}