From 41b017c3a937e6a5a71cb1d9c5bab8b771fe0069 Mon Sep 17 00:00:00 2001 From: asami Date: Wed, 10 Jul 1996 05:24:17 +0000 Subject: Make this port automatically depend on jdk. Move the jdk version checking from pre-extract to pre-install. --- java/kaffe/Makefile | 12 +++++++----- 1 file 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 # -# $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 -- cgit