diff options
author | Jan Brinkmann <luckyduck@gentoo.org> | 2005-05-22 15:45:43 +0000 |
---|---|---|
committer | Jan Brinkmann <luckyduck@gentoo.org> | 2005-05-22 15:45:43 +0000 |
commit | 96b0e48bcafddaced2708ffe387133e740f06c34 (patch) | |
tree | a58b91c2e38969b939927dfe66e7b87d6f1a7499 /dev-java/jakarta-slide-webdavclient | |
parent | Added ~amd64 and ~sparc back to KEYWORDS (diff) | |
download | historical-96b0e48bcafddaced2708ffe387133e740f06c34.tar.gz historical-96b0e48bcafddaced2708ffe387133e740f06c34.tar.bz2 historical-96b0e48bcafddaced2708ffe387133e740f06c34.zip |
Initial import, ebuild based on the contribution by Josh Nichols <nichoj@alum.rpi.edu>. Fixes #93509
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'dev-java/jakarta-slide-webdavclient')
6 files changed, 168 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..57159bf0ecad --- /dev/null +++ b/dev-java/jakarta-slide-webdavclient/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 0de91f4dfdea5f7d144b9a8e7387c186 jakarta-slide-webdavclient-2.1.ebuild 1692 +MD5 c584a64e8e70ce74a41517bedc091c39 ChangeLog 562 +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 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.0 (GNU/Linux) + +iD8DBQFCkKk/06ebR+OMO78RAueTAJ47Y0JBh3/yTY+kO6zeuY3u85WeIACdF7rW +OtvXFOvqrzAunX2zFlxH9Kc= +=r4mY +-----END PGP SIGNATURE----- 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> |