summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2006-07-22 20:06:29 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2006-07-22 20:06:29 +0000
commitf54a75acab910395d5715822fde205d94fe0512f (patch)
tree07e68cd26799ef1b636d807200c2b40c5ccb96d0 /dev-java/jdepend
parentversion bump; set maintainer gentoo-vdr-project; cleanup old version (diff)
downloadgentoo-2-f54a75acab910395d5715822fde205d94fe0512f.tar.gz
gentoo-2-f54a75acab910395d5715822fde205d94fe0512f.tar.bz2
gentoo-2-f54a75acab910395d5715822fde205d94fe0512f.zip
Add java-ant-2.
(Portage version: 2.1.1_pre3-r3)
Diffstat (limited to 'dev-java/jdepend')
-rw-r--r--dev-java/jdepend/ChangeLog8
-rw-r--r--dev-java/jdepend/files/digest-jdepend-2.9-r23
-rw-r--r--dev-java/jdepend/jdepend-2.9-r2.ebuild40
3 files changed, 50 insertions, 1 deletions
diff --git a/dev-java/jdepend/ChangeLog b/dev-java/jdepend/ChangeLog
index 342d059eb2d0..9f063e6d2ce2 100644
--- a/dev-java/jdepend/ChangeLog
+++ b/dev-java/jdepend/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/jdepend
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jdepend/ChangeLog,v 1.29 2006/07/21 01:32:57 nichoj Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jdepend/ChangeLog,v 1.30 2006/07/22 20:06:29 nelchael Exp $
+
+*jdepend-2.9-r2 (22 Jul 2006)
+
+ 22 Jul 2006; Krzysiek Pawlik <nelchael@gentoo.org> -jdepend-2.9-r1.ebuild,
+ +jdepend-2.9-r2.ebuild:
+ Add java-ant-2.
*jdepend-2.9-r1 (21 Jul 2006)
diff --git a/dev-java/jdepend/files/digest-jdepend-2.9-r2 b/dev-java/jdepend/files/digest-jdepend-2.9-r2
new file mode 100644
index 000000000000..42e3faa4cb8f
--- /dev/null
+++ b/dev-java/jdepend/files/digest-jdepend-2.9-r2
@@ -0,0 +1,3 @@
+MD5 4e979c0dda766ba1dd719905ca975c7b jdepend-2.9.zip 302836
+RMD160 7a2cef8d6b0219fea48274334ea3aaaf6f543750 jdepend-2.9.zip 302836
+SHA256 202de62e2f3d0667cc464720d5897d0ccb29767ec24e0a4d4c5bd6c4d37425a4 jdepend-2.9.zip 302836
diff --git a/dev-java/jdepend/jdepend-2.9-r2.ebuild b/dev-java/jdepend/jdepend-2.9-r2.ebuild
new file mode 100644
index 000000000000..e17bf4e72f8b
--- /dev/null
+++ b/dev-java/jdepend/jdepend-2.9-r2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jdepend/jdepend-2.9-r2.ebuild,v 1.1 2006/07/22 20:06:29 nelchael Exp $
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="JDepend traverses Java class file directories and generates design quality metrics for each Java package."
+HOMEPAGE="http://www.clarkware.com/software/JDepend.html"
+SRC_URI="http://www.clarkware.com/software/${P}.zip"
+
+LICENSE="jdepend"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="doc source"
+
+DEPEND=">=virtual/jdk-1.3
+ >=app-arch/unzip-5.50-r1
+ >=dev-java/ant-core-1.4
+ source? ( app-arch/zip )"
+RDEPEND=">=virtual/jre-1.3"
+
+src_compile() {
+ eant jar
+}
+
+src_install() {
+ java-pkg_newjar dist/jdepend-2.9.jar
+ dodoc README
+
+ dodir /usr/share/ant-core/lib
+ dosym /usr/share/jdepend/lib/jdepend.jar /usr/share/ant-core/lib
+
+ if use doc; then
+ dohtml docs/JDepend.html
+ cp -r docs/api ${D}/usr/share/doc/${PF}/html
+ cp -r docs/images ${D}/usr/share/doc/${PF}/html
+ fi
+
+ use source && java-pkg_dosrc src/*
+}