1995-02-10 07:15:04 +01:00
|
|
|
# New ports collection makefile for: smalltalk
|
|
|
|
# Date created: 09 Feb 1995
|
|
|
|
# Whom: gpalmer
|
|
|
|
#
|
1999-08-25 08:35:40 +02:00
|
|
|
# $FreeBSD$
|
1995-02-10 07:15:04 +01:00
|
|
|
#
|
|
|
|
|
2000-04-12 08:21:15 +02:00
|
|
|
PORTNAME= smalltalk
|
2003-11-22 19:40:28 +01:00
|
|
|
PORTVERSION= 2.1.5
|
2004-02-04 06:21:48 +01:00
|
|
|
PORTREVISION= 1
|
1996-11-12 03:19:40 +01:00
|
|
|
CATEGORIES= lang
|
1996-11-18 11:25:35 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
2001-02-20 17:50:54 +01:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
1995-04-15 07:44:50 +02:00
|
|
|
|
2000-12-31 18:00:04 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= GNU Smalltalk
|
1995-02-10 07:15:04 +01:00
|
|
|
|
2004-03-30 21:20:22 +02:00
|
|
|
LIB_DEPENDS= gdbm.3:${PORTSDIR}/databases/gdbm
|
2002-06-29 21:14:59 +02:00
|
|
|
|
2002-06-21 18:20:23 +02:00
|
|
|
USE_REINPLACE= yes
|
2000-03-31 19:02:49 +02:00
|
|
|
USE_GMAKE= yes
|
2004-03-30 21:20:22 +02:00
|
|
|
USE_ICONV= yes
|
1997-11-29 15:15:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2002-11-18 23:52:02 +01:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2003-05-19 02:01:14 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
|
2002-10-16 23:23:58 +02:00
|
|
|
MAKEINFO="makeinfo --no-split"
|
2003-11-22 19:40:28 +01:00
|
|
|
CONFIGURE_ARGS= --disable-gtk --without-emacs --without-gmp
|
1997-11-29 15:15:44 +01:00
|
|
|
|
1999-12-27 22:43:34 +01:00
|
|
|
MAN1= gst.1
|
2003-11-22 19:40:28 +01:00
|
|
|
INFO= gst gst-base gst-libs
|
1995-04-18 07:18:51 +02:00
|
|
|
|
2003-05-19 02:01:14 +02:00
|
|
|
CPPFLAGS= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS= -L${LOCALBASE}/lib
|
|
|
|
|
2002-01-06 05:59:45 +01:00
|
|
|
.if defined(WITH_TCLTK)
|
2003-11-22 19:40:28 +01:00
|
|
|
LIB_DEPENDS+= tk84.1:${PORTSDIR}/x11-toolkits/tk84
|
|
|
|
CONFIGURE_ARGS+= --with-tcl=${LOCALBASE}/lib/tcl8.4 \
|
|
|
|
--with-tk=${LOCALBASE}/lib/tk8.4
|
2003-05-19 02:01:14 +02:00
|
|
|
PLIST_SUB+= TCLTK=""
|
2002-01-06 05:59:45 +01:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --with-tcl=no
|
2003-05-19 02:01:14 +02:00
|
|
|
PLIST_SUB+= TCLTK="@comment "
|
2002-01-06 05:59:45 +01:00
|
|
|
.endif
|
|
|
|
|
2004-03-14 02:29:36 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} != "i386" && ${ARCH} != "alpha"
|
|
|
|
BROKEN= "Does not compile on !i386 and !alpha"
|
|
|
|
.endif
|
|
|
|
|
2001-03-07 23:42:43 +01:00
|
|
|
post-extract:
|
2003-11-22 19:40:28 +01:00
|
|
|
@${RM} -f ${WRKSRC}/doc/*.info*
|
2001-03-07 23:42:43 +01:00
|
|
|
|
2002-11-18 23:52:02 +01:00
|
|
|
post-patch:
|
2002-06-21 18:20:23 +02:00
|
|
|
@${FIND} ${WRKSRC} -name 'Makefile.in' | ${XARGS} ${REINPLACE_CMD} -e \
|
2003-11-22 19:40:28 +01:00
|
|
|
's|-release $$(VERSION)|-avoid-version|g'
|
2002-06-29 21:14:59 +02:00
|
|
|
@${REINPLACE_CMD} -e \
|
2003-05-19 02:01:14 +02:00
|
|
|
's|<malloc\.h>|<stdlib.h>|g' ${WRKSRC}/examples/gdbm.c
|
2004-09-24 21:43:49 +02:00
|
|
|
@${REINPLACE_CMD} -E -e \
|
|
|
|
's|volatile (mst_Boolean)|\1|g' ${WRKSRC}/libgst/interp.h
|
2003-05-19 02:01:14 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.el ${PREFIX}/share/emacs/site-lisp
|
2002-10-16 23:23:58 +02:00
|
|
|
|
2004-03-14 02:29:36 +01:00
|
|
|
.include <bsd.port.post.mk>
|