blob: 77be43cb07362682dbbc64c6c6fc3a49e0d74511 (
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
39
40
41
42
43
|
# 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.1 2001/12/15 01:07:52 karltk Exp $
S=${WORKDIR}/${P}
DESCRIPTION="Make utility written in Java"
SRC_URI="http://prdownloads.sourceforge.net/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"
src_unpack() {
unpack makeme-0.02.tar.gz
cd ${S}
patch -p0 < ${FILESDIR}/${PF}-gentoo.diff
}
src_compile() {
if [ -z "$CLASSPATH" ] ; then
echo "!!! CLASSPATH is unset"
die
fi
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/eclasspath
}
|