diff options
author | 2005-01-14 19:19:29 +0000 | |
---|---|---|
committer | 2005-01-14 19:19:29 +0000 | |
commit | f7b8c5bde3a2964ef5786c83b9289671a29df706 (patch) | |
tree | 842aeab75c2e7d742ce19e27b394167798780bb3 /dev-util/checkstyle | |
parent | added ~amd64 to KEYWORDS. fixes bug #73862. (diff) | |
download | historical-f7b8c5bde3a2964ef5786c83b9289671a29df706.tar.gz historical-f7b8c5bde3a2964ef5786c83b9289671a29df706.tar.bz2 historical-f7b8c5bde3a2964ef5786c83b9289671a29df706.zip |
both ebuilds now generate a bash script to make this package easy to use. fixes bug #77767.
Diffstat (limited to 'dev-util/checkstyle')
-rw-r--r-- | dev-util/checkstyle/ChangeLog | 9 | ||||
-rw-r--r-- | dev-util/checkstyle/Manifest | 6 | ||||
-rw-r--r-- | dev-util/checkstyle/checkstyle-3.3.ebuild | 13 | ||||
-rw-r--r-- | dev-util/checkstyle/checkstyle-3.4-r2.ebuild | 11 |
4 files changed, 29 insertions, 10 deletions
diff --git a/dev-util/checkstyle/ChangeLog b/dev-util/checkstyle/ChangeLog index 10409fb6c575..dec3229e6bd6 100644 --- a/dev-util/checkstyle/ChangeLog +++ b/dev-util/checkstyle/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-util/checkstyle -# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/checkstyle/ChangeLog,v 1.9 2004/10/21 12:14:24 blubb Exp $ +# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/checkstyle/ChangeLog,v 1.10 2005/01/14 19:19:29 luckyduck Exp $ + + 14 Jan 2005; Jan Brinkmann <luckyduck@gentoo.org> checkstyle-3.3.ebuild, + checkstyle-3.4-r2.ebuild: + both ebuilds now generate a bash script to make this package easy to use. + fixes bug #77767. 21 Oct 2004; Simon Stelling <blubb@gentoo.org> checkstyle-3.4-r2.ebuild: added ~amd64 diff --git a/dev-util/checkstyle/Manifest b/dev-util/checkstyle/Manifest index c7a1a56f5a58..6141a95faa9c 100644 --- a/dev-util/checkstyle/Manifest +++ b/dev-util/checkstyle/Manifest @@ -1,6 +1,6 @@ -MD5 b1d7c8247891b8802b7684a0bc9882d8 ChangeLog 1424 -MD5 1852eed6cdfdf149421b610fe9dc5579 checkstyle-3.3.ebuild 1390 +MD5 4f1d6824c2824d3e9c56c88aec8fc434 checkstyle-3.3.ebuild 1686 +MD5 79f02b9fb3e3b4ca8beb32edd7d218a8 checkstyle-3.4-r2.ebuild 2069 +MD5 1b96733cc39c39d56499b98b89dbea30 ChangeLog 1629 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 -MD5 1325152b4545c6c0cf0a893619d46418 checkstyle-3.4-r2.ebuild 1781 MD5 3bfc61fcf1ab108f7cf96aef2c3acd0e files/digest-checkstyle-3.3 71 MD5 ee7955e25b09c5307250330d16910077 files/digest-checkstyle-3.4-r2 71 diff --git a/dev-util/checkstyle/checkstyle-3.3.ebuild b/dev-util/checkstyle/checkstyle-3.3.ebuild index 0663980a2b7b..700095ab24c5 100644 --- a/dev-util/checkstyle/checkstyle-3.3.ebuild +++ b/dev-util/checkstyle/checkstyle-3.3.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/checkstyle/checkstyle-3.3.ebuild,v 1.7 2004/10/16 18:16:29 axxo Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/checkstyle/checkstyle-3.3.ebuild,v 1.8 2005/01/14 19:19:29 luckyduck Exp $ inherit java-pkg @@ -9,7 +9,7 @@ HOMEPAGE="http://checkstyle.sourceforge.net" SRC_URI="mirror://sourceforge/checkstyle/${PN}-src-${PV}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="x86 ~sparc" +KEYWORDS="x86 ~sparc ~amd64" IUSE="doc jikes" S=${WORKDIR}/${PN}-src-${PV} @@ -42,4 +42,11 @@ src_install() { mv docs/checkstyle_checks.xml ${D}/usr/share/checkstyle/checkstyle_checks.xml mv docs/sun_checks.xml ${D}/usr/share/checkstyle/sun_checks.xml mv contrib ${D}/usr/share/checkstyle + + echo '#!/bin/bash' > checkstyle + echo '' >> checkstyle + echo '`java-config -J` -cp `java-config -p checkstyle,antlr,commons-beanutils,commons-cli-1,commons-collections,commons-logging,regexp` com.puppycrawl.tools.checkstyle.Main "$@"' >> checkstyle + + insinto /usr + dobin checkstyle } diff --git a/dev-util/checkstyle/checkstyle-3.4-r2.ebuild b/dev-util/checkstyle/checkstyle-3.4-r2.ebuild index ae1418a55c2b..d3f4113c56a6 100644 --- a/dev-util/checkstyle/checkstyle-3.4-r2.ebuild +++ b/dev-util/checkstyle/checkstyle-3.4-r2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/checkstyle/checkstyle-3.4-r2.ebuild,v 1.4 2004/10/21 12:14:24 blubb Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/checkstyle/checkstyle-3.4-r2.ebuild,v 1.5 2005/01/14 19:19:29 luckyduck Exp $ inherit java-pkg @@ -59,4 +59,11 @@ src_install() { mv docs/checkstyle_checks.xml ${D}/usr/share/checkstyle/checkstyle_checks.xml mv docs/sun_checks.xml ${D}/usr/share/checkstyle/sun_checks.xml mv contrib ${D}/usr/share/checkstyle + + echo '#!/bin/bash' > checkstyle + echo '' >> checkstyle + echo '`java-config -J` -cp `java-config -p checkstyle,antlr,commons-beanutils,commons-cli-1,commons-collections,commons-logging,regexp` com.puppycrawl.tools.checkstyle.Main "$@"' >> checkstyle + + insinto /usr + dobin checkstyle } |