moved from dev-util/jcvs-bin, now builds from source, submitted by Jan Brinkmann...
authorThomas Matthijs <axxo@gentoo.org>
Sun, 14 Nov 2004 15:22:29 +0000 (15:22 +0000)
committerThomas Matthijs <axxo@gentoo.org>
Sun, 14 Nov 2004 15:22:29 +0000 (15:22 +0000)
dev-util/jcvs/ChangeLog [new file with mode: 0644]
dev-util/jcvs/Manifest [new file with mode: 0644]
dev-util/jcvs/files/MANIFEST.MF [new file with mode: 0644]
dev-util/jcvs/files/build.xml [new file with mode: 0644]
dev-util/jcvs/files/digest-jcvs-5.4.2 [new file with mode: 0644]
dev-util/jcvs/jcvs-5.4.2.ebuild [new file with mode: 0644]

diff --git a/dev-util/jcvs/ChangeLog b/dev-util/jcvs/ChangeLog
new file mode 100644 (file)
index 0000000..f41d447
--- /dev/null
@@ -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 (file)
index 0000000..f7afb2f
--- /dev/null
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 68cacca87b59dca0b25436f8f96e3a36 jcvs-5.4.2.ebuild 1574
+MD5 37738937bbfe4ba9e8998c38c1d68b8f ChangeLog 444
+MD5 6a02d202407141d460b688f1864631e8 files/digest-jcvs-5.4.2 62
+MD5 2f143ca8baaf367e3232b727a33f1b8b files/MANIFEST.MF 56
+MD5 a02de83b7550636d4dc89a7ec266a9f5 files/build.xml 969
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.2.6 (GNU/Linux)
+
+iD8DBQFBl3hH/rLF9B432nYRAn+DAKCpEowFp4h4lLZrT2oXpu9mo+8ACwCgo8yU
+3dW4noyy6KR4nU/W1K37jlc=
+=LWUK
+-----END PGP SIGNATURE-----
diff --git a/dev-util/jcvs/files/MANIFEST.MF b/dev-util/jcvs/files/MANIFEST.MF
new file mode 100644 (file)
index 0000000..ff46bc7
--- /dev/null
@@ -0,0 +1,2 @@
+Manifest-Version: 1.0\r
+Main-Class: com.ice.jcvsii.JCVS\r
diff --git a/dev-util/jcvs/files/build.xml b/dev-util/jcvs/files/build.xml
new file mode 100644 (file)
index 0000000..eca1b5e
--- /dev/null
@@ -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 (file)
index 0000000..05a5401
--- /dev/null
@@ -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 (file)
index 0000000..7758f61
--- /dev/null
@@ -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/*
+}