1995-02-10 01:15:04 -05:00
|
|
|
# New ports collection makefile for: smalltalk
|
1999-12-22 05:31:12 -05:00
|
|
|
# Version required: 1.1.5
|
1995-02-10 01:15:04 -05:00
|
|
|
# Date created: 09 Feb 1995
|
|
|
|
# Whom: gpalmer
|
|
|
|
#
|
1999-08-25 02:35:40 -04:00
|
|
|
# $FreeBSD$
|
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
|
|
|
|
1999-12-22 05:31:12 -05:00
|
|
|
MAINTAINER= alex@big.endian.de
|
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:
|
1999-08-27 18:30:39 -04:00
|
|
|
@${ECHO_MSG} "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)
|
1999-08-27 18:30:39 -04: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 01:15:04 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|