summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-util/pmd/ChangeLog6
-rw-r--r--dev-util/pmd/files/digest-pmd-1.53
-rw-r--r--dev-util/pmd/files/digest-pmd-1.5-r13
-rw-r--r--dev-util/pmd/files/digest-pmd-3.73
-rw-r--r--dev-util/pmd/pmd-1.5-r1.ebuild43
-rw-r--r--dev-util/pmd/pmd-1.5.ebuild30
-rw-r--r--dev-util/pmd/pmd-3.7.ebuild71
7 files changed, 5 insertions, 154 deletions
diff --git a/dev-util/pmd/ChangeLog b/dev-util/pmd/ChangeLog
index 333104087a38..5986ea835655 100644
--- a/dev-util/pmd/ChangeLog
+++ b/dev-util/pmd/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-util/pmd
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/pmd/ChangeLog,v 1.22 2007/03/17 18:43:02 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/pmd/ChangeLog,v 1.23 2007/03/28 19:12:47 betelgeuse Exp $
+
+ 28 Mar 2007; Petteri Räty <betelgeuse@gentoo.org> -pmd-1.5.ebuild,
+ -pmd-1.5-r1.ebuild, -pmd-3.7.ebuild:
+ Cleanup.
17 Mar 2007; nixnut <nixnut@gentoo.org> pmd-3.8-r1.ebuild:
Stable on ppc wrt bug 170599
diff --git a/dev-util/pmd/files/digest-pmd-1.5 b/dev-util/pmd/files/digest-pmd-1.5
deleted file mode 100644
index c3d0ec97145b..000000000000
--- a/dev-util/pmd/files/digest-pmd-1.5
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 42ea293b551a7cebbc85fea0379a9f4e pmd-src-1.5.zip 5630923
-RMD160 e6603f812d5f2d6c3bc0fa972f5f48470db8998a pmd-src-1.5.zip 5630923
-SHA256 5ab0e388770dd91b0d01a6ea389e8fac89c78903f6e1ea76987ae0a010d4bb62 pmd-src-1.5.zip 5630923
diff --git a/dev-util/pmd/files/digest-pmd-1.5-r1 b/dev-util/pmd/files/digest-pmd-1.5-r1
deleted file mode 100644
index c3d0ec97145b..000000000000
--- a/dev-util/pmd/files/digest-pmd-1.5-r1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 42ea293b551a7cebbc85fea0379a9f4e pmd-src-1.5.zip 5630923
-RMD160 e6603f812d5f2d6c3bc0fa972f5f48470db8998a pmd-src-1.5.zip 5630923
-SHA256 5ab0e388770dd91b0d01a6ea389e8fac89c78903f6e1ea76987ae0a010d4bb62 pmd-src-1.5.zip 5630923
diff --git a/dev-util/pmd/files/digest-pmd-3.7 b/dev-util/pmd/files/digest-pmd-3.7
deleted file mode 100644
index b4c122c3d2fa..000000000000
--- a/dev-util/pmd/files/digest-pmd-3.7
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 0d4390017f2467345ca7b91b1437fef9 pmd-src-3.7.zip 10756798
-RMD160 451bace491bc46cd6b3db4a5ac11b48bfa8e3b18 pmd-src-3.7.zip 10756798
-SHA256 a35de76cd8049fd91b3c4e2031b7b03f849e03e2facba1e32ea1cb27cacdb5ff pmd-src-3.7.zip 10756798
diff --git a/dev-util/pmd/pmd-1.5-r1.ebuild b/dev-util/pmd/pmd-1.5-r1.ebuild
deleted file mode 100644
index 804c5c5f55d4..000000000000
--- a/dev-util/pmd/pmd-1.5-r1.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/pmd/pmd-1.5-r1.ebuild,v 1.7 2006/11/30 16:06:11 caster 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="~amd64 ~ppc ~x86"
-IUSE="doc"
-
-RDEPEND=">=virtual/jre-1.3
- =dev-java/jaxen-1.0*
- dev-java/saxpath
- >=dev-java/xerces-2.7"
-DEPEND=">=virtual/jdk-1.3
- ${RDEPEND}
- app-arch/unzip
- dev-java/ant
- >=dev-java/junit-3.8.1"
-
-src_unpack() {
- unpack ${A}
- cd ${S}/lib/
- rm -f *.jar
- java-pkg_jar-from saxpath saxpath.jar saxpath-1.0-fcs.jar
- java-pkg_jar-from jaxen jaxen-full.jar jaxen-core-1.0-fcs.jar
- java-pkg_jar-from xerces-2
- cd ${S}
-}
-
-src_compile() {
- cd etc
- ant standalone-jar || die "died on ant"
-}
-
-src_install() {
- java-pkg_dojar etc/${PN}.jar
- use doc && java-pkg_dohtml -r docs/*
-}
diff --git a/dev-util/pmd/pmd-1.5.ebuild b/dev-util/pmd/pmd-1.5.ebuild
deleted file mode 100644
index efe5f322b0be..000000000000
--- a/dev-util/pmd/pmd-1.5.ebuild
+++ /dev/null
@@ -1,30 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# 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.11 2006/10/05 14:40:20 gustavoz 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="ppc x86"
-IUSE="doc"
-
-DEPEND=">=virtual/jdk-1.3
- app-arch/unzip
- dev-java/ant-core
- >=dev-java/junit-3.8.1"
-
-RDEPEND=">=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 && java-pkg_dohtml -r docs/*
-}
diff --git a/dev-util/pmd/pmd-3.7.ebuild b/dev-util/pmd/pmd-3.7.ebuild
deleted file mode 100644
index 8fec178eba83..000000000000
--- a/dev-util/pmd/pmd-3.7.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/pmd/pmd-3.7.ebuild,v 1.4 2007/01/09 15:40:19 caster Exp $
-
-inherit java-pkg-2 java-ant-2
-
-DESCRIPTION="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="~amd64 ~ppc ~x86"
-IUSE="doc source"
-
-RDEPEND=">=virtual/jre-1.3
- =dev-java/jaxen-1.0*
- dev-java/saxpath
- dev-java/xml-commons
- >=dev-java/xerces-2.7
- =dev-java/jakarta-oro-2.0*
- "
-DEPEND=">=virtual/jdk-1.3
- ${RDEPEND}
- app-arch/unzip
- dev-java/ant-core
- dev-java/junit
- source? ( app-arch/zip )"
-
-src_unpack() {
- unpack ${A}
-
- cd ${S}
- epatch ${FILESDIR}/${P}-gentoo.patch
-
- cd ${S}/lib/
- rm -f *.jar
- java-pkg_jar-from saxpath
- java-pkg_jar-from jaxen
- java-pkg_jar-from xerces-2 xercesImpl.jar
- java-pkg_jar-from xml-commons
- java-pkg_jar-from ant-core ant.jar
- java-pkg_jar-from jakarta-oro-2.0
- java-pkg_jar-from --build-only junit
-}
-
-src_compile() {
- cd ${S}/bin
- eant jar $(use_doc javadoc)
-}
-
-src_install() {
- java-pkg_newjar lib/${P}.jar ${PN}.jar
- dodir /usr/share/ant-core/lib/
- dosym /usr/share/${PN}/lib/${PN}.jar /usr/share/ant-core/lib/ant-${PN}.jar
-
- # TODO should try to use dolauncher
- newbin bin/${PN}.sh ${PN}
- newbin bin/designer.sh ${PN}-designer
- cp -r rulesets ${D}/usr/share/${PN}
-
- use doc && java-pkg_dohtml -r docs/api
- use source && java-pkg_dosrc src/*
-}
-
-pkg_postinst() {
- elog ""
- elog "Example rulesets can be found under"
- elog "/usr/share/pmd/rulesets/"
- elog ""
-}