diff options
author | Joshua Nichols <nichoj@gentoo.org> | 2006-01-08 03:21:52 +0000 |
---|---|---|
committer | Joshua Nichols <nichoj@gentoo.org> | 2006-01-08 03:21:52 +0000 |
commit | 599a024ad940fa6b3cd8cd5b4da3423303a48dd6 (patch) | |
tree | 85a3ca1ec921a4830439273ba6e496cbcb9f7eea /dev-util/pmd | |
parent | Version bump. (diff) | |
download | historical-599a024ad940fa6b3cd8cd5b4da3423303a48dd6.tar.gz historical-599a024ad940fa6b3cd8cd5b4da3423303a48dd6.tar.bz2 historical-599a024ad940fa6b3cd8cd5b4da3423303a48dd6.zip |
Version bump (bug #118047).
Package-Manager: portage-2.1_pre3-r1
Diffstat (limited to 'dev-util/pmd')
-rw-r--r-- | dev-util/pmd/ChangeLog | 9 | ||||
-rw-r--r-- | dev-util/pmd/Manifest | 10 | ||||
-rw-r--r-- | dev-util/pmd/files/digest-pmd-3.4 | 1 | ||||
-rw-r--r-- | dev-util/pmd/pmd-3.4.ebuild | 69 |
4 files changed, 83 insertions, 6 deletions
diff --git a/dev-util/pmd/ChangeLog b/dev-util/pmd/ChangeLog index 9401d1451901..e45939b536fb 100644 --- a/dev-util/pmd/ChangeLog +++ b/dev-util/pmd/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-util/pmd -# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/pmd/ChangeLog,v 1.12 2005/12/11 18:34:09 betelgeuse Exp $ +# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/pmd/ChangeLog,v 1.13 2006/01/08 03:21:52 nichoj Exp $ + +*pmd-3.4 (08 Jan 2006) + + 08 Jan 2006; Joshua Nichols <nichoj@gentoo.org> +pmd-3.4.ebuild: + Version bump (bug #118047). 11 Dec 2005; Petteri Räty <betelgeuse@gentoo.org> files/pmd-3.3-gentoo.patch, pmd-3.3.ebuild: diff --git a/dev-util/pmd/Manifest b/dev-util/pmd/Manifest index 81933bbd0e44..28dc9a01e678 100644 --- a/dev-util/pmd/Manifest +++ b/dev-util/pmd/Manifest @@ -1,11 +1,12 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 dc024b6c6048f3fea1d72684ce14988d ChangeLog 1877 +MD5 5a9f5b993eaac4429bf5becefa9cd593 ChangeLog 1995 MD5 f4fd6e2650f6d50125b3e546a7c0a54b files/digest-pmd-1.5 61 MD5 f4fd6e2650f6d50125b3e546a7c0a54b files/digest-pmd-1.5-r1 61 MD5 9cd4c2c64ebddf354fb7475e86887505 files/digest-pmd-3.1 61 MD5 e810cb5e40dfcc3ba21c05d7ba29d54b files/digest-pmd-3.3 61 +MD5 2f550f3dcd71f7a9725a06ca89c5e810 files/digest-pmd-3.4 61 MD5 a4e38ad08909deab5987c12fe5e59d8d files/pmd-3.1-gentoo.patch 3808 MD5 8933adb7f1d0bf9b912e3dd236dd0005 files/pmd-3.3-gentoo.patch 3164 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 @@ -13,10 +14,11 @@ MD5 b131da5bb636d0aa455f681cad502d75 pmd-1.5-r1.ebuild 1092 MD5 de5629bb3e4f74880b7481c1db6d1d2f pmd-1.5.ebuild 790 MD5 c350d228faedf2333f206d7199e88222 pmd-3.1.ebuild 1448 MD5 82d721c9d2e2aa35c109aa97f9eb2fcb pmd-3.3.ebuild 1684 +MD5 b22d516c96e95b9cd2c5dd5b1e3b3165 pmd-3.4.ebuild 1685 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) -iD8DBQFDnHEvQiJ/wx066S4RAle7AKCKAaVDL1PGdq0UTl4ie0vWppDquACfcm/d -cf5eJ7kkfK5jWVUP2PzCG1U= -=hQ3X +iD8DBQFDwIWkndWRXhKOboURArHmAJ90Kz4zQt3q9l70aN0aBgROsxLYwACeNdZA +xwkJdsAv9Jefq7BbCHSdONM= +=gsMc -----END PGP SIGNATURE----- diff --git a/dev-util/pmd/files/digest-pmd-3.4 b/dev-util/pmd/files/digest-pmd-3.4 new file mode 100644 index 000000000000..49a5fb749e66 --- /dev/null +++ b/dev-util/pmd/files/digest-pmd-3.4 @@ -0,0 +1 @@ +MD5 2b5709ad6eb37639e948c4604eb00871 pmd-src-3.4.zip 9535887 diff --git a/dev-util/pmd/pmd-3.4.ebuild b/dev-util/pmd/pmd-3.4.ebuild new file mode 100644 index 000000000000..7b2179247fb1 --- /dev/null +++ b/dev-util/pmd/pmd-3.4.ebuild @@ -0,0 +1,69 @@ +# 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-3.4.ebuild,v 1.1 2006/01/08 03:21:52 nichoj Exp $ + +inherit java-pkg eutils + +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 ~sparc ~x86" +IUSE="doc jikes source" + +RDEPEND=">=virtual/jre-1.3 + =dev-java/jaxen-1.0* + dev-java/saxpath + dev-java/xml-commons + >=dev-java/xerces-2.6" +DEPEND=">=virtual/jdk-1.3 + ${RDEPEND} + app-arch/unzip + dev-java/ant-core + jikes? ( dev-java/jikes ) + source? ( app-arch/zip )" + +src_unpack() { + unpack ${A} + + cd ${S} + epatch ${FILESDIR}/${PN}-3.3-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 +} + +src_compile() { + cd ${S}/bin + + local antflags="jar" + use jikes && antflags="${antflags} -Dbuild.compiler=jikes" + use doc && antflags="${antflags} javadoc" + ant ${antflags} || die "died on ant" +} + +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 + + 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() { + einfo "" + einfo "Example rulesets can be found under" + einfo "/usr/share/pmd/rulesets/" + einfo "" +} |