summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Aniszczyk <zx@gentoo.org>2004-03-18 05:03:12 +0000
committerChris Aniszczyk <zx@gentoo.org>2004-03-18 05:03:12 +0000
commit3c84377b2e9bdb68efd4ab950981039c3657d313 (patch)
treea7bb0a9d2e0f89db2b6fa73269847c8ef8f1884e /dev-java/struts
parentFix env vars, clean up. Closes #10855 (Manifest recommit) (diff)
downloadgentoo-2-3c84377b2e9bdb68efd4ab950981039c3657d313.tar.gz
gentoo-2-3c84377b2e9bdb68efd4ab950981039c3657d313.tar.bz2
gentoo-2-3c84377b2e9bdb68efd4ab950981039c3657d313.zip
Initial Import.
Diffstat (limited to 'dev-java/struts')
-rw-r--r--dev-java/struts/ChangeLog11
-rw-r--r--dev-java/struts/Manifest2
-rw-r--r--dev-java/struts/metadata.xml5
-rw-r--r--dev-java/struts/struts-1.1.ebuild55
4 files changed, 73 insertions, 0 deletions
diff --git a/dev-java/struts/ChangeLog b/dev-java/struts/ChangeLog
new file mode 100644
index 000000000000..df9d48a60fdb
--- /dev/null
+++ b/dev-java/struts/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-java/struts
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/struts/ChangeLog,v 1.1 2004/03/18 05:03:12 zx Exp $
+
+*struts-1.1 (18 Mar 2004)
+
+ 18 Mar 2004; Chris Aniszczyk <zx@gentoo.org> metadata.xml,
+ struts-1.1.ebuild:
+ Initial Import. Thanks to Pavel <hlobil@sympatico.ca> for input. Closes
+ #43253, #14382, #21930
+
diff --git a/dev-java/struts/Manifest b/dev-java/struts/Manifest
new file mode 100644
index 000000000000..7b939b498c9d
--- /dev/null
+++ b/dev-java/struts/Manifest
@@ -0,0 +1,2 @@
+MD5 c08af8e26c57cf81ba4ca027240a356a struts-1.1.ebuild 1965
+MD5 238ad3b803c15bc9e2598110b432335a files/digest-struts-1.1 75
diff --git a/dev-java/struts/metadata.xml b/dev-java/struts/metadata.xml
new file mode 100644
index 000000000000..838c00a4a448
--- /dev/null
+++ b/dev-java/struts/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>java</herd>
+</pkgmetadata>
diff --git a/dev-java/struts/struts-1.1.ebuild b/dev-java/struts/struts-1.1.ebuild
new file mode 100644
index 000000000000..2c6916b0b2cf
--- /dev/null
+++ b/dev-java/struts/struts-1.1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/struts/struts-1.1.ebuild,v 1.1 2004/03/18 05:03:12 zx Exp $
+
+inherit java-pkg
+
+DESCRIPTION="A powerful Model View Controller Framework for JSP/Servlets"
+SRC_URI="mirror://apache/jakarta/struts/source/jakarta-${PN}-${PV}-src.tar.gz"
+HOMEPAGE="http://jakarta.apache.org/struts/index.html"
+LICENSE="Apache-1.1"
+
+DEPEND=">=virtual/jdk-1.4
+ >=dev-java/ant-1.5.4
+ >=dev-java/commons-beanutils-1.6.1
+ >=dev-java/commons-collections-2.1
+ >=dev-java/struts-legacy
+ >=dev-java/commons-digester-1.5
+ >=dev-java/commons-fileupload-1.0
+ >=dev-java/commons-lang-1.0
+ >=dev-java/commons-logging-1.0
+ >=dev-java/commons-validator-1.0
+ >=dev-java/oro-2.0.6
+ =dev-java/servletapi-2.3*
+ jikes? ( dev-java/jikes )"
+
+IUSE="doc jikes"
+KEYWORDS="~x86"
+
+S=${WORKDIR}/jakarta-${PN}-${PV}-src
+
+src_compile() {
+ local antflags="compile.library"
+ use doc && antflags="${antflags} compile.javadoc"
+ use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
+
+ antflags="${antflags} -Dcommons-beanutils.jar=`java-config -p commons-beanutils`"
+ antflags="${antflags} -Dcommons-collections.jar=`java-config -p commons-collections`"
+ antflags="${antflags} -Dstruts-legacy.jar=`java-config -p struts-legacy`"
+ antflags="${antflags} -Dcommons-digester.jar=`java-config -p commons-digester`"
+ antflags="${antflags} -Dcommons-fileupload.jar=`java-config -p commons-fileupload`"
+ antflags="${antflags} -Djakarta-oro.jar=`java-config -p oro`"
+ antflags="${antflags} -Dservlet.jar=`java-config -p servletapi-2.3`"
+ antflags="${antflags} -Dcommons-lang.jar=`java-config -p commons-lang`"
+ antflags="${antflags} -Dcommons-logging.jar=`java-config -p commons-logging | sed 's/.*://'`"
+ antflags="${antflags} -Dcommons-validator.jar=`java-config -p commons-validator`"
+
+ ant ${antflags} || die "compile failed"
+}
+
+
+src_install() {
+ java-pkg_dojar target/library/struts.jar
+ dodoc README STATUS
+ use doc && dohtml -r target/documentation/
+}