summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Aniszczyk <zx@gentoo.org>2004-02-15 06:08:02 +0000
committerChris Aniszczyk <zx@gentoo.org>2004-02-15 06:08:02 +0000
commit536b3e6ae7ac58807f77d26e8eb942db7349e55f (patch)
tree58327f3551b0fa2996f07ab23a5b0ba67d09b706 /dev-util/pmd
parentInitial Import (diff)
downloadgentoo-2-536b3e6ae7ac58807f77d26e8eb942db7349e55f.tar.gz
gentoo-2-536b3e6ae7ac58807f77d26e8eb942db7349e55f.tar.bz2
gentoo-2-536b3e6ae7ac58807f77d26e8eb942db7349e55f.zip
Initial Import.
Diffstat (limited to 'dev-util/pmd')
-rw-r--r--dev-util/pmd/ChangeLog10
-rw-r--r--dev-util/pmd/Manifest2
-rw-r--r--dev-util/pmd/files/digest-pmd-1.51
-rw-r--r--dev-util/pmd/metadata.xml5
-rw-r--r--dev-util/pmd/pmd-1.5.ebuild31
5 files changed, 49 insertions, 0 deletions
diff --git a/dev-util/pmd/ChangeLog b/dev-util/pmd/ChangeLog
new file mode 100644
index 000000000000..405926b4ce60
--- /dev/null
+++ b/dev-util/pmd/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-util/pmd
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/pmd/ChangeLog,v 1.1 2004/02/15 06:08:02 zx Exp $
+
+*pmd-1.5 (15 Feb 2004)
+
+ 15 Feb 2004; Chris Aniszczyk <zx@gentoo.org> pmd-1.5.ebuild:
+ Initial Release.
+ Thanks to Robert Thomas <rwt@cc.gatech.edu> for the initial ebuild. Bug #28230
+
diff --git a/dev-util/pmd/Manifest b/dev-util/pmd/Manifest
new file mode 100644
index 000000000000..9014b97d8527
--- /dev/null
+++ b/dev-util/pmd/Manifest
@@ -0,0 +1,2 @@
+MD5 a4f125d7217329c7254a23b13371a73c pmd-1.5.ebuild 732
+MD5 f4fd6e2650f6d50125b3e546a7c0a54b files/digest-pmd-1.5 61
diff --git a/dev-util/pmd/files/digest-pmd-1.5 b/dev-util/pmd/files/digest-pmd-1.5
new file mode 100644
index 000000000000..bfb7722d8947
--- /dev/null
+++ b/dev-util/pmd/files/digest-pmd-1.5
@@ -0,0 +1 @@
+MD5 42ea293b551a7cebbc85fea0379a9f4e pmd-src-1.5.zip 5630923
diff --git a/dev-util/pmd/metadata.xml b/dev-util/pmd/metadata.xml
new file mode 100644
index 000000000000..838c00a4a448
--- /dev/null
+++ b/dev-util/pmd/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>java</herd>
+</pkgmetadata>
diff --git a/dev-util/pmd/pmd-1.5.ebuild b/dev-util/pmd/pmd-1.5.ebuild
new file mode 100644
index 000000000000..058268329777
--- /dev/null
+++ b/dev-util/pmd/pmd-1.5.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/pmd/pmd-1.5.ebuild,v 1.1 2004/02/15 06:08:02 zx Exp $
+
+inherit java-pkg
+
+DESCRIPTION="PMD is a Java source code analyzer. It finds unused variables, empty catch blocks, unnecessary object creation and so forth."
+HOMEPAGE="http://pmd.sourceforge.net"
+SRC_URI="mirror://sourceforge/pmd/${PN}-src-${PV}.zip"
+LICENSE="pmd"
+
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc"
+
+IUSE="doc"
+
+DEPEND=">=virtual/jdk-1.3
+ >=dev-java/ant-1.5
+ >=dev-java/junit-3.8.1"
+
+RDEPEND="|| ( >=virtual/jdk-1.3 >=virtual/jre-1.3 )"
+
+src_compile() {
+ cd etc
+ ant standalone-jar || die "died on ant"
+}
+
+src_install() {
+ java-pkg_dojar etc/${PN}.jar
+ use doc && dohtml -r docs/*
+}