1995-02-10 06:15:04 +00:00
|
|
|
# New ports collection makefile for: smalltalk
|
|
|
|
# Version required: 1.1.1
|
|
|
|
# Date created: 09 Feb 1995
|
|
|
|
# Whom: gpalmer
|
|
|
|
#
|
1996-11-18 10:25:35 +00:00
|
|
|
# $Id: Makefile,v 1.10 1996/11/12 02:19:10 obrien Exp $
|
1995-02-10 06:15:04 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= smalltalk-1.1.1
|
1996-11-12 02:19:40 +00:00
|
|
|
CATEGORIES= lang
|
1996-11-18 10:25:35 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
1995-04-15 05:44:50 +00:00
|
|
|
|
1996-06-03 00:27:35 +00:00
|
|
|
MAINTAINER= jraynard@FreeBSD.ORG
|
1995-02-10 06:15:04 +00:00
|
|
|
|
1995-04-18 05:18:51 +00:00
|
|
|
IS_INTERACTIVE= yes
|
1996-06-05 17:35:13 +00:00
|
|
|
NO_PACKAGE=yes
|
1995-04-18 05:18:51 +00:00
|
|
|
|
1995-02-10 06:15:04 +00:00
|
|
|
pre-configure:
|
1996-11-12 02:19:40 +00:00
|
|
|
@{CP} ${FILESDIR}/m-fbsd-2.h ${WRKSRC}/config/m-fbsd-2.h
|
1995-02-10 06:15:04 +00:00
|
|
|
@(cd ${WRKSRC} ; ./config.mst fbsd-2)
|
|
|
|
@${TOUCH} ${TOUCH_FLAGS} ${CONFIGURE_COOKIE}
|
|
|
|
|
1996-06-03 00:27:35 +00:00
|
|
|
do-build:
|
1996-11-12 02:19:40 +00:00
|
|
|
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;
|
1996-06-03 00:27:35 +00:00
|
|
|
|
1995-04-24 11:29:30 +00:00
|
|
|
do-install:
|
1996-06-05 17:35:13 +00:00
|
|
|
@echo "Installing method definitions..."
|
1996-11-12 02:19:40 +00:00
|
|
|
@ if [ ! -d ${PREFIX}/lib/smalltalk ]; then ${MKDIR} ${PREFIX}/lib/smalltalk; fi
|
|
|
|
@(cd ${WRKSRC}; ${CP} *.st ${PREFIX}/lib/smalltalk)
|
1996-06-03 00:27:35 +00:00
|
|
|
@(cd ${PREFIX}/lib/smalltalk ; chmod +r *.st)
|
|
|
|
@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)"
|
1996-06-05 17:35:13 +00:00
|
|
|
@echo "followed by 'cp mst ${PREFIX}/bin'."
|
1996-06-03 00:27:35 +00:00
|
|
|
@echo
|
|
|
|
@echo "Finally, if Emacs is installed, you may also wish to copy the"
|
1996-06-05 17:35:13 +00:00
|
|
|
@echo "st*.el files to the Emacs Lisp directory. This will enable you"
|
|
|
|
@echo "to configure Emacs for Interactor mode."
|
1996-06-03 00:27:35 +00:00
|
|
|
@echo
|
1996-06-05 17:35:13 +00:00
|
|
|
@echo ">>Please read the file"
|
|
|
|
@echo "${WRKSRC}/mst.texinfo"
|
|
|
|
@echo "for more information.<<"
|
1996-06-03 00:27:35 +00:00
|
|
|
@echo
|
1995-02-10 06:15:04 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|