summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerkan Kaba <serkan@gentoo.org>2010-03-05 17:50:54 +0000
committerSerkan Kaba <serkan@gentoo.org>2010-03-05 17:50:54 +0000
commitacc3cf5051b1b6279ce1bc552b592a8bce632749 (patch)
tree2069ee0f5e75465307477fa0b6147dc997c48acd
parentPatch by Nikos Chantziaras to pull in emul-linux-x86-sdl on amd64 multilib sy... (diff)
downloadhistorical-acc3cf5051b1b6279ce1bc552b592a8bce632749.tar.gz
historical-acc3cf5051b1b6279ce1bc552b592a8bce632749.tar.bz2
historical-acc3cf5051b1b6279ce1bc552b592a8bce632749.zip
Move to dev-vcs
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64 RepoMan-Options: --force
-rw-r--r--dev-vcs/statcvs/ChangeLog40
-rw-r--r--dev-vcs/statcvs/Manifest11
-rw-r--r--dev-vcs/statcvs/files/statcvs-0.4.0-build.xml.patch16
-rw-r--r--dev-vcs/statcvs/files/statcvs-0.4.0-external-jtreemap.patch40
-rw-r--r--dev-vcs/statcvs/files/statcvs-0.4.0-r1-build.xml.patch24
-rw-r--r--dev-vcs/statcvs/files/statcvs-0.5.0-build.xml.patch24
-rw-r--r--dev-vcs/statcvs/metadata.xml8
-rw-r--r--dev-vcs/statcvs/statcvs-0.4.0-r1.ebuild71
-rw-r--r--dev-vcs/statcvs/statcvs-0.4.0.ebuild69
-rw-r--r--dev-vcs/statcvs/statcvs-0.5.0.ebuild68
10 files changed, 371 insertions, 0 deletions
diff --git a/dev-vcs/statcvs/ChangeLog b/dev-vcs/statcvs/ChangeLog
new file mode 100644
index 000000000000..56f0d6e78ec8
--- /dev/null
+++ b/dev-vcs/statcvs/ChangeLog
@@ -0,0 +1,40 @@
+# ChangeLog for dev-vcs/statcvs
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/statcvs/ChangeLog,v 1.1 2010/03/05 17:50:54 serkan Exp $
+
+ 05 Mar 2010; Serkan Kaba <serkan@gentoo.org> +statcvs-0.4.0.ebuild,
+ +statcvs-0.4.0-r1.ebuild, +files/statcvs-0.4.0-build.xml.patch,
+ +files/statcvs-0.4.0-external-jtreemap.patch,
+ +files/statcvs-0.4.0-r1-build.xml.patch, +statcvs-0.5.0.ebuild,
+ +files/statcvs-0.5.0-build.xml.patch, +metadata.xml:
+ Move to dev-vcs
+
+ 11 Feb 2010; Christian Faulhammer <fauli@gentoo.org> statcvs-0.5.0.ebuild:
+ stable x86, bug 275182
+
+ 15 Jan 2010; Christian Faulhammer <fauli@gentoo.org> statcvs-0.5.0.ebuild:
+ Transfer Prefix keywords
+
+*statcvs-0.5.0 (11 May 2009)
+
+ 11 May 2009; Serkan Kaba <serkan@gentoo.org> +statcvs-0.5.0.ebuild,
+ +files/statcvs-0.5.0-build.xml.patch:
+ Version bump.
+
+*statcvs-0.4.0-r1 (27 Jan 2009)
+
+ 27 Jan 2009; Serkan Kaba <serkan@gentoo.org>
+ +files/statcvs-0.4.0-r1-build.xml.patch, +statcvs-0.4.0-r1.ebuild:
+ Revbump to add missing ant-core dependency.
+
+ 05 Jan 2009; Markus Meier <maekke@gentoo.org> statcvs-0.4.0.ebuild:
+ amd64/x86 stable, bug #253359
+
+*statcvs-0.4.0 (03 Oct 2008)
+
+ 03 Oct 2008; Serkan Kaba <serkan@gentoo.org>
+ +files/statcvs-0.4.0-build.xml.patch,
+ +files/statcvs-0.4.0-external-jtreemap.patch, +metadata.xml,
+ +statcvs-0.4.0.ebuild:
+ Initial version. Fixes bug #156848.
+
diff --git a/dev-vcs/statcvs/Manifest b/dev-vcs/statcvs/Manifest
new file mode 100644
index 000000000000..828b023c7e8b
--- /dev/null
+++ b/dev-vcs/statcvs/Manifest
@@ -0,0 +1,11 @@
+AUX statcvs-0.4.0-build.xml.patch 687 RMD160 de3ce8e153ccd756361f7d0a6d7c83151dcb5ae1 SHA1 b2424c2c957022546741b63b6f47e1f01ad0a9c2 SHA256 a7fb86f3eea8d2be4c7f3555f4cef54b1ce40a85668c702d29102ea8725177c3
+AUX statcvs-0.4.0-external-jtreemap.patch 2283 RMD160 8b7b4f4d7574695bceca7933298c2568fef338a8 SHA1 565500ea4ec36ef7703db84bc29467f345c9e427 SHA256 260527e5bd8d584888d30c8b9671342a941e671750aaee2a0e6bfe77b00653ea
+AUX statcvs-0.4.0-r1-build.xml.patch 953 RMD160 4656e4e17876fa491556863ad5a2080a4266cbca SHA1 14ed69e672561bcf1f2ed0aadbaceeaed2f9444a SHA256 be37b0099db6557f0e471e2e19612bea413c7211ea381d0c586f903cb34f4810
+AUX statcvs-0.5.0-build.xml.patch 1004 RMD160 6f4079c61231dcde6980134c3981da7de1db2079 SHA1 e2c144285d5e05ef5746f62db20ace99ef5de004 SHA256 306e0419163deb2cd352ec5f7d055a509a4bb286a01c768b53abd02e2bd6ce96
+DIST statcvs-0.4.0-source.zip 8745997 RMD160 6eb0ed26a673c210edda543248e593d3ec3c0a41 SHA1 b5c0395bd51685ee0999d8105a2562de7d82329f SHA256 05b046a3dbb7a4846b8bd7ab37ed72ccf168ebb7ef6289ba8551ed85418cab00
+DIST statcvs-0.5.0-source.zip 7720283 RMD160 1a2b67e1cbab71d12a4f97606b9e39acc4911072 SHA1 e7607405c45fb7026216768209271baef86cbfd9 SHA256 3f41f6a0fd0948a5c9096a6aa040d56da784e98a6657f4911c5f78817e6985be
+EBUILD statcvs-0.4.0-r1.ebuild 1757 RMD160 197e823c5ffa4600935409ec24e17b3a8670cc04 SHA1 7f58d8270e4b7847ce70836c3651af6c56ac258f SHA256 633e42c944f565a638b8d725469d948b163e2006b6a6a9bc75414bd2e85b96fe
+EBUILD statcvs-0.4.0.ebuild 1694 RMD160 f46842700093aed8fb00f36a1377b8a7fafb9f62 SHA1 6e686bc3745e475338b23383de1b852641285c34 SHA256 a3f114adce0c0078aaca1b93ed8a0a3cfb6a77bd9570bd19b819f46a5cafa65d
+EBUILD statcvs-0.5.0.ebuild 1762 RMD160 6fa23915ba36d5ec5be820095a9311d78a7cc8c6 SHA1 126b4a347de40905b50cc661d38ece1913485422 SHA256 4453ac175629ad4527e22d31b921a8ee5de91b6bbfadee7dda48ad05a8ab5813
+MISC ChangeLog 1435 RMD160 851b842e89e2cd7e72439713686b1dc03fedd275 SHA1 32a91732322266d2d967e1b93effd2a9fedcd431 SHA256 750062bbbfde2616814c47020d06f38b365d170e6e951b63bfd61f2fc13b96ec
+MISC metadata.xml 217 RMD160 6a03b58e975ef9766c1ba359b8cf73372aae1409 SHA1 9661e29f710f8b88d1ebad0d7cfa2716ae869b51 SHA256 00a5772b0da0819b665dba21d321e4e2393c818907d38678d179cafd5036c7f2
diff --git a/dev-vcs/statcvs/files/statcvs-0.4.0-build.xml.patch b/dev-vcs/statcvs/files/statcvs-0.4.0-build.xml.patch
new file mode 100644
index 000000000000..66b8d291dcfc
--- /dev/null
+++ b/dev-vcs/statcvs/files/statcvs-0.4.0-build.xml.patch
@@ -0,0 +1,16 @@
+diff -Nur statcvs-0.4.0/build.xml statcvs-0.4.0_patched/build.xml
+--- statcvs-0.4.0/build.xml 2008-04-21 18:33:32.000000000 +0300
++++ statcvs-0.4.0_patched/build.xml 2008-09-19 22:22:32.000000000 +0300
+@@ -148,11 +148,8 @@
+ </classpath>
+ </java>
+ </target>
+- <target name="jar" depends="test">
++ <target name="jar">
+ <!-- Creates an executable jar file for the project -->
+- <unjar src="${lib}/${jfreechart.jar}" dest="${build}" />
+- <unjar src="${lib}/${jcommon.jar}" dest="${build}" />
+- <unjar src="${lib}/jdom.jar" dest="${build}" />
+ <mkdir dir="${dist}" />
+ <jar jarfile="${dist}/${project.jar}" basedir="${build}">
+ <manifest>
diff --git a/dev-vcs/statcvs/files/statcvs-0.4.0-external-jtreemap.patch b/dev-vcs/statcvs/files/statcvs-0.4.0-external-jtreemap.patch
new file mode 100644
index 000000000000..cd0c5ed773b6
--- /dev/null
+++ b/dev-vcs/statcvs/files/statcvs-0.4.0-external-jtreemap.patch
@@ -0,0 +1,40 @@
+diff -Nur statcvs-0.4.0/src/net/sf/statcvs/output/RepoMapPageMaker.java statcvs-0.4.0_patched/src/net/sf/statcvs/output/RepoMapPageMaker.java
+--- statcvs-0.4.0/src/net/sf/statcvs/output/RepoMapPageMaker.java 2008-04-14 21:35:00.000000000 +0300
++++ statcvs-0.4.0_patched/src/net/sf/statcvs/output/RepoMapPageMaker.java 2008-09-20 20:46:05.000000000 +0300
+@@ -20,7 +20,8 @@
+ package net.sf.statcvs.output;
+
+ import java.io.BufferedWriter;
+-import java.io.File;
++import java.io.File;
++import java.io.FileInputStream;
+ import java.io.FileWriter;
+ import java.io.IOException;
+ import java.io.InputStream;
+@@ -92,7 +93,7 @@
+ }
+
+ private String getApplet() {
+- return "<applet archive=\"./" + Messages.getString("JTREEMAP_JAR") + "\" code=\"net.sf.jtreemap.swing.example.JTreeMapAppletExample\""
++ return "<applet archive=\"./jtreemap.jar\" code=\"net.sf.jtreemap.swing.example.JTreeMapAppletExample\""
+ + " width=\"940\" height=\"600\"><param name=\"dataFile\" value=\"" + REPO_FILE + "\"/>" + "<param name=\"viewTree\" value=\"true\"/>"
+ + "<param name=\"showWeight\" value=\"true\"/>" + "<param name=\"valuePrefix\" value=\"Change:\"/>"
+ + "<param name=\"weightPrefix\" value=\"LOC:\"/>" + "<param name=\"dataFileType\" value=\"xml\"/>"
+@@ -102,7 +103,7 @@
+ private void buildXmlForJTreeMap() {
+ BufferedWriter out = null;
+ try {
+- copyJar(Messages.getString("JTREEMAP_JAR"));
++ copyJar("jtreemap.jar");
+ out = new BufferedWriter(new FileWriter(ConfigurationOptions.getOutputDir() + REPO_FILE));
+ out.write("<?xml version='1.0' encoding='ISO-8859-1'?>\n");
+ // out.append("<!DOCTYPE root SYSTEM \"TreeMap.dtd\" >\n");
+@@ -129,7 +130,7 @@
+ private void copyJar(final String jtreemapJar) throws IOException {
+ InputStream stream = null;
+ try {
+- stream = RepoMapPageMaker.class.getResourceAsStream(WEB_FILE_PATH + jtreemapJar);
++ stream = new FileInputStream("/usr/share/jtreemap/lib/" + jtreemapJar);
+ if (stream != null) {
+ FileUtils.copyFile(stream, new File(ConfigurationOptions.getOutputDir() + jtreemapJar));
+ } else {
diff --git a/dev-vcs/statcvs/files/statcvs-0.4.0-r1-build.xml.patch b/dev-vcs/statcvs/files/statcvs-0.4.0-r1-build.xml.patch
new file mode 100644
index 000000000000..4053feea04aa
--- /dev/null
+++ b/dev-vcs/statcvs/files/statcvs-0.4.0-r1-build.xml.patch
@@ -0,0 +1,24 @@
+diff -Nur statcvs-0.4.0/build.xml statcvs-0.4.0_patched/build.xml
+--- statcvs-0.4.0/build.xml 2008-04-21 18:33:32.000000000 +0300
++++ statcvs-0.4.0_patched/build.xml 2009-01-28 00:21:06.000000000 +0200
+@@ -19,7 +19,6 @@
+ <property name="cvs.log" value="cvs.log" />
+ <property environment="env" />
+ <path id="project.class.path">
+- <pathelement path="${java.class.path}" />
+ <fileset dir="${lib}">
+ <include name="**/*.jar" />
+ </fileset>
+@@ -148,11 +147,8 @@
+ </classpath>
+ </java>
+ </target>
+- <target name="jar" depends="test">
++ <target name="jar">
+ <!-- Creates an executable jar file for the project -->
+- <unjar src="${lib}/${jfreechart.jar}" dest="${build}" />
+- <unjar src="${lib}/${jcommon.jar}" dest="${build}" />
+- <unjar src="${lib}/jdom.jar" dest="${build}" />
+ <mkdir dir="${dist}" />
+ <jar jarfile="${dist}/${project.jar}" basedir="${build}">
+ <manifest>
diff --git a/dev-vcs/statcvs/files/statcvs-0.5.0-build.xml.patch b/dev-vcs/statcvs/files/statcvs-0.5.0-build.xml.patch
new file mode 100644
index 000000000000..c049cdeda9d8
--- /dev/null
+++ b/dev-vcs/statcvs/files/statcvs-0.5.0-build.xml.patch
@@ -0,0 +1,24 @@
+diff -Nur statcvs-0.5.0/build.xml statcvs-0.5.0_patched/build.xml
+--- statcvs-0.5.0/build.xml 2009-05-09 21:33:32.000000000 +0300
++++ statcvs-0.5.0_patched/build.xml 2009-05-11 22:29:19.000000000 +0300
+@@ -19,7 +19,6 @@
+ <property name="cvs.log" value="cvs.log" />
+ <property environment="env" />
+ <path id="project.class.path">
+- <pathelement path="${java.class.path}" />
+ <fileset dir="${lib}">
+ <include name="**/*.jar" />
+ </fileset>
+@@ -149,11 +148,8 @@
+ </java>
+ </target>
+ <target name="release" depends="clean,jar,javadoc,zip,zip.source"/>
+- <target name="jar" depends="test">
++ <target name="jar">
+ <!-- Creates an executable jar file for the project -->
+- <unjar src="${lib}/${jfreechart.jar}" dest="${build}" />
+- <unjar src="${lib}/${jcommon.jar}" dest="${build}" />
+- <unjar src="${lib}/jdom.jar" dest="${build}" />
+ <mkdir dir="${dist}" />
+ <jar jarfile="${dist}/${project.jar}" basedir="${build}">
+ <manifest>
diff --git a/dev-vcs/statcvs/metadata.xml b/dev-vcs/statcvs/metadata.xml
new file mode 100644
index 000000000000..407583277d87
--- /dev/null
+++ b/dev-vcs/statcvs/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>java</herd>
+<maintainer>
+ <email>java@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/dev-vcs/statcvs/statcvs-0.4.0-r1.ebuild b/dev-vcs/statcvs/statcvs-0.4.0-r1.ebuild
new file mode 100644
index 000000000000..4b900b12831b
--- /dev/null
+++ b/dev-vcs/statcvs/statcvs-0.4.0-r1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/statcvs/statcvs-0.4.0-r1.ebuild,v 1.1 2010/03/05 17:50:54 serkan Exp $
+
+EAPI=1
+JAVA_PKG_IUSE="doc source test"
+
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="StatCVS generates HTML reports from CVS repository logs."
+HOMEPAGE="http://statcvs.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}-source.zip"
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+COMMON_DEPEND="
+ dev-java/jcommon:1.0
+ dev-java/jfreechart:1.0
+ dev-java/jdom:1.0
+ dev-java/ant-core:0"
+
+DEPEND=">=virtual/jdk-1.4
+ app-arch/unzip
+ test? ( dev-java/ant-junit:0 )
+ ${COMMON_DEPEND}"
+
+RDEPEND=">=virtual/jre-1.4
+ dev-util/cvs
+ dev-java/jtreemap:0
+ ${COMMON_DEPEND}"
+
+EANT_BUILD_TARGET="compile copyfiles jar"
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}" || die
+ epatch "${FILESDIR}"/${PF}-build.xml.patch
+ epatch "${FILESDIR}"/${P}-external-jtreemap.patch
+
+ einfo "Removing bundled jars."
+ find . -name "*.jar" -print -delete
+
+ cd "${S}"/lib || die
+ java-pkg_jar-from jcommon-1.0 jcommon.jar jcommon-1.0.6.jar
+ java-pkg_jar-from jfreechart-1.0 jfreechart.jar jfreechart-1.0.3.jar
+ java-pkg_jar-from jdom-1.0 jdom.jar
+ java-pkg_jar-from ant-core ant.jar
+}
+
+src_install() {
+ java-pkg_dojar dist/${PN}.jar
+ java-pkg_dolauncher ${PN} --main net.sf.statcvs.Main
+
+ use doc && java-pkg_dohtml -r doc/*
+ use source && java-pkg_dosrc src/net
+}
+
+src_test() {
+ java-pkg_jar-from --into lib junit
+ ANT_TASKS="ant-junit" eant test
+}
+
+pkg_postinst() {
+ elog "For instructions on how to use StatCVS see"
+ elog "http://statcvs.sourceforge.net/manual/"
+ elog "You need to regenerate statistics"
+ elog "if you update dev-java/jtreemap"
+}
diff --git a/dev-vcs/statcvs/statcvs-0.4.0.ebuild b/dev-vcs/statcvs/statcvs-0.4.0.ebuild
new file mode 100644
index 000000000000..86c4889b4f96
--- /dev/null
+++ b/dev-vcs/statcvs/statcvs-0.4.0.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/statcvs/statcvs-0.4.0.ebuild,v 1.1 2010/03/05 17:50:54 serkan Exp $
+
+EAPI=1
+JAVA_PKG_IUSE="doc source test"
+
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="StatCVS generates HTML reports from CVS repository logs."
+HOMEPAGE="http://statcvs.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}-source.zip"
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+COMMON_DEPEND="
+ dev-java/jcommon:1.0
+ dev-java/jfreechart:1.0
+ dev-java/jdom:1.0"
+
+DEPEND=">=virtual/jdk-1.4
+ app-arch/unzip
+ test? ( dev-java/ant-junit:0 )
+ ${COMMON_DEPEND}"
+
+RDEPEND=">=virtual/jre-1.4
+ dev-util/cvs
+ dev-java/jtreemap:0
+ ${COMMON_DEPEND}"
+
+EANT_BUILD_TARGET="compile copyfiles jar"
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}" || die
+ epatch "${FILESDIR}"/${P}-build.xml.patch
+ epatch "${FILESDIR}"/${P}-external-jtreemap.patch
+
+ einfo "Removing bundled jars."
+ find . -name "*.jar" -print -delete
+
+ cd "${S}"/lib || die
+ java-pkg_jar-from jcommon-1.0 jcommon.jar jcommon-1.0.6.jar
+ java-pkg_jar-from jfreechart-1.0 jfreechart.jar jfreechart-1.0.3.jar
+ java-pkg_jar-from jdom-1.0 jdom.jar
+}
+
+src_install() {
+ java-pkg_dojar dist/${PN}.jar
+ java-pkg_dolauncher ${PN} --main net.sf.statcvs.Main
+
+ use doc && java-pkg_dohtml -r doc/*
+ use source && java-pkg_dosrc src/net
+}
+
+src_test() {
+ java-pkg_jar-from --into lib junit
+ ANT_TASKS="ant-junit" eant test
+}
+
+pkg_postinst() {
+ elog "For instructions on how to use StatCVS see"
+ elog "http://statcvs.sourceforge.net/manual/"
+ elog "You need to regenerate statistics"
+ elog "if you update dev-java/jtreemap"
+}
diff --git a/dev-vcs/statcvs/statcvs-0.5.0.ebuild b/dev-vcs/statcvs/statcvs-0.5.0.ebuild
new file mode 100644
index 000000000000..9ef3c53ebe65
--- /dev/null
+++ b/dev-vcs/statcvs/statcvs-0.5.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/statcvs/statcvs-0.5.0.ebuild,v 1.1 2010/03/05 17:50:54 serkan Exp $
+
+EAPI=2
+JAVA_PKG_IUSE="doc source test"
+
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="StatCVS generates HTML reports from CVS repository logs."
+HOMEPAGE="http://statcvs.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}-source.zip"
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+COMMON_DEPEND="
+ dev-java/jcommon:1.0
+ >=dev-java/jfreechart-1.0.11:1.0
+ dev-java/jdom:1.0
+ dev-java/ant-core:0"
+
+DEPEND=">=virtual/jdk-1.4
+ app-arch/unzip
+ test? ( dev-java/ant-junit:0 )
+ ${COMMON_DEPEND}"
+
+RDEPEND=">=virtual/jre-1.4
+ dev-util/cvs
+ dev-java/jtreemap:0
+ ${COMMON_DEPEND}"
+
+EANT_BUILD_TARGET="compile copyfiles jar"
+
+java_prepare() {
+ epatch "${FILESDIR}"/${P}-build.xml.patch
+ epatch "${FILESDIR}"/${PN}-0.4.0-external-jtreemap.patch
+
+ einfo "Removing bundled jars."
+ find . -name "*.jar" -print -delete
+
+ cd "${S}"/lib || die
+ java-pkg_jar-from jcommon-1.0 jcommon.jar jcommon-1.0.6.jar
+ java-pkg_jar-from jfreechart-1.0 jfreechart.jar jfreechart-1.0.3.jar
+ java-pkg_jar-from jdom-1.0 jdom.jar
+ java-pkg_jar-from ant-core ant.jar
+}
+
+src_install() {
+ java-pkg_dojar dist/${PN}.jar
+ java-pkg_dolauncher ${PN} --main net.sf.statcvs.Main
+
+ use doc && java-pkg_dohtml -r doc/*
+ use source && java-pkg_dosrc src/net
+}
+
+src_test() {
+ java-pkg_jar-from --into lib junit
+ ANT_TASKS="ant-junit" eant test
+}
+
+pkg_postinst() {
+ elog "For instructions on how to use StatCVS see"
+ elog "http://statcvs.sourceforge.net/manual/"
+ elog "You need to regenerate statistics"
+ elog "if you update dev-java/jtreemap"
+}