1995-02-10 06:15:04 +00:00
|
|
|
# New ports collection makefile for: smalltalk
|
|
|
|
# Version required: 1.1.1
|
|
|
|
# Date created: 09 Feb 1995
|
|
|
|
# Whom: gpalmer
|
|
|
|
#
|
1999-01-27 07:41:29 +00:00
|
|
|
# $Id: Makefile,v 1.14 1997/11/29 14:15:01 jraynard Exp $
|
1995-02-10 06:15:04 +00:00
|
|
|
#
|
|
|
|
|
1997-11-29 14:15:44 +00:00
|
|
|
DISTNAME= smalltalk-1.1.5
|
1996-11-12 02:19:40 +00:00
|
|
|
CATEGORIES= lang
|
1996-11-18 10:25:35 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
1999-01-27 07:41:29 +00:00
|
|
|
MASTER_SITE_SUBDIR= smalltalk
|
1995-04-15 05:44:50 +00:00
|
|
|
|
1996-06-03 00:27:35 +00:00
|
|
|
MAINTAINER= jraynard@FreeBSD.ORG
|
1995-02-10 06:15:04 +00:00
|
|
|
|
1997-11-29 14:15:44 +00:00
|
|
|
BUILD_DEPENDS= ${PREFIX}/lib/libgdbm.a:${PORTSDIR}/databases/gdbm
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --with-optimize --with-readline
|
|
|
|
|
1995-04-18 05:18:51 +00:00
|
|
|
IS_INTERACTIVE= yes
|
1996-12-08 01:45:16 +00:00
|
|
|
NO_PACKAGE= "Installation requires interaction"
|
1995-04-18 05:18:51 +00:00
|
|
|
|
1997-11-29 14:15:44 +00: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-03 00:27:35 +00:00
|
|
|
|
1995-04-24 11:29:30 +00:00
|
|
|
do-install:
|
1996-06-05 17:35:13 +00:00
|
|
|
@echo "Installing method definitions..."
|
1996-11-12 02:19:40 +00:00
|
|
|
@ if [ ! -d ${PREFIX}/lib/smalltalk ]; then ${MKDIR} ${PREFIX}/lib/smalltalk; fi
|
|
|
|
@(cd ${WRKSRC}; ${CP} *.st ${PREFIX}/lib/smalltalk)
|
1996-06-03 00:27:35 +00:00
|
|
|
@(cd ${PREFIX}/lib/smalltalk ; chmod +r *.st)
|
|
|
|
@echo
|
|
|
|
@echo "To complete the installation of GNU Smalltalk, do"
|
1997-11-29 14:15:44 +00:00
|
|
|
@echo " cd ${WRKSRC};"
|
|
|
|
@echo "./gst -iV"
|
|
|
|
@echo "to test the interpreter and create the image."
|
1996-06-03 00:27:35 +00:00
|
|
|
@echo
|
|
|
|
@echo "When you are satisfied everything works, do Control-D to quit"
|
1997-11-29 14:15:44 +00: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-03 00:27:35 +00:00
|
|
|
@echo
|
1997-11-29 14:15:44 +00: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 17:35:13 +00:00
|
|
|
@echo "to configure Emacs for Interactor mode."
|
1996-06-03 00:27:35 +00:00
|
|
|
@echo
|
1997-11-29 14:15:44 +00:00
|
|
|
@echo ">>Please read the file"
|
|
|
|
@echo "${WRKSRC}/info/gst.txi"
|
1996-06-05 17:35:13 +00:00
|
|
|
@echo "for more information.<<"
|
1996-06-03 00:27:35 +00:00
|
|
|
@echo
|
1995-02-10 06:15:04 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|