--- /dev/null
+# 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.
+
--- /dev/null
+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
--- /dev/null
+<?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>
--- /dev/null
+# 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
+}
+