aboutsummaryrefslogtreecommitdiff
path: root/lang/smalltalk
diff options
context:
space:
mode:
authorJames Raynard <jraynard@FreeBSD.org>1996-06-03 00:27:35 +0000
committerJames Raynard <jraynard@FreeBSD.org>1996-06-03 00:27:35 +0000
commit2631471abdb44b7e26c98ea04f836623d6448ed7 (patch)
tree7dfa05eb6e83fc86ae308c4f78b97dcde0578414 /lang/smalltalk
parent11781c94df00b096366d33aa70fdedda51d339db (diff)
downloadports-2631471abdb44b7e26c98ea04f836623d6448ed7.tar.gz
ports-2631471abdb44b7e26c98ea04f836623d6448ed7.zip
Change maintainer to jraynard.
Build either X or non-X version depending on whether X11BASE exists. Make info printed out at install stage more informative.
Notes
Notes: svn path=/head/; revision=3157
Diffstat (limited to 'lang/smalltalk')
-rw-r--r--lang/smalltalk/Makefile30
1 files changed, 26 insertions, 4 deletions
diff --git a/lang/smalltalk/Makefile b/lang/smalltalk/Makefile
index ce047202345b..651e7f360df6 100644
--- a/lang/smalltalk/Makefile
+++ b/lang/smalltalk/Makefile
@@ -3,14 +3,14 @@
# Date created: 09 Feb 1995
# Whom: gpalmer
#
-# $Id: Makefile,v 1.6 1995/04/24 11:29:30 asami Exp $
+# $Id: Makefile,v 1.7 1995/11/22 13:13:16 asami Exp $
#
DISTNAME= smalltalk-1.1.1
CATEGORIES+= lang
MASTER_SITES= ftp://prep.ai.mit.edu/pub/gnu/
-MAINTAINER= gpalmer@FreeBSD.ORG
+MAINTAINER= jraynard@FreeBSD.ORG
IS_INTERACTIVE= yes
@@ -19,8 +19,30 @@ pre-configure:
@(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 ">> The install target for smalltalk-1.1.1 is interactive."
- @echo ">> Please read the file mst.texinfo for more information."
+ @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
.include <bsd.port.mk>