From 0d13a0cbe52b9566b3ce0a31378b01b636e204f7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Petteri=20R=C3=A4ty?= Date: Thu, 25 Jan 2007 20:04:42 +0000 Subject: [PATCH] =?utf8?q?Initial=20addition.=20Original=20ebuild=20by=20I?= =?utf8?q?v=C3=A1n=20P=C3=A9rez=20Dom=C3=ADnguez=20=20and=20then=20improved=20by=20myself.=20Fixes=20bug=20#145?= =?utf8?q?938.=20Package-Manager:=20portage-2.1.2-r4?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- dev-java/rundoc/ChangeLog | 11 +++++++ dev-java/rundoc/files/digest-rundoc-0.11 | 3 ++ dev-java/rundoc/metadata.xml | 12 ++++++++ dev-java/rundoc/rundoc-0.11.ebuild | 39 ++++++++++++++++++++++++ 4 files changed, 65 insertions(+) create mode 100644 dev-java/rundoc/ChangeLog create mode 100644 dev-java/rundoc/files/digest-rundoc-0.11 create mode 100644 dev-java/rundoc/metadata.xml create mode 100644 dev-java/rundoc/rundoc-0.11.ebuild 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 +} + -- 2.26.2