aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorjraynard <jraynard@FreeBSD.org>1996-06-03 08:27:35 +0800
committerjraynard <jraynard@FreeBSD.org>1996-06-03 08:27:35 +0800
commitf6260f47ce77e68d2b2f117955c18fab0e6839b2 (patch)
tree75b7d0ef9579a24fffce5cf72b12c078f0906626 /lang
parent8e48bd97362aef14cbd62b44f50b6b553b502486 (diff)
downloadfreebsd-ports-gnome-f6260f47ce77e68d2b2f117955c18fab0e6839b2.tar.gz
freebsd-ports-gnome-f6260f47ce77e68d2b2f117955c18fab0e6839b2.tar.zst
freebsd-ports-gnome-f6260f47ce77e68d2b2f117955c18fab0e6839b2.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.
Diffstat (limited to 'lang')
-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>