summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Brinkmann <luckyduck@gentoo.org>2005-02-04 21:17:53 +0000
committerJan Brinkmann <luckyduck@gentoo.org>2005-02-04 21:17:53 +0000
commit94dc4d997e5225af799189a2487cbb363c04b20a (patch)
tree8336a11ad6c8421e4baf5ea570f3a97a5cc284f8 /dev-java/jcmdline
parentMaking initrd support actually work, thanks to mayday147 in http://forums.gen... (diff)
downloadhistorical-94dc4d997e5225af799189a2487cbb363c04b20a.tar.gz
historical-94dc4d997e5225af799189a2487cbb363c04b20a.tar.bz2
historical-94dc4d997e5225af799189a2487cbb363c04b20a.zip
Initial import, ebuild based on the one contributed by Scott Carr <scarr@progbits.com>. Fixes #80279
Package-Manager: portage-2.0.51-r15
Diffstat (limited to 'dev-java/jcmdline')
-rw-r--r--dev-java/jcmdline/ChangeLog8
-rw-r--r--dev-java/jcmdline/Manifest5
-rw-r--r--dev-java/jcmdline/files/digest-jcmdline-1.0.21
-rw-r--r--dev-java/jcmdline/files/jcmdline-1.0.2-gentoo.patch23
-rw-r--r--dev-java/jcmdline/jcmdline-1.0.2.ebuild40
-rw-r--r--dev-java/jcmdline/metadata.xml5
6 files changed, 82 insertions, 0 deletions
diff --git a/dev-java/jcmdline/ChangeLog b/dev-java/jcmdline/ChangeLog
new file mode 100644
index 000000000000..79f2a7df8557
--- /dev/null
+++ b/dev-java/jcmdline/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for dev-java/jcmdline
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jcmdline/ChangeLog,v 1.1 2005/02/04 21:17:53 luckyduck Exp $
+
+ 04 Feb 2005; Jan Brinkmann <luckyduck@gentoo.org> :
+ Initial import, ebuild based on the one contributed by Scott Carr
+ <scarr@progbits.com>. Fixes #80279
+
diff --git a/dev-java/jcmdline/Manifest b/dev-java/jcmdline/Manifest
new file mode 100644
index 000000000000..c1d462f0d31a
--- /dev/null
+++ b/dev-java/jcmdline/Manifest
@@ -0,0 +1,5 @@
+MD5 4d83b58dd4824c98e41a89516b47b1f2 jcmdline-1.0.2.ebuild 1115
+MD5 a50d319a53ad5edec2012c73185f25dc ChangeLog 370
+MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
+MD5 4eb850619e69f835d9d26b6685ee3579 files/jcmdline-1.0.2-gentoo.patch 934
+MD5 3383b9141420431bb690ac39ce8f2a1f files/digest-jcmdline-1.0.2 63
diff --git a/dev-java/jcmdline/files/digest-jcmdline-1.0.2 b/dev-java/jcmdline/files/digest-jcmdline-1.0.2
new file mode 100644
index 000000000000..446038445cd2
--- /dev/null
+++ b/dev-java/jcmdline/files/digest-jcmdline-1.0.2
@@ -0,0 +1 @@
+MD5 98cc38cdb68dabda2b626f9abc607025 jcmdline-1.0.2.zip 397472
diff --git a/dev-java/jcmdline/files/jcmdline-1.0.2-gentoo.patch b/dev-java/jcmdline/files/jcmdline-1.0.2-gentoo.patch
new file mode 100644
index 000000000000..c0e593eca335
--- /dev/null
+++ b/dev-java/jcmdline/files/jcmdline-1.0.2-gentoo.patch
@@ -0,0 +1,23 @@
+--- build.xml.orig 2005-02-04 22:07:21.800581304 +0100
++++ build.xml 2005-02-04 22:11:43.734761256 +0100
+@@ -170,6 +170,11 @@
+ <echo message="jcmdline Unit Test docs have been written to ${docdir}/jcmdline/utapi" />
+ </target>
+
++ <target name="jar" depends="build">
++ <jar jarfile="${basedir}/jcmdline.jar"
++ basedir="${builddir}/classes" />
++ </target>
++
+ <!-- Don't distribute anything that will not pass UTs -->
+ <target name="dist" depends="clean, ut, doc"
+ description="prepare distribution files">
+@@ -203,8 +208,6 @@
+ </copy>
+
+ <!-- add the jar =====================================================-->
+- <jar jarfile="${tmpDistBuildDir}/${projRelease}.jar"
+- basedir="${builddir}/classes" />
+
+ <!-- create a gzipped tarball for the Unix crowd =====================-->
+ <tar tarfile="${distdir}/${projRelease}.tar"
diff --git a/dev-java/jcmdline/jcmdline-1.0.2.ebuild b/dev-java/jcmdline/jcmdline-1.0.2.ebuild
new file mode 100644
index 000000000000..f71071337193
--- /dev/null
+++ b/dev-java/jcmdline/jcmdline-1.0.2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jcmdline/jcmdline-1.0.2.ebuild,v 1.1 2005/02/04 21:17:53 luckyduck Exp $
+
+inherit eutils java-pkg
+
+DESCRIPTION="This package facilitates parsing/handling of command line paramters with an aim at adding consistency across various applications."
+HOMEPAGE="http://jcmdline.sourceforge.net/"
+SRC_URI="mirror://sourceforge/jcmdline/${P}.zip"
+LICENSE="MPL-1.1"
+SLOT="1.0"
+KEYWORDS="~x86 ~amd64"
+IUSE="jikes doc"
+DEPEND=">=virtual/jdk-1.4
+ >=app-arch/unzip-5.50
+ >=dev-java/ant-core-1.4
+ jikes? ( >=dev-java/jikes-1.21 )"
+RDEPEND=">=virtual/jre-1.4"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ rm -f *.jar
+ epatch ${FILESDIR}/${P}-gentoo.patch
+}
+
+src_compile() {
+ local antflags="jar"
+ use doc && antflags="${antflags} doc"
+ use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
+ ant ${antflags} || die "Compilation failed"
+}
+
+src_install() {
+ java-pkg_dojar *.jar || die "Missing jars"
+
+ dodoc CHANGES CREDITS README
+ use doc && java-pkg_dohtml -r doc/jcmdline/api/*
+}
diff --git a/dev-java/jcmdline/metadata.xml b/dev-java/jcmdline/metadata.xml
new file mode 100644
index 000000000000..838c00a4a448
--- /dev/null
+++ b/dev-java/jcmdline/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>