summaryrefslogtreecommitdiff
path: root/dev-java/tapestry
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/tapestry')
-rw-r--r--dev-java/tapestry/Manifest8
-rw-r--r--dev-java/tapestry/files/Version.properties5
-rw-r--r--dev-java/tapestry/files/build.properties32
-rw-r--r--dev-java/tapestry/files/common.properties94
-rw-r--r--dev-java/tapestry/metadata.xml15
-rw-r--r--dev-java/tapestry/tapestry-3.0.4-r2.ebuild67
6 files changed, 221 insertions, 0 deletions
diff --git a/dev-java/tapestry/Manifest b/dev-java/tapestry/Manifest
new file mode 100644
index 000000000000..0ca42b5f89cf
--- /dev/null
+++ b/dev-java/tapestry/Manifest
@@ -0,0 +1,8 @@
+AUX Version.properties 162 SHA256 a809980507a831d465f60e23f28cb41f004615e50567cf027fef76f32202b2da SHA512 f2b2c2fab2c670cd21f9b5a1ed0940d5a568230c3a0b13b59bee92310c47755c12f020454e2891c2561c978a2427677b15690ab21159ed6d79676e3e83e4622f WHIRLPOOL 415666ef5e41f293689094da3201fdb1aa19b5a4399e1d5416576daf3ec480cfd2131350066cfe6a42dda47facbd76cbbdfea74e2876150badfaa848cb636107
+AUX build.properties 1141 SHA256 326a3ca39cb42444711c4cf0d9d684f45ef894631f442e3a4681ca728f404a18 SHA512 3cfe36782bed225811884e97a2261719c6d7c82470621e54701114c0e4e18ca0ba673f5f97861840c0e822ede9dd86097d8c77aecf3a392de82cd5573049d0bc WHIRLPOOL 296c7b116efbda607fb1e10df3c46c050e8b2a42ec98f6cb31712850747d2069b878824bab3aaf58610560dce02a83b5dc2cccef4d3bc4c979e2d1fe9eeab192
+AUX common.properties 2850 SHA256 25595d00859b865b8471537b31a91ee22ffeeccf83ffe0a09bbc0dfb31bceced SHA512 a00b28fde7e90100c017238150fd7c830cacc4bc6a24e7a9bd90fbd32bd6bf8a3787a8a178f6ed78033621a47503b1517e9485ffc60d5ffbfe5752254713283b WHIRLPOOL e6da5f62dd84e51bda89ee0addbb05a5a88fb50cdce547de8e8003109b9397a366dcf19bbe9c3d6f0efe18223f205ae88b1ddc61df15b6872234cb6ffe807cdf
+DIST Tapestry-3.0.4-src.zip 1174780 SHA256 ff66bf1d4d45e80520aff4ddb08986c6b5b4059dd9bce8bd40e83a7be5643c6a SHA512 ab94cee9745fceeecbc98a27ace90567b3bc8ab880408da0a32526ba3a68b24f90daeca5d2ea0180b5693ae4fd12f01f0db98e78f176cdc0a0370b5554aa9d10 WHIRLPOOL 158c9cc6b717190d3f3e52da6f7b991a6bb33ce96708b257332ca426ba58b3f3c093949e01f54521ba67801cd533df829014bf471391448ea3b76eb49f376b69
+EBUILD tapestry-3.0.4-r2.ebuild 1659 SHA256 a9af357c6fe3101e8802ed66331adad286508bfa4fc789dc7e459a562acc3eaa SHA512 34c5834afda5d462ed8d39d7f6309fec21e8f6c1038bb633e02832ff9d353f933e829f723732f7536a911ca5134d4684f4ce493e115758b956e50aba1d4d6317 WHIRLPOOL aad9ac2c8f17f086c5e8db9c23c25ba33d0b65f31a1d08d26b7e52380309339a2d5113238c51e0173ebf63463ee9b7537191d46ab33bc12c7818590c03bedf52
+MISC ChangeLog 3582 SHA256 9e329bc44616640458af2986d61672cb2f2a5bece6be6a37bef1ae124759c85f SHA512 d42cb89cc569429705d4c6544223288a2cec99f1535243d650a9974e5285e18956d19f18ae8d555706805d98370503ada3d3c892d823cf8ca59a222a1c9d2c06 WHIRLPOOL 426e3dc4f929e0b8df07f08f18a4158b2632c72bc989b580b04e51162c4ba894666216a2e7eb264128498c9c1615826fcf36e8b9f512ee378341cf6b597b957c
+MISC ChangeLog-2015 1171 SHA256 1a3aebb2490a8e4cf8f9ec31052935ae0c1c9fb29ba1f3ecc2c118e7838d3268 SHA512 abb7a0c3caf34135085f9ae156093cc573129df4830ed4f91db65d78bd2897323c824c1fdbc84d06edc8bf4fe723f327350bf2ee349579addabc6716e6a98377 WHIRLPOOL 9209cea71ee5e3736622859af984122eb1e527cc9e72a2752c3a099d89bf62aa145d6a75ae1c09c84d8597214d593ab1de3d91084986d49d2be54dcbeb2960c5
+MISC metadata.xml 750 SHA256 854a4b6629209ec3a61546402e54b147add5bd3d0f506ca073ac967429cf6544 SHA512 65e251c97e3c5fff6f3bd40910a5ee7b2e5152a86d3638aeb870283f8e415c833da3666647fc25add19e96c0534d5fac39090646cccc9cc10a2b07f5bcc5885f WHIRLPOOL 2b9afb97ec5de2eeb8d9079c97b119d987edf9210b593bb5b66e6b9c997506fe1fc92cf86faf1a633707ab159b77a255421277f9b52c85222404f5934f2a8202
diff --git a/dev-java/tapestry/files/Version.properties b/dev-java/tapestry/files/Version.properties
new file mode 100644
index 000000000000..4b67c327efa1
--- /dev/null
+++ b/dev-java/tapestry/files/Version.properties
@@ -0,0 +1,5 @@
+# $Id: Version.properties 390452 2006-03-31 11:34:17 -0500 (Fri, 31 Mar 2006) jkuhnert $
+#
+# Stores the version number of the framework.
+
+framework.version=3.0.4
diff --git a/dev-java/tapestry/files/build.properties b/dev-java/tapestry/files/build.properties
new file mode 100644
index 000000000000..b82007cc4202
--- /dev/null
+++ b/dev-java/tapestry/files/build.properties
@@ -0,0 +1,32 @@
+# $Id: build.properties.sample 243768 2004-02-04 13:04:22Z mindbridge $
+# This file is used to configure the Tapestry build.
+# Copy it as "build.properties" and fill in the necessary data.
+
+# The absolute path to the directory where external distributions
+# used in the building process will be downloaded and installed
+base.path=/usr/share/java
+
+# The absolute path to the directory containing the JBoss installation.
+# Required to execute the configure and run-jboss targets.
+jboss.dir=
+
+# The absolute path to the directory containing the Tomcat installation.
+# Required to execute the deploy-tomcat target.
+#
+tomcat.dir=
+
+# The absolute path to the directory containing the Jetty installation.
+# Required to execute the run-workbench target.
+jetty.dir=
+
+# The absolute path to the directory containing the Jython installation.
+# Required to execute the junit target.
+jython.dir=
+
+# Home for xml-forrest, used to build documentation.
+# Available from :pserver:anoncvs@cvs.apache.org:/home/cvspublic as module xml-forrest
+# Build forrest, then set to the shbat directory, i.e.
+# C:/workspace/xml-forrest/build/dist/shbat
+
+forrest.home=
+
diff --git a/dev-java/tapestry/files/common.properties b/dev-java/tapestry/files/common.properties
new file mode 100644
index 000000000000..775eec976ea3
--- /dev/null
+++ b/dev-java/tapestry/files/common.properties
@@ -0,0 +1,94 @@
+# $Id: common.properties 385802 2006-03-14 13:47:10Z jkuhnert $
+#
+# Specifies some general properties used throughout.
+# Each build.xml must specify root.dir (as a relative path).
+
+lib.dir=lib
+
+root.lib.dir=${root.dir}/${lib.dir}
+
+ext.dist.dir=${root.dir}/ext-dist
+
+root.config.dir=${root.dir}/config
+
+framework.jar=tapestry-${framework.version}.jar
+contrib.jar=tapestry-contrib-${framework.version}.jar
+
+examples.dir=${root.lib.dir}/examples
+
+vlib.war=vlib.war
+vlib.ear=vlib.ear
+vlibbeans.jar=vlibbeans.jar
+workbench.war=workbench.war
+wap.war=wap.war
+
+ext.download.dir=${ext.dist.dir}/downloads
+
+# Names of directories under lib
+
+ext.dir=ext
+j2ee.dir=j2ee
+runtime.dir=runtime
+
+jboss.lib.dir=${jboss.dir}/lib
+jboss.client.dir=${jboss.dir}/client
+jboss.server.all.lib.dir=${jboss.dir}/server/all/lib
+
+# Directory containing source code and package resources
+src.dir=src
+
+# Directory containing compiled Java code
+classes.dir=classes
+
+# Used as part of copyrights
+
+copyright.years=2000-2004
+
+# ----- JUnit Unit Test Suite, version 3.8 or later -----
+junit.home=${ext.download.dir}/junit3.8.1
+junit.lib=${junit.home}
+junit.jar=${junit.lib}/junit.jar
+junit.ext.jar=${ext.dist.dir}/junit.jar
+junit.loc=http://telia.dl.sourceforge.net/sourceforge/junit/junit3.8.1.zip
+
+# ----- JDOM Library, version 1.0 -----
+jdom.home=${ext.download.dir}/jdom-1.0
+jdom.lib=${jdom.home}
+jdom.jar=${jdom.lib}/build/jdom.jar
+jdom.ext.jar=${ext.dist.dir}/jdom-1.0.jar
+jdom.loc=http://www.jdom.org/dist/binary/jdom-1.0.tar.gz
+
+# ----- McKoi Pure Java Database, version 1.0.2 -----
+mckoi.home=${ext.download.dir}/mckoi1.0.2
+mckoi.lib=${mckoi.home}
+mckoi.jar=${mckoi.lib}/mckoidb.jar
+mckoi.ext.jar=${ext.dist.dir}/mckoidb.jar
+mckoi.loc=http://www.mckoi.com/database/ver/mckoi1.0.2.zip
+
+# ----- DocBook XML, version 4.1.2 -----
+docbookxml.file=${ext.dist.dir}/docbkx412.zip
+docbookxml.loc=http://www.docbook.org/xml/4.1.2/docbkx412.zip
+
+# ----- DocBook XSL, version 1.64.1 -----
+docbookxsl.file=${ext.dist.dir}/docbook-xsl-1.64.1.zip
+docbookxsl.loc=http://telia.dl.sourceforge.net/sourceforge/docbook/docbook-xsl-1.64.1.zip
+
+# ----- Apache Forrest, version 0.5.1 -----
+forrestdl.home=${ext.download.dir}/apache-forrest-0.5.1-bin
+forrestdl.ant.xml=${forrestdl.home}/forrest.antproxy.xml
+forrestdl.loc=http://archive.apache.org/dist/forrest/pre-0.6/apache-forrest-0.5.1-bin.zip
+
+# ---- OGNL ----
+ognl.version=2.6.7
+ognl.loc=http://ognl.org/${ognl.version}/ognl-${ognl.version}.jar
+ognl.dest=${root.lib.dir}/${ext.dir}/ognl-${ognl.version}.jar
+
+# ---- Javassist ----
+
+javassist.version=2.5.1
+javassist.loc=http://umn.dl.sourceforge.net/sourceforge/jboss/javassist-${javassist.version}.zip
+javassist.dest=${ext.download.dir}/javassist-${javassist.version}
+javassist.ext.jar=${root.lib.dir}/${ext.dir}/javassist-${javassist.version}.jar
+javassist.jar=${javassist.dest}/javassist.jar
+
+
diff --git a/dev-java/tapestry/metadata.xml b/dev-java/tapestry/metadata.xml
new file mode 100644
index 000000000000..63cc3f846416
--- /dev/null
+++ b/dev-java/tapestry/metadata.xml
@@ -0,0 +1,15 @@
+<?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>
+<longdescription lang="en">
+Tapestry is a powerful, open-source, all-Java framework for creating leading edge web applications in Java.
+
+Tapestry reconceptualizes web application development in terms of objects, methods and properties instead of URLs and query parameters.
+
+Tapestry is an alternative to scripting environments such as JavaServer Pages or Velocity. Tapestry goes far further, providing a complete framework for creating extremely dynamic applications with minimal amounts of coding.
+</longdescription>
+</pkgmetadata>
diff --git a/dev-java/tapestry/tapestry-3.0.4-r2.ebuild b/dev-java/tapestry/tapestry-3.0.4-r2.ebuild
new file mode 100644
index 000000000000..db9cb0c89264
--- /dev/null
+++ b/dev-java/tapestry/tapestry-3.0.4-r2.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+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"
+
+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/servletapi:2.4"
+
+RDEPEND="
+ ${CDEPEND}
+ >=virtual/jre-1.4"
+
+DEPEND="
+ ${CDEPEND}
+ >=virtual/jdk-1.4"
+
+IUSE="${JAVA_PKG_IUSE}"
+
+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+=",servletapi-2.4,ognl-3.0,bsf-2.3,jakarta-oro-2.0"
+EANT_GENTOO_CLASSPATH+=",javassist-2"
+
+JAVA_ANT_REWRITE_CLASSPATH="true"
+
+java_prepare() {
+ 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
+}