1995-02-10 01:15:04 -05:00
|
|
|
# New ports collection makefile for: smalltalk
|
|
|
|
# Version required: 1.1.1
|
|
|
|
# Date created: 09 Feb 1995
|
|
|
|
# Whom: gpalmer
|
|
|
|
#
|
1996-06-02 20:27:35 -04:00
|
|
|
# $Id: Makefile,v 1.7 1995/11/22 13:13:16 asami Exp $
|
1995-02-10 01:15:04 -05:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= smalltalk-1.1.1
|
1995-11-22 08:13:16 -05:00
|
|
|
CATEGORIES+= lang
|
1995-04-15 01:44:50 -04:00
|
|
|
MASTER_SITES= ftp://prep.ai.mit.edu/pub/gnu/
|
|
|
|
|
1996-06-02 20:27:35 -04:00
|
|
|
MAINTAINER= jraynard@FreeBSD.ORG
|
1995-02-10 01:15:04 -05:00
|
|
|
|
1995-04-18 01:18:51 -04:00
|
|
|
IS_INTERACTIVE= yes
|
|
|
|
|
1995-02-10 01:15:04 -05:00
|
|
|
pre-configure:
|
|
|
|
@cp ${FILESDIR}/m-fbsd-2.h ${WRKSRC}/config/m-fbsd-2.h
|
|
|
|
@(cd ${WRKSRC} ; ./config.mst fbsd-2)
|
|
|
|
@${TOUCH} ${TOUCH_FLAGS} ${CONFIGURE_COOKIE}
|
|
|
|
|
1996-06-02 20:27:35 -04:00
|
|
|
do-build:
|
|
|
|
if [ -d ${X11BASE} ]; then (cd ${WRKSRC}/stix; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${ALL_TARGET}; cp mst *.st ${WRKSRC}); else (cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${ALL_TARGET}); fi;
|
|
|
|
|
1995-04-24 07:29:30 -04:00
|
|
|
do-install:
|
1996-06-02 20:27:35 -04:00
|
|
|
@echo "Installing Smalltalk interpreter and method definitions..."
|
|
|
|
@ if [ ! -d ${PREFIX}/lib/smalltalk ]; then mkdir -p ${PREFIX}/lib/smalltalk; fi
|
|
|
|
@(cd ${WRKSRC}; cp *.st ${PREFIX}/lib/smalltalk)
|
|
|
|
@(cd ${PREFIX}/lib/smalltalk ; chmod +r *.st)
|
|
|
|
@echo
|
|
|
|
@echo
|
|
|
|
@echo
|
|
|
|
@echo "To complete the installation of GNU Smalltalk, do"
|
|
|
|
@echo " cd ${WRKSRC}; ./mst -iV"
|
|
|
|
@echo "to build the image and test the interpreter."
|
|
|
|
@echo
|
|
|
|
@echo "When you are satisfied everything works, do Control-D to quit"
|
|
|
|
@echo "(this will give a parse error, which can be safely ignored)"
|
|
|
|
@echo "followed by cp mst ${PREFIX}/bin"
|
|
|
|
@echo
|
|
|
|
@echo "Finally, if Emacs is installed, you may also wish to copy the"
|
|
|
|
@echo "st.el file to the Emacs Lisp directory. This will enable you to"
|
|
|
|
@echo "configure Emacs for Interactor mode."
|
|
|
|
@echo
|
|
|
|
@echo "Please read the file mst.texinfo for more information."
|
|
|
|
@echo
|
1995-02-10 01:15:04 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|