diff options
author | Joshua Nichols <nichoj@gentoo.org> | 2006-08-25 01:29:41 +0000 |
---|---|---|
committer | Joshua Nichols <nichoj@gentoo.org> | 2006-08-25 01:29:41 +0000 |
commit | a5aad70cb05ac5967d9ea2f2aa65de59b5d2fa52 (patch) | |
tree | c0fccf420f6a4e788f56fe25f4b33614c94d7871 /dev-java/xjavadoc | |
parent | Fixed a stacktrace when /etc/env.d/20java doesn\'t exist, reported by Caster. (diff) | |
download | gentoo-2-a5aad70cb05ac5967d9ea2f2aa65de59b5d2fa52.tar.gz gentoo-2-a5aad70cb05ac5967d9ea2f2aa65de59b5d2fa52.tar.bz2 gentoo-2-a5aad70cb05ac5967d9ea2f2aa65de59b5d2fa52.zip |
Migrated to new Java system by Caster.
(Portage version: 2.1.1_pre5-r3)
Diffstat (limited to 'dev-java/xjavadoc')
-rw-r--r-- | dev-java/xjavadoc/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/xjavadoc/files/digest-xjavadoc-1.1 | 2 | ||||
-rw-r--r-- | dev-java/xjavadoc/files/digest-xjavadoc-1.1-r1 | 6 | ||||
-rw-r--r-- | dev-java/xjavadoc/files/xjavadoc-1.1-nojunit.patch | 27 | ||||
-rw-r--r-- | dev-java/xjavadoc/xjavadoc-1.1-r1.ebuild | 48 |
5 files changed, 91 insertions, 2 deletions
diff --git a/dev-java/xjavadoc/ChangeLog b/dev-java/xjavadoc/ChangeLog index 7b1901d27d95..3b81ca39b65c 100644 --- a/dev-java/xjavadoc/ChangeLog +++ b/dev-java/xjavadoc/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/xjavadoc -# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/xjavadoc/ChangeLog,v 1.4 2005/05/14 17:31:44 luckyduck Exp $ +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/xjavadoc/ChangeLog,v 1.5 2006/08/25 01:29:41 nichoj Exp $ + +*xjavadoc-1.1-r1 (25 Aug 2006) + + 25 Aug 2006; Joshua Nichols <nichoj@gentoo.org> + +files/xjavadoc-1.1-nojunit.patch, +xjavadoc-1.1-r1.ebuild: + Migrated to new Java system by Caster. 14 May 2005; Jan Brinkmann <luckyduck@gentoo.org> xjavadoc-1.1.ebuild: stable on amd64, ppc and x86 diff --git a/dev-java/xjavadoc/files/digest-xjavadoc-1.1 b/dev-java/xjavadoc/files/digest-xjavadoc-1.1 index f47912f89ccc..749be7604541 100644 --- a/dev-java/xjavadoc/files/digest-xjavadoc-1.1 +++ b/dev-java/xjavadoc/files/digest-xjavadoc-1.1 @@ -1,2 +1,4 @@ MD5 8e100543a384f2a9a464fb2ed3a19738 xjavadoc-1.1-src.zip 88567 MD5 78104b4f5a1c0aea57d63f0bd2823b98 xjavadoc-1.1-supplement.tar.bz2 458861 +RMD160 72cf2febdf681e2ee91a55cd907c439d2c085178 xjavadoc-1.1-supplement.tar.bz2 458861 +SHA256 e9f704c01f0891d386792821a7cf0cad0bcefb3af5b7f0c105a7db634526d16b xjavadoc-1.1-supplement.tar.bz2 458861 diff --git a/dev-java/xjavadoc/files/digest-xjavadoc-1.1-r1 b/dev-java/xjavadoc/files/digest-xjavadoc-1.1-r1 new file mode 100644 index 000000000000..3a5c4b7be3a3 --- /dev/null +++ b/dev-java/xjavadoc/files/digest-xjavadoc-1.1-r1 @@ -0,0 +1,6 @@ +MD5 0b63280ea4afe93dbc5219adc32e368d xjavadoc-1.1-src.tar.gz 58804 +RMD160 d4e468f62fefa220fde99d61310028f333ab6df3 xjavadoc-1.1-src.tar.gz 58804 +SHA256 dca21a4568f0ce349e797c4c942c788735f8e637d2a3305a781378b8b26a3c67 xjavadoc-1.1-src.tar.gz 58804 +MD5 78104b4f5a1c0aea57d63f0bd2823b98 xjavadoc-1.1-supplement.tar.bz2 458861 +RMD160 72cf2febdf681e2ee91a55cd907c439d2c085178 xjavadoc-1.1-supplement.tar.bz2 458861 +SHA256 e9f704c01f0891d386792821a7cf0cad0bcefb3af5b7f0c105a7db634526d16b xjavadoc-1.1-supplement.tar.bz2 458861 diff --git a/dev-java/xjavadoc/files/xjavadoc-1.1-nojunit.patch b/dev-java/xjavadoc/files/xjavadoc-1.1-nojunit.patch new file mode 100644 index 000000000000..8d50ae1427e4 --- /dev/null +++ b/dev-java/xjavadoc/files/xjavadoc-1.1-nojunit.patch @@ -0,0 +1,27 @@ +--- build.xml.orig 2004-10-03 11:15:32.000000000 +0200 ++++ build.xml 2006-08-21 16:44:57.000000000 +0200 +@@ -38,12 +38,6 @@ + <include name="**/package.html"/> + </fileset> + </copy> +- <copy todir="${build.dir}/junit"> +- <fileset dir="${basedir}/junit"> +- <include name="**/*.java"/> +- <include name="**/package.html"/> +- </fileset> +- </copy> + </target> + + <!-- =================================================================== --> +@@ -64,8 +58,8 @@ + <!-- =================================================================== --> + <!-- Makes the jar --> + <!-- =================================================================== --> +- <target name="jar" depends="junit"> +- <jar jarfile="${jardir}/xjavadoc-${version}.jar"> ++ <target name="jar" depends="compile"> ++ <jar jarfile="${jardir}/xjavadoc.jar"> + <fileset dir="${build.dir}/classes"> + <exclude name="**/*Test.class"/> + </fileset> + diff --git a/dev-java/xjavadoc/xjavadoc-1.1-r1.ebuild b/dev-java/xjavadoc/xjavadoc-1.1-r1.ebuild new file mode 100644 index 000000000000..a4e2094240c5 --- /dev/null +++ b/dev-java/xjavadoc/xjavadoc-1.1-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/xjavadoc/xjavadoc-1.1-r1.ebuild,v 1.1 2006/08/25 01:29:41 nichoj Exp $ + +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="A standalone implementation of JavaDoc engine suited for XDoclet" +HOMEPAGE="http://xdoclet.sourceforge.net/xjavadoc/" +SRC_URI="mirror://sourceforge/xdoclet/${P}-src.tar.gz + mirror://gentoo/${P}-supplement.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="source" + +COMMON_DEPEND="dev-java/commons-collections" + +RDEPEND=">=virtual/jre-1.4 + ${COMMON_DEPEND}" +# full ant needed for JJTree and JavaCC tasks, part of ant-nodeps.jar +DEPEND=">=virtual/jdk-1.4 + dev-java/ant + dev-java/javacc + ${COMMON_DEPEND} + source? ( app-arch/zip )" + +src_unpack() { + unpack ${A} + + cd ${S} + # remove the junit tests, would need xdoclet, causing circular dep + epatch ${FILESDIR}/${P}-nojunit.patch + + cd ${S}/lib + rm -f *.jar + java-pkg_jar-from commons-collections + java-pkg_jar-from --build-only javacc +} + +src_compile() { + eant jar +} + +src_install() { + java-pkg_dojar target/${PN}.jar + use source && java-pkg_dosrc ${S}/src/* +} |