diff options
author | Thomas Matthijs <axxo@gentoo.org> | 2005-07-15 21:59:59 +0000 |
---|---|---|
committer | Thomas Matthijs <axxo@gentoo.org> | 2005-07-15 21:59:59 +0000 |
commit | 955970012796d0c64bd341b1cfa2e53b77e99143 (patch) | |
tree | 43111dd650d2df65cf5bb56e18763e47e94aab42 /dev-java/sablecc | |
parent | . (diff) | |
download | gentoo-2-955970012796d0c64bd341b1cfa2e53b77e99143.tar.gz gentoo-2-955970012796d0c64bd341b1cfa2e53b77e99143.tar.bz2 gentoo-2-955970012796d0c64bd341b1cfa2e53b77e99143.zip |
dep/style fixes
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'dev-java/sablecc')
-rw-r--r-- | dev-java/sablecc/sablecc-2.18.2.ebuild | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/dev-java/sablecc/sablecc-2.18.2.ebuild b/dev-java/sablecc/sablecc-2.18.2.ebuild index 41f5729cfec6..d7b4f9067dc3 100644 --- a/dev-java/sablecc/sablecc-2.18.2.ebuild +++ b/dev-java/sablecc/sablecc-2.18.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/sablecc/sablecc-2.18.2.ebuild,v 1.9 2005/05/21 17:45:25 luckyduck Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/sablecc/sablecc-2.18.2.ebuild,v 1.10 2005/07/15 21:59:59 axxo Exp $ inherit java-pkg @@ -12,27 +12,24 @@ SLOT="0" KEYWORDS="x86 ppc amd64" IUSE="jikes" +RDEPEND=">=virtual/jre-1.4" DEPEND=">=virtual/jdk-1.4 - >=dev-java/java-getopt-1.0.9 >=dev-java/ant-1.5.1 jikes? ( >=dev-java/jikes-1.17 )" -RDEPEND=">=virtual/jre-1.4" -src_compile () { +src_compile() { local antflags="jar" - if use jikes ; then - :; # Do nothing, jikes is enable by default - else + if ! use jikes ; then antflags="${antflags} -Dbuild.compiler=modern" fi ant ${antflags} || die "compile error" } -src_install () { +src_install() { java-pkg_dojar lib/* dobin ${FILESDIR}/${PN} - dodoc AUTHORS LICENSE THANKS + dodoc AUTHORS THANKS dohtml README.html } |