1995-02-10 06:15:04 +00:00
|
|
|
# New ports collection makefile for: smalltalk
|
1999-12-22 10:31:12 +00:00
|
|
|
# Version required: 1.1.5
|
1995-02-10 06:15:04 +00:00
|
|
|
# Date created: 09 Feb 1995
|
|
|
|
# Whom: gpalmer
|
|
|
|
#
|
1999-08-25 06:35:40 +00:00
|
|
|
# $FreeBSD$
|
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
|
|
|
|
1999-12-22 10:31:12 +00:00
|
|
|
MAINTAINER= alex@big.endian.de
|
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:
|
1999-08-27 22:30:39 +00:00
|
|
|
@${ECHO_MSG} "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)
|
1999-08-22 19:01:07 +00:00
|
|
|
@(cd ${PREFIX}/lib/smalltalk ; ${CHMOD} +r *.st)
|
1999-08-27 22:30:39 +00:00
|
|
|
@${ECHO_MSG}
|
|
|
|
@${ECHO_MSG} "To complete the installation of GNU Smalltalk, do"
|
|
|
|
@${ECHO_MSG} " cd ${WRKSRC};"
|
|
|
|
@${ECHO_MSG} "./gst -iV"
|
|
|
|
@${ECHO_MSG} "to test the interpreter and create the image."
|
|
|
|
@${ECHO_MSG}
|
|
|
|
@${ECHO_MSG} "When you are satisfied everything works, do Control-D to quit"
|
|
|
|
@${ECHO_MSG} "followed by"
|
|
|
|
@${ECHO_MSG} "cp gst ${PREFIX}/bin"
|
|
|
|
@${ECHO_MSG} "cp gst.im ${PREFIX}/lib/smalltalk"
|
|
|
|
@${ECHO_MSG} "to install the interpreter and image."
|
|
|
|
@${ECHO_MSG}
|
|
|
|
@${ECHO_MSG} "If Emacs is installed, you may also wish to copy the"
|
|
|
|
@${ECHO_MSG} "*st.el files to the Emacs Lisp directory. This will enable you"
|
|
|
|
@${ECHO_MSG} "to configure Emacs for Interactor mode."
|
|
|
|
@${ECHO_MSG}
|
|
|
|
@${ECHO_MSG} ">>Please read the file"
|
|
|
|
@${ECHO_MSG} "${WRKSRC}/info/gst.txi"
|
|
|
|
@${ECHO_MSG} "for more information.<<"
|
|
|
|
@${ECHO_MSG}
|
1995-02-10 06:15:04 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|