summaryrefslogblamecommitdiff
path: root/lang/squeak1/Makefile
blob: 5e8a1df63964bf1ea103e8fb6d545e3a8f864b11 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                               

                                                                 
 
           

 

                      








                                                                                    

                                                        
 
                                         
 
                                          
 
                   











                                                              

           





                                                                            
                                                                 
                                                    

                      
# New ports collection makefile for:   	squeak1
# Date created:        			20 December 1998
# Whom:                			jesse@cs.uni-magdeburg.de
#
# $FreeBSD$
#

PORTNAME=	squeak
PORTVERSION=	1.31
CATEGORIES=	lang
MASTER_SITES=	http://www.apfel.de/~jesse/squeak/ \
		ftp://alix.inria.fr/pub/squeak/unix/ \
		ftp://st.cs.uiuc.edu/pub/Smalltalk/Squeak/unix/ \
		ftp://ftp.cs.uni-magdeburg.de/pub/Smalltalk/Smalltalk/Squeak/ \
		ftp://ftp.cs.uni-magdeburg.de/pub/Smalltalk/Smalltalk/Squeak/unix/ \
		http://st-www.cs.uiuc.edu/ftp/Smalltalk/Squeak/ \
		ftp://uiarchive.cso.uiuc.edu/pub/lang/smalltalk/smalltalk/Squeak/ \
		http://wuarchive.wustl.edu/languages/smalltalk/smalltalk/Squeak/
DISTNAME=	${PORTVERSION}
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} ${SQUEAK_SRC}

MAINTAINER=	jesse@cs.uni-magdeburg.de

EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}

USE_XLIB=	yes
DIST_SUBDIR=	squeak
SQUEAK_SRC=	SqueakV1.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)

do-install:
	@(cd ${WRKSRC}/${VMBUILD} && \
	${INSTALL_PROGRAM} SqueakVM-1.31-${VMBUILD} ${PREFIX}/bin/SqueakVM)
	${MKDIR} ${PREFIX}/share/squeak
.for f in Squeak1.31.changes Squeak1.31.image
	(cd ${WRKSRC}/image && ${INSTALL_DATA} $f ${PREFIX}/share/squeak/$f)
.endfor
	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${SQUEAK_SRC} \
		${PREFIX}/share/squeak/${SQUEAK_SRC}

.include <bsd.port.mk>