Initial addition. Original ebuild by Iván Pérez Domínguez <iperez@babel.ls.fi.upm...
authorPetteri Räty <betelgeuse@gentoo.org>
Thu, 25 Jan 2007 20:04:42 +0000 (20:04 +0000)
committerPetteri Räty <betelgeuse@gentoo.org>
Thu, 25 Jan 2007 20:04:42 +0000 (20:04 +0000)
Package-Manager: portage-2.1.2-r4

dev-java/rundoc/ChangeLog [new file with mode: 0644]
dev-java/rundoc/files/digest-rundoc-0.11 [new file with mode: 0644]
dev-java/rundoc/metadata.xml [new file with mode: 0644]
dev-java/rundoc/rundoc-0.11.ebuild [new file with mode: 0644]

diff --git a/dev-java/rundoc/ChangeLog b/dev-java/rundoc/ChangeLog
new file mode 100644 (file)
index 0000000..b194128
--- /dev/null
@@ -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 <betelgeuse@gentoo.org> +metadata.xml,
+  +rundoc-0.11.ebuild:
+  Initial addition. Original ebuild by Iván Pérez Domínguez
+  <iperez@babel.ls.fi.upm.es> 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 (file)
index 0000000..2c4f692
--- /dev/null
@@ -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 (file)
index 0000000..1eee4a6
--- /dev/null
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <herd>java</herd>
+
+       <longdescription lang="en">
+               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.
+       </longdescription>
+</pkgmetadata>
diff --git a/dev-java/rundoc/rundoc-0.11.ebuild b/dev-java/rundoc/rundoc-0.11.ebuild
new file mode 100644 (file)
index 0000000..c126d7a
--- /dev/null
@@ -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
+}
+