diff options
author | Jan Brinkmann <luckyduck@gentoo.org> | 2005-02-04 21:17:53 +0000 |
---|---|---|
committer | Jan Brinkmann <luckyduck@gentoo.org> | 2005-02-04 21:17:53 +0000 |
commit | 8652e1a42377b6fed73e2fba55e0abbd63c89161 (patch) | |
tree | 86dab002717010a7a5accf18463f63d1ff774364 /dev-java/jcmdline | |
parent | Making initrd support actually work, thanks to mayday147 in http://forums.gen... (diff) | |
download | gentoo-2-8652e1a42377b6fed73e2fba55e0abbd63c89161.tar.gz gentoo-2-8652e1a42377b6fed73e2fba55e0abbd63c89161.tar.bz2 gentoo-2-8652e1a42377b6fed73e2fba55e0abbd63c89161.zip |
Initial import, ebuild based on the one contributed by Scott Carr <scarr@progbits.com>. Fixes #80279
(Portage version: 2.0.51-r15)
Diffstat (limited to 'dev-java/jcmdline')
-rw-r--r-- | dev-java/jcmdline/ChangeLog | 8 | ||||
-rw-r--r-- | dev-java/jcmdline/Manifest | 2 | ||||
-rw-r--r-- | dev-java/jcmdline/files/digest-jcmdline-1.0.2 | 1 | ||||
-rw-r--r-- | dev-java/jcmdline/files/jcmdline-1.0.2-gentoo.patch | 23 | ||||
-rw-r--r-- | dev-java/jcmdline/jcmdline-1.0.2.ebuild | 40 | ||||
-rw-r--r-- | dev-java/jcmdline/metadata.xml | 5 |
6 files changed, 79 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..6b2880296cfe --- /dev/null +++ b/dev-java/jcmdline/Manifest @@ -0,0 +1,2 @@ +MD5 94c2386f58a6da49f1dec8866deea071 jcmdline-1.0.2.ebuild 1062 +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> |