mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
f138f8ed5e
Removed CFLAGS line which didn't appear to do anything. Minor changes to message printed out at install time.
51 lines
1.6 KiB
Makefile
51 lines
1.6 KiB
Makefile
# New ports collection makefile for: smalltalk
|
|
# Version required: 1.1.1
|
|
# Date created: 09 Feb 1995
|
|
# Whom: gpalmer
|
|
#
|
|
# $Id: Makefile,v 1.8 1996/06/03 00:27:35 jraynard Exp $
|
|
#
|
|
|
|
DISTNAME= smalltalk-1.1.1
|
|
CATEGORIES+= lang
|
|
MASTER_SITES= ftp://prep.ai.mit.edu/pub/gnu/
|
|
|
|
MAINTAINER= jraynard@FreeBSD.ORG
|
|
|
|
IS_INTERACTIVE= yes
|
|
NO_PACKAGE=yes
|
|
|
|
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}
|
|
|
|
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;
|
|
|
|
do-install:
|
|
@echo "Installing 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 "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 files to the Emacs Lisp directory. This will enable you"
|
|
@echo "to configure Emacs for Interactor mode."
|
|
@echo
|
|
@echo ">>Please read the file"
|
|
@echo "${WRKSRC}/mst.texinfo"
|
|
@echo "for more information.<<"
|
|
@echo
|
|
|
|
.include <bsd.port.mk>
|