diff options
author | Jan Brinkmann <luckyduck@gentoo.org> | 2005-04-03 02:47:53 +0000 |
---|---|---|
committer | Jan Brinkmann <luckyduck@gentoo.org> | 2005-04-03 02:47:53 +0000 |
commit | 2eadd32552ef5d27501b5c093e92dcfcc3ec0974 (patch) | |
tree | bd1c015794045633bc7196a07ff9ccfd0a5f4d2c /dev-java/xjavadoc | |
parent | version bump (diff) | |
download | historical-2eadd32552ef5d27501b5c093e92dcfcc3ec0974.tar.gz historical-2eadd32552ef5d27501b5c093e92dcfcc3ec0974.tar.bz2 historical-2eadd32552ef5d27501b5c093e92dcfcc3ec0974.zip |
Initial import, ebuild based on the contribution by Dan <dan@intuitivelyobvious.net>. Fixes #66727
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'dev-java/xjavadoc')
-rw-r--r-- | dev-java/xjavadoc/ChangeLog | 11 | ||||
-rw-r--r-- | dev-java/xjavadoc/Manifest | 15 | ||||
-rw-r--r-- | dev-java/xjavadoc/files/digest-xjavadoc-1.1 | 2 | ||||
-rw-r--r-- | dev-java/xjavadoc/files/xjavadoc-1.1-buildfile.patch | 26 | ||||
-rw-r--r-- | dev-java/xjavadoc/metadata.xml | 5 | ||||
-rw-r--r-- | dev-java/xjavadoc/xjavadoc-1.1.ebuild | 46 |
6 files changed, 105 insertions, 0 deletions
diff --git a/dev-java/xjavadoc/ChangeLog b/dev-java/xjavadoc/ChangeLog new file mode 100644 index 000000000000..05ae85d5726d --- /dev/null +++ b/dev-java/xjavadoc/ChangeLog @@ -0,0 +1,11 @@ +# 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.1 2005/04/03 02:47:53 luckyduck Exp $ + +*xjavadoc-1.1 (03 Apr 2005) + + 03 Apr 2005; Jan Brinkmann <luckyduck@gentoo.org> +metadata.xml, + +files/xjavadoc-1.1-buildfile.patch, +xjavadoc-1.1.ebuild: + Initial import, ebuild based on the contribution by Dan + <dan@intuitivelyobvious.net>. Fixes #66727 + diff --git a/dev-java/xjavadoc/Manifest b/dev-java/xjavadoc/Manifest new file mode 100644 index 000000000000..0e473ce96177 --- /dev/null +++ b/dev-java/xjavadoc/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 cdea9fe153181ce691b771501667e0b8 xjavadoc-1.1.ebuild 1075 +MD5 efbdcc93c8835880d70948eb46666738 ChangeLog 471 +MD5 123cf9440c1d4ac78f2caba1624765f9 metadata.xml 158 +MD5 ab072e0465aa3f0ab9c007d189415e06 files/xjavadoc-1.1-buildfile.patch 1094 +MD5 7abfbf5b533b28576460b9214237b58e files/digest-xjavadoc-1.1 140 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.0 (GNU/Linux) + +iD8DBQFCT1ln06ebR+OMO78RAqZpAJ9drcB2ohmYTY8/p/8WLtqqEh/XPQCghSwz +ySFdISRZGW9KOjKvvMFH+f0= +=02mt +-----END PGP SIGNATURE----- diff --git a/dev-java/xjavadoc/files/digest-xjavadoc-1.1 b/dev-java/xjavadoc/files/digest-xjavadoc-1.1 new file mode 100644 index 000000000000..f47912f89ccc --- /dev/null +++ b/dev-java/xjavadoc/files/digest-xjavadoc-1.1 @@ -0,0 +1,2 @@ +MD5 8e100543a384f2a9a464fb2ed3a19738 xjavadoc-1.1-src.zip 88567 +MD5 78104b4f5a1c0aea57d63f0bd2823b98 xjavadoc-1.1-supplement.tar.bz2 458861 diff --git a/dev-java/xjavadoc/files/xjavadoc-1.1-buildfile.patch b/dev-java/xjavadoc/files/xjavadoc-1.1-buildfile.patch new file mode 100644 index 000000000000..68845a1e9b1c --- /dev/null +++ b/dev-java/xjavadoc/files/xjavadoc-1.1-buildfile.patch @@ -0,0 +1,26 @@ +--- build.xml.orig 2005-04-03 04:24:07.000000000 +0200 ++++ build.xml 2005-04-03 04:31:17.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/metadata.xml b/dev-java/xjavadoc/metadata.xml new file mode 100644 index 000000000000..7303cef96964 --- /dev/null +++ b/dev-java/xjavadoc/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> diff --git a/dev-java/xjavadoc/xjavadoc-1.1.ebuild b/dev-java/xjavadoc/xjavadoc-1.1.ebuild new file mode 100644 index 000000000000..b4af83c6e70a --- /dev/null +++ b/dev-java/xjavadoc/xjavadoc-1.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/xjavadoc/xjavadoc-1.1.ebuild,v 1.1 2005/04/03 02:47:53 luckyduck Exp $ + +inherit eutils java-pkg + +DESCRIPTION="XDoclet is an extended Javadoc Doclet engine." +HOMEPAGE="http://xdoclet.sf.net/" +SRC_URI="mirror://sourceforge/xdoclet/${P}-src.zip + mirror://${P}-supplement.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="jikes source" + +DEPEND=">=virtual/jdk-1.4 + app-arch/unzip + >=dev-java/ant-core-1.6 + dev-java/javacc + jikes? ( dev-java/jikes ) + source? ( app-arch/zip )" +RDEPEND=">=virtual/jre-1.4" + +src_unpack() { + unpack ${A} + + cd ${S} + epatch ${FILESDIR}/${P}-buildfile.patch + + cd ${S}/lib + rm -f *.jar + java-pkg_jar-from commons-collections + java-pkg_jar-from javacc +} + +src_compile() { + local antflags="jar" + use jikes && antflags="${antflags} -Dbuild.compiler=jikes" + ant ${antflags} || die "compilation failed" +} + +src_install() { + java-pkg_dojar target/${PN}.jar + use source && java-pkg_dosrc ${S}/src/* +} |