diff options
-rw-r--r-- | dev-util/pmd/ChangeLog | 7 | ||||
-rw-r--r-- | dev-util/pmd/Manifest | 2 | ||||
-rw-r--r-- | dev-util/pmd/files/digest-pmd-1.5-r1 | 1 | ||||
-rw-r--r-- | dev-util/pmd/pmd-1.5-r1.ebuild | 42 |
4 files changed, 51 insertions, 1 deletions
diff --git a/dev-util/pmd/ChangeLog b/dev-util/pmd/ChangeLog index b94f1b9e7fc8..ff059e5c4b5e 100644 --- a/dev-util/pmd/ChangeLog +++ b/dev-util/pmd/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-util/pmd # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/pmd/ChangeLog,v 1.3 2004/08/30 18:37:23 zx Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/pmd/ChangeLog,v 1.4 2004/09/17 13:49:39 axxo Exp $ + +*pmd-1.5-r1 (17 Sep 2004) + + 17 Sep 2004; Thomas Matthijs <axxo@gentoo.org> +pmd-1.5-r1.ebuild: + bye bye packed jars #63302 30 Aug 2004; Chris Aniszczyk <zx@gentoo.org> pmd-1.5.ebuild: Marking x86 diff --git a/dev-util/pmd/Manifest b/dev-util/pmd/Manifest index 05fa84ab880e..ac5f06026c98 100644 --- a/dev-util/pmd/Manifest +++ b/dev-util/pmd/Manifest @@ -1,4 +1,6 @@ +MD5 d216139b769f7988e7ca79b61e5410f7 pmd-1.5-r1.ebuild 1070 MD5 3a1ac7396629033e47dd04f242a1eddb ChangeLog 459 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 MD5 21edf125f652eac74e7e7add8b4d6338 pmd-1.5.ebuild 789 MD5 f4fd6e2650f6d50125b3e546a7c0a54b files/digest-pmd-1.5 61 +MD5 f4fd6e2650f6d50125b3e546a7c0a54b files/digest-pmd-1.5-r1 61 diff --git a/dev-util/pmd/files/digest-pmd-1.5-r1 b/dev-util/pmd/files/digest-pmd-1.5-r1 new file mode 100644 index 000000000000..bfb7722d8947 --- /dev/null +++ b/dev-util/pmd/files/digest-pmd-1.5-r1 @@ -0,0 +1 @@ +MD5 42ea293b551a7cebbc85fea0379a9f4e pmd-src-1.5.zip 5630923 diff --git a/dev-util/pmd/pmd-1.5-r1.ebuild b/dev-util/pmd/pmd-1.5-r1.ebuild new file mode 100644 index 000000000000..94ee2c95b835 --- /dev/null +++ b/dev-util/pmd/pmd-1.5-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2004 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.1 2004/09/17 13:49:39 axxo 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/xerces-2.6.2-r1 + dev-java/saxpath + dev-java/jaxen + >=dev-java/junit-3.8.1" + +RDEPEND="|| ( >=virtual/jdk-1.3 >=virtual/jre-1.3 )" + +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 && dohtml -r docs/* +} |