summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Brinkmann <luckyduck@gentoo.org>2005-05-22 15:45:43 +0000
committerJan Brinkmann <luckyduck@gentoo.org>2005-05-22 15:45:43 +0000
commit8bd87712b8f65fff3f929406933d4d1fe21d5d19 (patch)
tree9b66f2ea242cff07ddd6a651b087bd70623c9914 /dev-java/jakarta-slide-webdavclient
parentAdded ~amd64 and ~sparc back to KEYWORDS (diff)
downloadgentoo-2-8bd87712b8f65fff3f929406933d4d1fe21d5d19.tar.gz
gentoo-2-8bd87712b8f65fff3f929406933d4d1fe21d5d19.tar.bz2
gentoo-2-8bd87712b8f65fff3f929406933d4d1fe21d5d19.zip
Initial import, ebuild based on the contribution by Josh Nichols <nichoj@alum.rpi.edu>. Fixes #93509
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'dev-java/jakarta-slide-webdavclient')
-rw-r--r--dev-java/jakarta-slide-webdavclient/ChangeLog12
-rw-r--r--dev-java/jakarta-slide-webdavclient/Manifest5
-rw-r--r--dev-java/jakarta-slide-webdavclient/files/digest-jakarta-slide-webdavclient-2.11
-rw-r--r--dev-java/jakarta-slide-webdavclient/files/jakarta-slide-webdavclient-2.1-gentoo.patch75
-rw-r--r--dev-java/jakarta-slide-webdavclient/jakarta-slide-webdavclient-2.1.ebuild60
-rw-r--r--dev-java/jakarta-slide-webdavclient/metadata.xml5
6 files changed, 158 insertions, 0 deletions
diff --git a/dev-java/jakarta-slide-webdavclient/ChangeLog b/dev-java/jakarta-slide-webdavclient/ChangeLog
new file mode 100644
index 000000000000..e86897d6ebb6
--- /dev/null
+++ b/dev-java/jakarta-slide-webdavclient/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for dev-java/jakarta-slide-webdavclient
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jakarta-slide-webdavclient/ChangeLog,v 1.1 2005/05/22 15:45:43 luckyduck Exp $
+
+*jakarta-slide-webdavclient-2.1 (22 May 2005)
+
+ 22 May 2005; Jan Brinkmann <luckyduck@gentoo.org>
+ +files/jakarta-slide-webdavclient-2.1-gentoo.patch, +metadata.xml,
+ +jakarta-slide-webdavclient-2.1.ebuild:
+ Initial import, ebuild based on the contribution by Josh Nichols
+ <nichoj@alum.rpi.edu>. Fixes #93509
+
diff --git a/dev-java/jakarta-slide-webdavclient/Manifest b/dev-java/jakarta-slide-webdavclient/Manifest
new file mode 100644
index 000000000000..9cd9b5dbdecb
--- /dev/null
+++ b/dev-java/jakarta-slide-webdavclient/Manifest
@@ -0,0 +1,5 @@
+MD5 e8d3c6567a062c83fa634b592df1942e jakarta-slide-webdavclient-2.1.ebuild 1554
+MD5 bd71629f676629698cd3187d9e1b4cd8 ChangeLog 452
+MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
+MD5 e3a02e14fa71493c6d109fcd3ed318e7 files/jakarta-slide-webdavclient-2.1-gentoo.patch 3717
+MD5 760042f08a0a2acaa81dd12e1a267154 files/digest-jakarta-slide-webdavclient-2.1 87
diff --git a/dev-java/jakarta-slide-webdavclient/files/digest-jakarta-slide-webdavclient-2.1 b/dev-java/jakarta-slide-webdavclient/files/digest-jakarta-slide-webdavclient-2.1
new file mode 100644
index 000000000000..3f8afb3a1db5
--- /dev/null
+++ b/dev-java/jakarta-slide-webdavclient/files/digest-jakarta-slide-webdavclient-2.1
@@ -0,0 +1 @@
+MD5 d8719759a8a8033e2c8ed62d50572d80 jakarta-slide-webdavclient-src-2.1.tar.gz 2123807
diff --git a/dev-java/jakarta-slide-webdavclient/files/jakarta-slide-webdavclient-2.1-gentoo.patch b/dev-java/jakarta-slide-webdavclient/files/jakarta-slide-webdavclient-2.1-gentoo.patch
new file mode 100644
index 000000000000..29b11b74c3ca
--- /dev/null
+++ b/dev-java/jakarta-slide-webdavclient/files/jakarta-slide-webdavclient-2.1-gentoo.patch
@@ -0,0 +1,75 @@
+--- build.xml.orig 2005-05-22 17:13:28.000000000 +0200
++++ build.xml 2005-05-22 17:20:32.000000000 +0200
+@@ -83,6 +83,12 @@
+ <pathelement location="${commons-transaction.jar}"/>
+ <pathelement location="${j2ee-spec.jar}"/>
+ </path>
++
++ <path id="mycp">
++ <fileset dir="lib">
++ <include name="**/*.jar" />
++ </fileset>
++ </path>
+ <!-- =================================================================== -->
+ <!-- Prepare build -->
+ <!-- =================================================================== -->
+@@ -160,7 +166,7 @@
+ <javac srcdir="clientlib/src/java" destdir="${clientlib.build}/classes"
+ debug="${compile.debug}" deprecation="${compile.deprecation}"
+ optimize="${compile.optimize}" excludes="**/CVS/**">
+- <classpath refid="clientlib.classpath"/>
++ <classpath refid="mycp"/>
+ </javac>
+ </target>
+ <!-- =================================================================== -->
+@@ -188,12 +194,12 @@
+ <javac srcdir="commandline/src/java" destdir="${cmd.build}/classes"
+ debug="${compile.debug}" deprecation="${compile.deprecation}"
+ optimize="${compile.optimize}" excludes="**/Slide.java">
+- <classpath refid="cmd.classpath"/>
++ <classpath refid="mycp"/>
+ </javac>
+ <javac srcdir="${cmd.build}/src" destdir="${cmd.build}/classes"
+ debug="${compile.debug}" deprecation="${compile.deprecation}"
+ optimize="${compile.optimize}" includes="**/Slide.java">
+- <classpath refid="cmd.classpath"/>
++ <classpath refid="mycp"/>
+ </javac>
+ </target>
+ <!-- =================================================================== -->
+@@ -205,7 +211,7 @@
+ <javac srcdir="ant/src/java" destdir="${ant.build}/classes"
+ debug="${compile.debug}" deprecation="${compile.deprecation}"
+ optimize="${compile.optimize}" excludes="**/*Test.java">
+- <classpath refid="ant.classpath"/>
++ <classpath refid="mycp"/>
+ </javac>
+ <copy todir="${ant.build}/classes">
+ <fileset dir="ant/src/java">
+@@ -223,7 +229,7 @@
+ <javac srcdir="connector/src/java" destdir="${jca.build}/classes"
+ debug="${compile.debug}" deprecation="${compile.deprecation}"
+ optimize="${compile.optimize}" excludes="**/*Test.java">
+- <classpath refid="jca.classpath"/>
++ <classpath refid="mycp"/>
+ </javac>
+ <copy todir="${jca.build}/classes">
+ <fileset dir="connector/src/java"/>
+@@ -265,7 +271,7 @@
+ <!-- =================================================================== -->
+ <!-- Build a WebDAV client distribution -->
+ <!-- =================================================================== -->
+- <target name="dist-clientlib" depends="build-clientlib,prepare-dist,javadoc-clientlib"
++ <target name="dist-clientlib" depends="build-clientlib,prepare-dist"
+ description="Jar WebDAV client lib and copy required jar libs">
+ <copy todir="${clientlib.dist}/lib">
+ <fileset dir="lib">
+@@ -398,7 +404,7 @@
+ deprecation="${compile.deprecation}"
+ optimize="${compile.optimize}" >
+ <src path="${basedir}/connector/example/src/java"/>
+- <classpath refid="jca.classpath" />
++ <classpath refid="mycp" />
+ </javac>
+ <zip zipfile="${jca.dist}/connector-example.war">
+ <zipfileset dir="${jca.build}/classes/connector" prefix="WEB-INF/classes/connector" includes="TestServlet.class"/>
diff --git a/dev-java/jakarta-slide-webdavclient/jakarta-slide-webdavclient-2.1.ebuild b/dev-java/jakarta-slide-webdavclient/jakarta-slide-webdavclient-2.1.ebuild
new file mode 100644
index 000000000000..6bcc51a8a42c
--- /dev/null
+++ b/dev-java/jakarta-slide-webdavclient/jakarta-slide-webdavclient-2.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jakarta-slide-webdavclient/jakarta-slide-webdavclient-2.1.ebuild,v 1.1 2005/05/22 15:45:43 luckyduck Exp $
+
+inherit eutils java-pkg
+
+MY_P="${PN}-src-${PV}"
+DESCRIPTION="! Slide is a content repository which can serve as a basis for a content management system / framework and other purposes"
+HOMEPAGE="http://jakarta.apache.org/slide/index.html"
+SRC_URI="http://archive.apache.org/dist/jakarta/slide/source/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc jikes source"
+
+DEPEND=">=virtual/jdk-1.4"
+RDEPEND=">=virtual/jre-1.4
+ dev-java/ant-core
+ dev-java/antlr
+ dev-java/commons-httpclient
+ dev-java/commons-logging
+ dev-java/commons-transaction
+ ~dev-java/jdom-1.0
+ dev-java/xml-im-exporter"
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ epatch ${FILESDIR}/${P}-gentoo.patch
+
+ cd ${S}/lib
+ java-pkg_jar-from antlr
+ java-pkg_jar-from commons-httpclient
+ java-pkg_jar-from commons-logging
+ java-pkg_jar-from commons-transaction
+ java-pkg_jar-from jdom-1.0
+ java-pkg_jar-from xml-im-exporter
+}
+
+src_compile() {
+ local antflags="dist-clientlib"
+ use doc && antflags="${antflags} javadoc-clientlib"
+ use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
+ ant ${antflags} dist-clientlib || die "Compilation failed"
+}
+
+src_install() {
+ java-pkg_newjar dist/lib/${P/client/lib}.jar ${PN/client/lib}.jar
+
+ dodoc README
+ use doc && java-pkg_dohtml -r dist/doc/clientjavadoc/
+ use source && java-pkg_dosrc \
+ clientlib/src/java/* \
+ ant/src/java/* \
+ commandline/src/java/* \
+ connector/src/java/*
+}
diff --git a/dev-java/jakarta-slide-webdavclient/metadata.xml b/dev-java/jakarta-slide-webdavclient/metadata.xml
new file mode 100644
index 000000000000..838c00a4a448
--- /dev/null
+++ b/dev-java/jakarta-slide-webdavclient/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>