From: Petteri Räty Date: Thu, 25 Jan 2007 20:04:42 +0000 (+0000) Subject: Initial addition. Original ebuild by Iván Pérez Domínguez and then improved by myself. Fixes bug #145938. Package-Manager: portage-2.1.2-r4 --- diff --git a/dev-java/rundoc/ChangeLog b/dev-java/rundoc/ChangeLog new file mode 100644 index 000000000000..b19412808aee --- /dev/null +++ b/dev-java/rundoc/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-java/rundoc +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/rundoc/ChangeLog,v 1.1 2007/01/25 20:04:42 betelgeuse Exp $ + +*rundoc-0.11 (25 Jan 2007) + + 25 Jan 2007; Petteri Räty +metadata.xml, + +rundoc-0.11.ebuild: + Initial addition. Original ebuild by Iván Pérez Domínguez + and then improved by myself. Fixes bug #145938. + diff --git a/dev-java/rundoc/files/digest-rundoc-0.11 b/dev-java/rundoc/files/digest-rundoc-0.11 new file mode 100644 index 000000000000..2c4f692fa9ba --- /dev/null +++ b/dev-java/rundoc/files/digest-rundoc-0.11 @@ -0,0 +1,3 @@ +MD5 86772ca64bf23559339373663aa07c05 rundoc-0.11-src.tar.gz 26109 +RMD160 990c2dc423bd00005e5484407cf505e6df9268d0 rundoc-0.11-src.tar.gz 26109 +SHA256 e123a38260df24f7641c3c0b5164be810ba6770d14d546d60b09a55e86333bc1 rundoc-0.11-src.tar.gz 26109 diff --git a/dev-java/rundoc/metadata.xml b/dev-java/rundoc/metadata.xml new file mode 100644 index 000000000000..1eee4a6024e9 --- /dev/null +++ b/dev-java/rundoc/metadata.xml @@ -0,0 +1,12 @@ + + + + java + + + rundoc is an Ant task designed to help with the single-sourcing of + program documentation. This task replaces special commands embedded + within text files with their output in a specified format. Currently, + only docbook format is supported. + + diff --git a/dev-java/rundoc/rundoc-0.11.ebuild b/dev-java/rundoc/rundoc-0.11.ebuild new file mode 100644 index 000000000000..c126d7afcd7a --- /dev/null +++ b/dev-java/rundoc/rundoc-0.11.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/rundoc/rundoc-0.11.ebuild,v 1.1 2007/01/25 20:04:42 betelgeuse Exp $ + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="A Ant helper task for keeping documentation in source files" +HOMEPAGE="http://www.martiansoftware.com/lab/index.html" +SRC_URI="http://www.martiansoftware.com/lab/${PN}/${P}-src.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~x86" +IUSE="doc source" + +COMMON_DEP=">=dev-java/ant-core-1.5.4" +RDEPEND=">=virtual/jre-1.4 + ${COMMON_DEP}" +DEPEND=">=virtual/jdk-1.4 + ${COMMON_DEP}" + +src_unpack() { + unpack ${A} + cd "${S}" + rm -v *.jar + java-ant_rewrite-classpath +} + +EANT_GENTOO_CLASSPATH="ant-core" + +src_install() { + java-pkg_newjar dist/${P}.jar ${PN}.jar + dodir /usr/share/ant-core/lib + dosym /usr/share/${PN}/lib/${PN}.jar /usr/share/ant-core/lib/${PN}.jar + + use doc && java-pkg_dojavadoc javadoc + use source && java-pkg_dosrc src/java/com +} +