summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-11-29 08:58:54 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-11-29 08:58:54 +0000
commit1173c05e82760971b94d968d75cbf59e49ae8de3 (patch)
treef3fbbb721808a59e920ea1896e47fb099c4ea1ec /dev-java/cocoon
parentAdding rdepend to pull in eflite and speech-dispatcher. (diff)
downloadhistorical-1173c05e82760971b94d968d75cbf59e49ae8de3.tar.gz
historical-1173c05e82760971b94d968d75cbf59e49ae8de3.tar.bz2
historical-1173c05e82760971b94d968d75cbf59e49ae8de3.zip
Version bump.
Diffstat (limited to 'dev-java/cocoon')
-rw-r--r--dev-java/cocoon/ChangeLog8
-rw-r--r--dev-java/cocoon/Manifest14
-rw-r--r--dev-java/cocoon/cocoon-2.1.5.1.ebuild65
-rw-r--r--dev-java/cocoon/files/digest-cocoon-2.1.5.11
4 files changed, 86 insertions, 2 deletions
diff --git a/dev-java/cocoon/ChangeLog b/dev-java/cocoon/ChangeLog
index a7d3231495ae..286440df7a1c 100644
--- a/dev-java/cocoon/ChangeLog
+++ b/dev-java/cocoon/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/cocoon
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/cocoon/ChangeLog,v 1.4 2004/10/20 05:20:06 absinthe Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/cocoon/ChangeLog,v 1.5 2004/11/29 08:58:54 eradicator Exp $
+
+*cocoon-2.1.5.1 (21 Oct 2004)
+
+ 21 Oct 2004; Jeremy Huddleston <eradicator@gentoo.org>
+ +cocoon-2.1.5.1.ebuild:
+ Version bump.
20 Oct 2004; Dylan Carlson <absinthe@gentoo.org> cocoon-2.1.4.ebuild:
Keywords ~amd64.
diff --git a/dev-java/cocoon/Manifest b/dev-java/cocoon/Manifest
index 4674174cb9c0..0fdcff5e0b25 100644
--- a/dev-java/cocoon/Manifest
+++ b/dev-java/cocoon/Manifest
@@ -1,6 +1,18 @@
-MD5 f0d1162a0bd3ef38f97f7c2aa4032690 ChangeLog 2624
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 ba4d2861ca0b1082d319ecab37f9e0db ChangeLog 2757
MD5 670cc021c2ff8dc61c4903480d2f08ef cocoon-2.1.4.ebuild 1886
MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
+MD5 c0ba4b84b1e22a681896fb4a71f009b7 cocoon-2.1.5.1.ebuild 1890
MD5 4d2b324e1a75765047279e1f1ab664d0 files/cocoon.properties 15046
MD5 feb46c8882b1927440e2f11e132eb22b files/digest-cocoon-2.1.4 70
MD5 54c9c8347c6bf0f8d996be4c4a6144bf files/web.xml 826
+MD5 74fd7843c1c4ec683c7c4c36d78e164d files/digest-cocoon-2.1.5.1 72
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.2.6 (GNU/Linux)
+
+iD8DBQFBquTaArHZZzCEUG0RAr1nAJ91q1tlEPOiRraugZRxFp2GzRbbowCdEoSC
+I7M8OP+6nw1YKQ8e3tXcbiE=
+=kcvm
+-----END PGP SIGNATURE-----
diff --git a/dev-java/cocoon/cocoon-2.1.5.1.ebuild b/dev-java/cocoon/cocoon-2.1.5.1.ebuild
new file mode 100644
index 000000000000..61b8c88ac118
--- /dev/null
+++ b/dev-java/cocoon/cocoon-2.1.5.1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/cocoon/cocoon-2.1.5.1.ebuild,v 1.1 2004/11/29 08:58:54 eradicator Exp $
+
+inherit java-pkg
+
+DESCRIPTION="A Web Publishing Framework for Apache"
+HOMEPAGE="http://cocoon.apache.org/"
+SRC_URI="mirror://apache/cocoon/${P}-src.tar.gz"
+
+LICENSE="Apache-1.1"
+SLOT="0"
+KEYWORDS="~x86 ~sparc ~ppc ~amd64"
+IUSE="doc"
+
+DEPEND=">=virtual/jdk-1.4
+ >=dev-java/ant-1.5.3"
+RDEPEND=">=virtual/jdk-1.4"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ echo -e "# Gentoo build properties" > local.build.properties
+ if ! use doc; then
+ echo -e "exclude.javadocs=true\n" >> local.build.properties
+ echo -e "exclude.webapp.javadocs=true\n" >> local.build.properties
+ echo -e "exclude.webapp.documentation=true\n" >> local.build.properties
+ echo -e "exclude.idldocs=true\n" >> local.build.properties
+ echo -e "exclude.webapp.idldocs=true\n" >> local.build.properties
+ fi
+}
+
+src_compile() {
+ sh build.sh war standalone-demo || die
+}
+
+src_install() {
+ java-pkg_dowar build/${P}/${PN}.war
+ java-pkg_dojar build/${P}/cocoon.jar
+ JARDESTTREE=lib/core java-pkg_dojar lib/core/*.jar
+ insinto /usr/share/${PN}/lib
+ doins ${S}/build/${P}/cocoon-*.jar ${S}/lib/jars.xml
+ for i in endorsed optional local; do
+ dodir /usr/share/${PN}/lib/${i}
+ insinto /usr/share/${PN}/lib/${i}
+ doins ${S}/lib/${i}/*
+ done
+
+ dodoc CREDITS.txt INSTALL.txt KEYS README.txt
+ docinto legal
+ dodoc legal/*
+
+ docinto api
+ use doc && java-pkg_dohtml -r build/webapp/api/*
+}
+
+pkg_postinst() {
+ einfo "This ebuild does no longer install the Cocoon webapp into"
+ einfo "any servlet container anymore. Copy /usr/share/${PN}/webapps/${PN}.war"
+ einfo "to your servlet container's webapps directory and restart the"
+ einfo "server."
+ einfo
+ ewarn "Note: To run in Tomcat its version has to be >= 4.0.4"
+}
diff --git a/dev-java/cocoon/files/digest-cocoon-2.1.5.1 b/dev-java/cocoon/files/digest-cocoon-2.1.5.1
new file mode 100644
index 000000000000..f27df404d9e9
--- /dev/null
+++ b/dev-java/cocoon/files/digest-cocoon-2.1.5.1
@@ -0,0 +1 @@
+MD5 0f6e58bd430db7cf6d98b1ccac2dcc99 cocoon-2.1.5.1-src.tar.gz 42035921