summaryrefslogtreecommitdiff
blob: d7557168857bb6853cd30a1b712a5240bc0356cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Karl Trygve Kalleberg <karltk@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/dev-java/makeme/makeme-0.02-r1.ebuild,v 1.4 2002/05/27 17:27:37 drobbins Exp $

S=${WORKDIR}/${P}
DESCRIPTION="Make utility written in Java"
SRC_URI="mirror://sourceforge/makeme/makeme-0.02.tar.gz"
HOMEPAGE="http://makeme.sf.net"

DEPEND=">=virtual/jdk-1.2
        >=dev-java/jikes-1.13
        >=dev-java/antlr-2.7.1-r1"
RDEPEND=">=virtual/jdk-1.2
	>=dev-java/antlr-2.7.1-r1"

src_unpack() {
	unpack makeme-0.02.tar.gz
    
	cd ${S}
	patch -p0 < ${FILESDIR}/${PF}-gentoo.diff
}
        
src_compile() {
	make build || die
}

src_install () {
	dodir usr/share/makeme
	dodir usr/bin
	insinto usr/share/makeme
	doins makeme.jar
	exeinto /usr/bin
	newexe ${FILESDIR}/makeme.sh makeme
	doman doc/makeme.1
	echo "/usr/share/makeme/makeme.jar" > ${D}/usr/share/makeme/classpath.env
}