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-01-19 00:21:13 +01:00
|
|
|
PORTVERSION= 2.0.11
|
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
|
|
|
|
2002-06-29 21:14:59 +02:00
|
|
|
LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv \
|
2003-01-19 00:21:13 +01:00
|
|
|
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
|
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}
|
2002-06-29 21:14:59 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
2002-10-16 23:23:58 +02:00
|
|
|
MAKEINFO="makeinfo --no-split"
|
2003-01-19 00:21:13 +01:00
|
|
|
CONFIGURE_ARGS= --without-gmp
|
1997-11-29 15:15:44 +01:00
|
|
|
|
1999-12-27 22:43:34 +01:00
|
|
|
MAN1= gst.1
|
1995-04-18 07:18:51 +02:00
|
|
|
|
2002-01-06 05:59:45 +01:00
|
|
|
.if defined(WITH_TCLTK)
|
|
|
|
LIB_DEPENDS+= tk83.1:${PORTSDIR}/x11-toolkits/tk83
|
|
|
|
CONFIGURE_ARGS+= --with-tcl=${LOCALBASE}/lib/tcl8.3 \
|
|
|
|
--with-tk=${LOCALBASE}/lib/tk8.3
|
|
|
|
PLIST_SUB+= TCLTK=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --with-tcl=no
|
|
|
|
PLIST_SUB+= TCLTK="@comment "
|
|
|
|
.endif
|
|
|
|
|
2001-03-07 23:42:43 +01:00
|
|
|
post-extract:
|
2001-11-30 08:21:48 +01:00
|
|
|
@${RM} -f ${WRKSRC}/doc/gst.info*
|
2002-06-29 21:14:59 +02:00
|
|
|
@${RM} -f ${WRKSRC}/doc/gst-base.info*
|
|
|
|
@${RM} -f ${WRKSRC}/doc/gst-libs.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-01-03 18:32:12 +01:00
|
|
|
's|-release [$$][(]VERSION[)]|-avoid-version|g'
|
2002-06-29 21:14:59 +02:00
|
|
|
@${REINPLACE_CMD} -e \
|
2003-01-03 18:32:12 +01:00
|
|
|
's|<malloc\.h>|<stdlib.h>|g' ${WRKSRC}/examples/modules/gdbm.c
|
2002-10-16 23:23:58 +02:00
|
|
|
|
1995-02-10 07:15:04 +01:00
|
|
|
.include <bsd.port.mk>
|