diff options
author | asami <asami@FreeBSD.org> | 1996-07-10 13:24:17 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1996-07-10 13:24:17 +0800 |
commit | 41b017c3a937e6a5a71cb1d9c5bab8b771fe0069 (patch) | |
tree | ac21ee24b88723df8a2da01f051e9fb0b2ad7264 | |
parent | 05264fa310e3ddccaabf63de8011e061644f44ea (diff) | |
download | freebsd-ports-gnome-41b017c3a937e6a5a71cb1d9c5bab8b771fe0069.tar.gz freebsd-ports-gnome-41b017c3a937e6a5a71cb1d9c5bab8b771fe0069.tar.zst freebsd-ports-gnome-41b017c3a937e6a5a71cb1d9c5bab8b771fe0069.zip |
Make this port automatically depend on jdk. Move the jdk version
checking from pre-extract to pre-install.
-rw-r--r-- | java/kaffe/Makefile | 12 |
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 |