diff options
author | Thomas Matthijs <axxo@gentoo.org> | 2004-11-14 15:22:29 +0000 |
---|---|---|
committer | Thomas Matthijs <axxo@gentoo.org> | 2004-11-14 15:22:29 +0000 |
commit | b234b1d1b21a5544afdcbfa0f04a7f40a686bc87 (patch) | |
tree | 7f0da80e8dccfb5ce2be88e33c45658c8bec510c /dev-util/jcvs | |
parent | Initial Version thanks to Matthias R. <spinebuster@gmx.net> and Vaclav Slavik... (diff) | |
download | gentoo-2-b234b1d1b21a5544afdcbfa0f04a7f40a686bc87.tar.gz gentoo-2-b234b1d1b21a5544afdcbfa0f04a7f40a686bc87.tar.bz2 gentoo-2-b234b1d1b21a5544afdcbfa0f04a7f40a686bc87.zip |
moved from dev-util/jcvs-bin, now builds from source, submitted by Jan Brinkmann <lucky@the-luckyduck.de>
Diffstat (limited to 'dev-util/jcvs')
-rw-r--r-- | dev-util/jcvs/ChangeLog | 11 | ||||
-rw-r--r-- | dev-util/jcvs/Manifest | 4 | ||||
-rw-r--r-- | dev-util/jcvs/files/MANIFEST.MF | 2 | ||||
-rw-r--r-- | dev-util/jcvs/files/build.xml | 39 | ||||
-rw-r--r-- | dev-util/jcvs/files/digest-jcvs-5.4.2 | 1 | ||||
-rw-r--r-- | dev-util/jcvs/jcvs-5.4.2.ebuild | 59 |
6 files changed, 116 insertions, 0 deletions
diff --git a/dev-util/jcvs/ChangeLog b/dev-util/jcvs/ChangeLog new file mode 100644 index 000000000000..f41d447ad393 --- /dev/null +++ b/dev-util/jcvs/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-util/jcvs +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/jcvs/ChangeLog,v 1.1 2004/11/14 15:22:29 axxo Exp $ + +*jcvs-5.4.2 (14 Nov 2004) + + 14 Nov 2004; Thomas Matthijs <axxo@gentoo.org> +files/MANIFEST.MF, + +files/build.xml, +jcvs-5.4.2.ebuild: + moved from dev-util/jcvs-bin, now builds from source, submitted by Jan + Brinkmann <lucky@the-luckyduck.de> + diff --git a/dev-util/jcvs/Manifest b/dev-util/jcvs/Manifest new file mode 100644 index 000000000000..0ea88793a9a7 --- /dev/null +++ b/dev-util/jcvs/Manifest @@ -0,0 +1,4 @@ +MD5 347ae19f58acae1f9d1ae6d8c96b52ad jcvs-5.4.2.ebuild 1606 +MD5 6a02d202407141d460b688f1864631e8 files/digest-jcvs-5.4.2 62 +MD5 2f143ca8baaf367e3232b727a33f1b8b files/MANIFEST.MF 56 +MD5 a02de83b7550636d4dc89a7ec266a9f5 files/build.xml 969 diff --git a/dev-util/jcvs/files/MANIFEST.MF b/dev-util/jcvs/files/MANIFEST.MF new file mode 100644 index 000000000000..ff46bc7bc5ca --- /dev/null +++ b/dev-util/jcvs/files/MANIFEST.MF @@ -0,0 +1,2 @@ +Manifest-Version: 1.0
+Main-Class: com.ice.jcvsii.JCVS
diff --git a/dev-util/jcvs/files/build.xml b/dev-util/jcvs/files/build.xml new file mode 100644 index 000000000000..eca1b5e9af3a --- /dev/null +++ b/dev-util/jcvs/files/build.xml @@ -0,0 +1,39 @@ +<?xml version="1.0"?> + +<project name="jcvs" default="jar"> + <property name="lib" value="bin/jars" /> + + <!-- compiles the sources --> + <target name="compile"> + <mkdir dir="build" /> + + <javac srcdir="source" destdir="build" source="1.4"> + <classpath> + <pathelement path="${lib}/activation.jar" /> + <pathelement path="${lib}/commons-logging.jar" /> + <pathelement path="${lib}/j2ssh-common.jar" /> + <pathelement path="${lib}/j2ssh-core.jar" /> + <pathelement path="${lib}/jh.jar" /> + </classpath> + </javac> + + <!-- we need the *.properties at the correct + position in the jar archive! --> + <copy todir="build"> + <fileset dir="source"> + <exclude name="**/*.java" /> + <include name="**/*" /> + </fileset> + </copy> + </target> + + <!-- create the jar archive --> + <target name="jar" depends="compile"> + <mkdir dir="jar" /> + + <jar jarfile="bin/jcvsii.jar" + basedir="build" + manifest="MANIFEST.MF"> + </jar> + </target> +</project> diff --git a/dev-util/jcvs/files/digest-jcvs-5.4.2 b/dev-util/jcvs/files/digest-jcvs-5.4.2 new file mode 100644 index 000000000000..05a540104fe1 --- /dev/null +++ b/dev-util/jcvs/files/digest-jcvs-5.4.2 @@ -0,0 +1 @@ +MD5 ea9986d80bbfa71a245c57bd45299aca jcvsii-5.4.2.zip 5044064 diff --git a/dev-util/jcvs/jcvs-5.4.2.ebuild b/dev-util/jcvs/jcvs-5.4.2.ebuild new file mode 100644 index 000000000000..7758f619f3d1 --- /dev/null +++ b/dev-util/jcvs/jcvs-5.4.2.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/jcvs/jcvs-5.4.2.ebuild,v 1.1 2004/11/14 15:22:29 axxo Exp $ + +inherit java-pkg + +DESCRIPTION="Java CVS client" +HOMEPAGE="http://www.jcvs.org/" +SRC_URI="http://www.jcvs.org/download/jcvs/jcvsii-${PV}.zip" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~x86 ~ppc ~amd64" +IUSE="doc" +DEPEND=">=virtual/jdk-1.3 + >=dev-java/ant-core-1.5 + >=dev-java/sun-jaf-bin-1.0.2 + >=dev-java/commons-logging-1.0.4 + >=dev-java/j2ssh-0.2.7 + >=dev-java/javahelp-bin-2 + jikes? ( dev-java/jikes )" +RDEPEND=">=virtual/jre-1.3 + >=dev-java/sun-jaf-bin-1.0.2 + >=dev-java/commons-logging-1.0.4 + >=dev-java/j2ssh-0.2.7 + >=dev-java/javahelp-bin-2" + +S="${WORKDIR}/jCVS-${PV}" + +src_unpack() { + unpack ${A} + cd ${S}/bin + rm -f *.jar jars/*.jar + cd jars + java-pkg_jar-from sun-jaf-bin activation.jar + java-pkg_jar-from commons-logging commons-logging.jar + java-pkg_jar-from j2ssh j2ssh-common.jar + java-pkg_jar-from j2ssh j2ssh-core.jar + java-pkg_jar-from javahelp-bin jh.jar + + cd ${S} + cp ${FILESDIR}/build.xml . + cp ${FILESDIR}/MANIFEST.MF . +} + +src_compile() { + # not possible to compile the source code with jikes. + ant jar || die "failed to build" +} + +src_install() { + java-pkg_dojar bin/jcvsii.jar + + echo "#!/bin/sh" > ${PN} + echo "java -cp \$(java-config -p commons-logging,jcvs,sun-jaf-bin,j2ssh,javahelp-bin) com.ice.jcvsii.JCVS" >> ${PN} + dobin ${PN} + + use doc && java-pkg_dohtml -r doc/api/* + dodoc doc/lgpl.html doc/license.html doc/relnotes/* +} |