freebsd-ports/lang/squeak3/Makefile

52 lines
1.4 KiB
Makefile
Raw Normal View History

1998-12-02 23:35:45 -05:00
# New ports collection makefile for: squeak
# Version required: 2.3
# Date created: 4 March 1999
# Whom: jesse@cs.uni-magdeburg.de
#
1999-08-25 02:35:40 -04:00
# $FreeBSD$
#
1999-05-09 11:17:05 -04:00
DISTNAME= 2.4
PKGNAME= squeak-2.4
1998-12-02 23:35:45 -05:00
CATEGORIES= lang
MASTER_SITES= ftp://ftp.cs.uni-magdeburg.de/pub/Smalltalk/Smalltalk/Squeak/unix/ \
ftp://ftp.cs.uni-magdeburg.de/pub/Smalltalk/Smalltalk/Squeak/unix/image/ \
1999-03-20 12:16:57 -05:00
http://www.nectar.com/distfiles/squeak/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${SQUEAK_SRC}
MAINTAINER= jesse@cs.uni-magdeburg.de
1998-12-02 23:35:45 -05:00
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
1998-12-28 07:49:18 -05:00
USE_XLIB= yes
USE_GMAKE= yes
1998-12-02 23:35:45 -05:00
DIST_SUBDIR= squeak
SQUEAK_SRC= SqueakV2.sources
MAKEFILE= GNUmakefile
VMBUILD= freebsd
MAKE_ARGS= VMBUILD=${VMBUILD}
.ifdef (CC)
MAKE_ARGS+= CC=${CC}
.endif
.ifdef (CFLAGS)
MAKE_ARGS+= CCFLAGS="${CFLAGS}"
.endif
PORTMAKE= ${SETENV} ${MAKE_ENV} ${GMAKE} -e ${MAKE_FLAGS} \
1998-12-02 23:35:45 -05:00
${MAKEFILE} ${MAKE_ARGS}
do-build:
@(cd ${WRKSRC} && ${PORTMAKE} mkdir)
@(cd ${WRKSRC}/${VMBUILD} && ${PORTMAKE} interp)
do-install:
1998-12-02 23:35:45 -05:00
@(cd ${WRKSRC}/${VMBUILD} && \
1999-05-09 11:17:05 -04:00
${INSTALL_PROGRAM} SqueakVM-2.4-${VMBUILD} ${PREFIX}/bin/SqueakVM)
1998-12-02 23:35:45 -05:00
${MKDIR} ${PREFIX}/share/squeak
1999-05-09 11:17:05 -04:00
.for f in Squeak2.4.changes Squeak2.4.image
1998-12-02 23:35:45 -05:00
(cd ${WRKSRC}/image && ${INSTALL_DATA} $f ${PREFIX}/share/squeak/$f)
.endfor
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${SQUEAK_SRC} \
1998-12-02 23:35:45 -05:00
${PREFIX}/share/squeak/${SQUEAK_SRC}
.include <bsd.port.mk>