1996-03-07 03:53:57 +00:00
|
|
|
# New ports collection makefile for: kaffe
|
1996-07-17 03:40:13 +00:00
|
|
|
# Version required: 0.5p1
|
1996-03-07 03:53:57 +00:00
|
|
|
# Date created: 20 February 1995
|
|
|
|
# Whom: Tim Wilkinson <tim@sarc.city.ac.uk>
|
|
|
|
#
|
1996-07-17 03:40:13 +00:00
|
|
|
# $Id: Makefile,v 1.4 1996/07/10 05:24:17 asami Exp $
|
1996-03-07 03:53:57 +00:00
|
|
|
#
|
|
|
|
|
1996-07-17 03:40:13 +00:00
|
|
|
DISTNAME= kaffe-0.5p1
|
1996-03-07 03:53:57 +00:00
|
|
|
CATEGORIES+= www
|
|
|
|
MASTER_SITES= ftp://ftp.sarc.city.ac.uk/pub/kaffe/
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
MAINTAINER= tim@sarc.city.ac.uk
|
|
|
|
|
1996-07-10 05:24:17 +00:00
|
|
|
RUN_DEPENDS= ${PREFIX}/share/java/classes.zip:${PORTSDIR}/www/jdk
|
|
|
|
|
1996-03-07 03:53:57 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
1996-07-10 05:24:17 +00:00
|
|
|
do-configure:
|
|
|
|
@(cd ${WRKSRC}; ${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS})
|
|
|
|
|
|
|
|
pre-install:
|
1996-07-04 01:23:31 +00:00
|
|
|
@( 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)
|
|
|
|
|
1996-03-07 03:53:57 +00:00
|
|
|
post-install:
|
1996-07-04 01:23:31 +00:00
|
|
|
test -d ${PREFIX}/share/kaffe || mkdir -p ${PREFIX}/share/kaffe
|
|
|
|
install -c -m 644 ${WRKSRC}/license.terms ${PREFIX}/share/kaffe
|
1996-03-07 03:53:57 +00:00
|
|
|
/sbin/ldconfig -m ${PREFIX}/lib
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|