summaryrefslogtreecommitdiffstats
path: root/java/kaffe
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1996-07-10 05:24:17 +0000
committerasami <asami@FreeBSD.org>1996-07-10 05:24:17 +0000
commit41b017c3a937e6a5a71cb1d9c5bab8b771fe0069 (patch)
treeac21ee24b88723df8a2da01f051e9fb0b2ad7264 /java/kaffe
parent05264fa310e3ddccaabf63de8011e061644f44ea (diff)
downloadFreeBSD-ports-41b017c3a937e6a5a71cb1d9c5bab8b771fe0069.zip
FreeBSD-ports-41b017c3a937e6a5a71cb1d9c5bab8b771fe0069.tar.gz
Make this port automatically depend on jdk. Move the jdk version
checking from pre-extract to pre-install.
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 83e67c4..e89e4f6 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
OpenPOWER on IntegriCloud