1998-12-03 04:35:45 +00:00
|
|
|
# New ports collection makefile for: squeak
|
|
|
|
# Version required: 2.2
|
|
|
|
# Date created: 12/01/1998
|
|
|
|
# Whom: nectar@FreeBSD.ORG
|
1997-06-10 09:31:49 +00:00
|
|
|
#
|
1999-01-07 05:51:24 +00:00
|
|
|
# $Id: Makefile,v 1.6 1998/12/28 12:49:18 asami Exp $
|
1997-06-10 09:31:49 +00:00
|
|
|
#
|
|
|
|
|
1998-12-03 04:35:45 +00:00
|
|
|
DISTNAME= 2.2
|
|
|
|
PKGNAME= squeak-2.2
|
|
|
|
CATEGORIES= lang
|
|
|
|
MASTER_SITES= http://www.nectar.com/distfiles/squeak/ \
|
1999-01-07 05:51:24 +00:00
|
|
|
ftp://alix.inria.fr/pub/squeak/unix/
|
1998-12-03 04:35:45 +00:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} image/${SQUEAK_SRC}
|
1997-06-10 09:31:49 +00:00
|
|
|
|
1998-12-03 04:35:45 +00:00
|
|
|
MAINTAINER= nectar@FreeBSD.ORG
|
1997-06-10 09:31:49 +00:00
|
|
|
|
1998-12-03 04:35:45 +00:00
|
|
|
ALLFILES= ${DISTNAME}${EXTRACT_SUFX} ${SQUEAK_SRC}
|
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
|
1998-12-28 12:49:18 +00:00
|
|
|
USE_XLIB= yes
|
1998-12-03 04:35:45 +00:00
|
|
|
DIST_SUBDIR= squeak
|
|
|
|
SQUEAK_SRC= SqueakV2.sources
|
|
|
|
USE_GMAKE= yes
|
|
|
|
MAKEFILE= GNUmakefile
|
|
|
|
VMBUILD= freebsd
|
|
|
|
MAKE_ARGS= VMBUILD=${VMBUILD}
|
|
|
|
PORTMAKE= ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \
|
|
|
|
${MAKEFILE} ${MAKE_ARGS}
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
@(cd ${WRKSRC} && ${PORTMAKE} mkdir)
|
|
|
|
@(cd ${WRKSRC}/${VMBUILD} && ${PORTMAKE} interp)
|
1997-06-10 09:31:49 +00:00
|
|
|
|
|
|
|
do-install:
|
1998-12-03 04:35:45 +00:00
|
|
|
@(cd ${WRKSRC}/${VMBUILD} && \
|
|
|
|
${INSTALL_PROGRAM} SqueakVM-2.2-${VMBUILD} ${PREFIX}/bin/SqueakVM)
|
|
|
|
${MKDIR} ${PREFIX}/share/squeak
|
|
|
|
.for f in Squeak2.2.changes Squeak2.2.image
|
|
|
|
(cd ${WRKSRC}/image && ${INSTALL_DATA} $f ${PREFIX}/share/squeak/$f)
|
|
|
|
.endfor
|
|
|
|
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${SQUEAK_SRC} \
|
|
|
|
${PREFIX}/share/squeak/${SQUEAK_SRC}
|
1997-06-10 09:31:49 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|