From f6260f47ce77e68d2b2f117955c18fab0e6839b2 Mon Sep 17 00:00:00 2001 From: jraynard Date: Mon, 3 Jun 1996 00:27:35 +0000 Subject: 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. --- lang/smalltalk/Makefile | 30 ++++++++++++++++++++++++++---- 1 file changed, 26 insertions(+), 4 deletions(-) (limited to 'lang/smalltalk') 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 -- cgit