1995-02-10 01:15:04 -05:00
|
|
|
# New ports collection makefile for: smalltalk
|
|
|
|
# Version required: 1.1.1
|
|
|
|
# Date created: 09 Feb 1995
|
|
|
|
# Whom: gpalmer
|
|
|
|
#
|
1999-08-22 15:01:07 -04:00
|
|
|
# $Id: Makefile,v 1.15 1999/01/27 07:41:22 fenner Exp $
|
1995-02-10 01:15:04 -05:00
|
|
|
#
|
|
|
|
|
1997-11-29 09:15:44 -05:00
|
|
|
DISTNAME= smalltalk-1.1.5
|
1996-11-11 21:19:40 -05:00
|
|
|
CATEGORIES= lang
|
1996-11-18 05:25:35 -05:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
1999-01-27 02:41:29 -05:00
|
|
|
MASTER_SITE_SUBDIR= smalltalk
|
1995-04-15 01:44:50 -04:00
|
|
|
|
1996-06-02 20:27:35 -04:00
|
|
|
MAINTAINER= jraynard@FreeBSD.ORG
|
1995-02-10 01:15:04 -05:00
|
|
|
|
1997-11-29 09:15:44 -05:00
|
|
|
BUILD_DEPENDS= ${PREFIX}/lib/libgdbm.a:${PORTSDIR}/databases/gdbm
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --with-optimize --with-readline
|
|
|
|
|
1995-04-18 01:18:51 -04:00
|
|
|
IS_INTERACTIVE= yes
|
1996-12-07 20:45:16 -05:00
|
|
|
NO_PACKAGE= "Installation requires interaction"
|
1995-04-18 01:18:51 -04:00
|
|
|
|
1997-11-29 09:15:44 -05:00
|
|
|
# For some reason configure doesn't set this up properly and my feeble
|
|
|
|
# brain can't see how to fix it.
|
|
|
|
CFLAGS+= -I${X11BASE}/include
|
1996-06-02 20:27:35 -04:00
|
|
|
|
1995-04-24 07:29:30 -04:00
|
|
|
do-install:
|
1996-06-05 13:35:13 -04:00
|
|
|
@echo "Installing method definitions..."
|
1996-11-11 21:19:40 -05:00
|
|
|
@ if [ ! -d ${PREFIX}/lib/smalltalk ]; then ${MKDIR} ${PREFIX}/lib/smalltalk; fi
|
|
|
|
@(cd ${WRKSRC}; ${CP} *.st ${PREFIX}/lib/smalltalk)
|
1999-08-22 15:01:07 -04:00
|
|
|
@(cd ${PREFIX}/lib/smalltalk ; ${CHMOD} +r *.st)
|
1996-06-02 20:27:35 -04:00
|
|
|
@echo
|
|
|
|
@echo "To complete the installation of GNU Smalltalk, do"
|
1997-11-29 09:15:44 -05:00
|
|
|
@echo " cd ${WRKSRC};"
|
|
|
|
@echo "./gst -iV"
|
|
|
|
@echo "to test the interpreter and create the image."
|
1996-06-02 20:27:35 -04:00
|
|
|
@echo
|
|
|
|
@echo "When you are satisfied everything works, do Control-D to quit"
|
1997-11-29 09:15:44 -05:00
|
|
|
@echo "followed by"
|
|
|
|
@echo "cp gst ${PREFIX}/bin"
|
|
|
|
@echo "cp gst.im ${PREFIX}/lib/smalltalk"
|
|
|
|
@echo "to install the interpreter and image."
|
1996-06-02 20:27:35 -04:00
|
|
|
@echo
|
1997-11-29 09:15:44 -05:00
|
|
|
@echo "If Emacs is installed, you may also wish to copy the"
|
|
|
|
@echo "*st.el files to the Emacs Lisp directory. This will enable you"
|
1996-06-05 13:35:13 -04:00
|
|
|
@echo "to configure Emacs for Interactor mode."
|
1996-06-02 20:27:35 -04:00
|
|
|
@echo
|
1997-11-29 09:15:44 -05:00
|
|
|
@echo ">>Please read the file"
|
|
|
|
@echo "${WRKSRC}/info/gst.txi"
|
1996-06-05 13:35:13 -04:00
|
|
|
@echo "for more information.<<"
|
1996-06-02 20:27:35 -04:00
|
|
|
@echo
|
1995-02-10 01:15:04 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|