summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2005-07-15 20:51:30 +0000
committerThomas Matthijs <axxo@gentoo.org>2005-07-15 20:51:30 +0000
commit8fc15aef9fdaf55e311ff122d03183a434c77ba5 (patch)
tree3c438474cea2b189fa9a4c24c3465777e00f93bf /dev-java/makeme
parentstyle fixes (diff)
downloadgentoo-2-8fc15aef9fdaf55e311ff122d03183a434c77ba5.tar.gz
gentoo-2-8fc15aef9fdaf55e311ff122d03183a434c77ba5.tar.bz2
gentoo-2-8fc15aef9fdaf55e311ff122d03183a434c77ba5.zip
dep/style fixes
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'dev-java/makeme')
-rw-r--r--dev-java/makeme/makeme-0.02-r2.ebuild19
1 files changed, 9 insertions, 10 deletions
diff --git a/dev-java/makeme/makeme-0.02-r2.ebuild b/dev-java/makeme/makeme-0.02-r2.ebuild
index a97d5fd51fbb..0316ac306962 100644
--- a/dev-java/makeme/makeme-0.02-r2.ebuild
+++ b/dev-java/makeme/makeme-0.02-r2.ebuild
@@ -1,38 +1,37 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/makeme/makeme-0.02-r2.ebuild,v 1.11 2005/04/22 08:41:42 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/makeme/makeme-0.02-r2.ebuild,v 1.12 2005/07/15 20:51:30 axxo Exp $
inherit java-pkg eutils
DESCRIPTION="Make utility written in Java"
SRC_URI="mirror://sourceforge/makeme/makeme-0.02.tar.gz"
HOMEPAGE="http://makeme.sf.net"
-DEPEND="jikes? ( >=dev-java/jikes-1.13 )
- >=dev-java/antlr-2.7.1-r1"
-RDEPEND="virtual/jdk
+RDEPEND=">=virtual/jre-1.4
>=dev-java/antlr-2.7.1-r1"
+DEPEND=">=virtual/jdk-1.4
+ ${RDEPEND}
+ jikes? ( >=dev-java/jikes-1.13 )"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ~ppc ~sparc amd64"
IUSE="jikes"
src_unpack() {
- unpack makeme-0.02.tar.gz
+ unpack ${A}
cd ${S}
epatch ${FILESDIR}/${PF}-gentoo.diff
}
src_compile() {
- if ! use jikes ; then
- cp Makefile Makefile.orig
- einfo "Configuring build for Jikes"
- sed 's!jikes!javac!' < Makefile.orig > Makefile
+ if ! use jikes; then
+ sed -e 's!jikes!javac!' -i Makefile
fi
make build || die "Compile failed"
make install || die "Create Jar failed"
}
-src_install () {
+src_install() {
java-pkg_dojar makeme.jar
cp ${FILESDIR}/makeme.sh ${S}/makeme
dobin ${S}/makeme