1998-12-02 23:35:45 -05:00
|
|
|
# New ports collection makefile for: squeak
|
1999-03-05 11:24:52 -05:00
|
|
|
# Date created: 4 March 1999
|
|
|
|
# Whom: jesse@cs.uni-magdeburg.de
|
1997-06-10 05:31:49 -04:00
|
|
|
#
|
1999-08-25 02:35:40 -04:00
|
|
|
# $FreeBSD$
|
1997-06-10 05:31:49 -04:00
|
|
|
#
|
|
|
|
|
2000-04-12 02:21:15 -04:00
|
|
|
PORTNAME= squeak
|
|
|
|
PORTVERSION= 2.7
|
1998-12-02 23:35:45 -05:00
|
|
|
CATEGORIES= lang
|
2000-03-30 16:17:54 -05:00
|
|
|
MASTER_SITES= ftp://ftp.inria.fr/INRIA/Projects/SOR/users/piumarta/squeak/ \
|
2000-03-30 17:06:08 -05:00
|
|
|
ftp://ftp.cs.uni-magdeburg.de/pub/Smalltalk/free/squeak/unix/ \
|
|
|
|
http://www.nectar.com/distfiles/squeak/
|
2000-04-16 19:26:18 -04:00
|
|
|
DISTNAME= Squeak${PORTVERSION}-src
|
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${SQUEAK_SRC}
|
1997-06-10 05:31:49 -04:00
|
|
|
|
1999-03-05 11:24:52 -05:00
|
|
|
MAINTAINER= jesse@cs.uni-magdeburg.de
|
1997-06-10 05:31:49 -04:00
|
|
|
|
1998-12-02 23:35:45 -05:00
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
2000-03-30 16:17:54 -05:00
|
|
|
NO_WRKSUBDIR= yes
|
1998-12-28 07:49:18 -05:00
|
|
|
USE_XLIB= yes
|
1999-03-05 11:24:52 -05:00
|
|
|
USE_GMAKE= yes
|
1998-12-02 23:35:45 -05:00
|
|
|
DIST_SUBDIR= squeak
|
2000-03-30 16:17:54 -05:00
|
|
|
SQUEAK_SRC= SqueakV2.sources.gz Squeak2.7.image.gz Squeak2.7.changes.gz
|
|
|
|
SQUEAK_LIB= Profiler.so SoundCodecPrims.so Squeak3D.so System.so
|
|
|
|
|
|
|
|
MAKEFILE= Makefile
|
1999-12-24 20:54:08 -05:00
|
|
|
.ifdef (CC)
|
|
|
|
MAKE_ARGS+= CC=${CC}
|
|
|
|
.endif
|
|
|
|
.ifdef (CFLAGS)
|
|
|
|
MAKE_ARGS+= CCFLAGS="${CFLAGS}"
|
|
|
|
.endif
|
1997-06-10 05:31:49 -04:00
|
|
|
|
|
|
|
do-install:
|
2000-03-30 16:17:54 -05:00
|
|
|
@(cd ${WRKSRC}/freebsd && \
|
|
|
|
${INSTALL_PROGRAM} squeak ${PREFIX}/bin/squeak)
|
1998-12-02 23:35:45 -05:00
|
|
|
${MKDIR} ${PREFIX}/share/squeak
|
2000-03-30 16:17:54 -05:00
|
|
|
.for l in ${SQUEAK_LIB}
|
|
|
|
(cd ${WRKSRC}/freebsd && ${INSTALL_DATA} $l ${PREFIX}/lib/$l)
|
1998-12-02 23:35:45 -05:00
|
|
|
.endfor
|
2000-03-30 16:17:54 -05:00
|
|
|
.for f in ${SQUEAK_SRC}
|
|
|
|
(cd ${DISTDIR}/${DIST_SUBDIR} && ${INSTALL_DATA} $f ${PREFIX}/share/squeak/$f)
|
|
|
|
(cd ${PREFIX}/share/squeak && ${EXTRACT_CMD} -d $f)
|
|
|
|
.endfor
|
|
|
|
(cd ${PREFIX}/share/squeak && ${CHMOD} 644 Squeak2.7.changes)
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${ECHO} "Make sure you have ${PREFIX}/bin in your PATH"
|
|
|
|
@${ECHO} "and ${PREFIX}/lib in your LD_LIBRARY_PATH."
|
|
|
|
@${ECHO} ""
|
|
|
|
@${ECHO} "In order to be able to make use of squeak you need"
|
|
|
|
@${ECHO} "to have an image and a changes file in your working"
|
|
|
|
@${ECHO} "directory as well as access to a source file."
|
|
|
|
@${ECHO} "Execute the following:"
|
|
|
|
@${ECHO} "cd <your_private_working_directory>"
|
|
|
|
@${ECHO} "cp ${PREFIX}/share/squeak/Squeak2.7.image ."
|
|
|
|
@${ECHO} "cp ${PREFIX}/share/squeak/Squeak2.7.changes ."
|
|
|
|
@${ECHO} "ln -s ${PREFIX}/share/squeak/SqueakV2.sources ."
|
|
|
|
@${ECHO} ""
|
|
|
|
@${ECHO} "To finally start up the system type:"
|
|
|
|
@${ECHO} "squeak Squeak2.7.image"
|
1997-06-10 05:31:49 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|