1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00

Make this port automatically depend on jdk. Move the jdk version

checking from pre-extract to pre-install.
This commit is contained in:
Satoshi Asami 1996-07-10 05:24:17 +00:00
parent 48100fbcca
commit 722118d97f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=3337

View File

@ -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