summaryrefslogtreecommitdiff
path: root/java/kaffe
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1996-07-10 05:24:17 +0000
committerSatoshi Asami <asami@FreeBSD.org>1996-07-10 05:24:17 +0000
commit722118d97f0970cd908158e3cd3f5f4ada340215 (patch)
treef753b6c772b3f2ec68b3e1be4041c8c6d1c33950 /java/kaffe
parentAdd NO_CDROM, the license says we should put their name on packaging (diff)
Make this port automatically depend on jdk. Move the jdk version
checking from pre-extract to pre-install.
Notes
Notes: svn path=/head/; revision=3337
Diffstat (limited to 'java/kaffe')
-rw-r--r--java/kaffe/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/java/kaffe/Makefile b/java/kaffe/Makefile
index 83e67c40cbb1..e89e4f677f54 100644
--- a/java/kaffe/Makefile
+++ b/java/kaffe/Makefile
@@ -3,7 +3,7 @@
# Date created: 20 February 1995
# Whom: Tim Wilkinson <tim@sarc.city.ac.uk>
#
-# $Id: Makefile,v 1.2 1996/04/04 01:07:43 scrappy Exp $
+# $Id: Makefile,v 1.3 1996/07/04 01:23:21 gpalmer Exp $
#
DISTNAME= kaffe-0.4p2
@@ -13,17 +13,19 @@ EXTRACT_SUFX= .tgz
MAINTAINER= tim@sarc.city.ac.uk
+RUN_DEPENDS= ${PREFIX}/share/java/classes.zip:${PORTSDIR}/www/jdk
+
GNU_CONFIGURE= yes
-pre-extract:
+do-configure:
+ @(cd ${WRKSRC}; ${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS})
+
+pre-install:
@( if test "`${MD5} ${PREFIX}/share/java/classes.zip | ${AWK} '{print $$4}'`" != "`cat ${FILESDIR}/classes.zip.1.02.md5`" ; then \
echo "kaffe REQUIRES the classes.zip file from ports/www/jdk, version 1.02"; \
exit 1 ; \
fi)
-do-configure:
- @(cd ${WRKSRC}; ${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS})
-
post-install:
test -d ${PREFIX}/share/kaffe || mkdir -p ${PREFIX}/share/kaffe
install -c -m 644 ${WRKSRC}/license.terms ${PREFIX}/share/kaffe