aboutsummaryrefslogtreecommitdiff
path: root/lang/swi-pl/Makefile
diff options
context:
space:
mode:
authorMasafumi Max NAKANE <max@FreeBSD.org>2004-12-27 04:00:58 +0000
committerMasafumi Max NAKANE <max@FreeBSD.org>2004-12-27 04:00:58 +0000
commitcf9458a8529dd0a56c1b0e42fc1695869726276d (patch)
tree4fa3a2e1361ce1ce10608fa8f863dd3c4e9386b5 /lang/swi-pl/Makefile
parent88562e87f654232992870f9fbfefc433e3f37790 (diff)
downloadports-cf9458a8529dd0a56c1b0e42fc1695869726276d.tar.gz
ports-cf9458a8529dd0a56c1b0e42fc1695869726276d.zip
Notes
Diffstat (limited to 'lang/swi-pl/Makefile')
-rw-r--r--lang/swi-pl/Makefile17
1 files changed, 13 insertions, 4 deletions
diff --git a/lang/swi-pl/Makefile b/lang/swi-pl/Makefile
index 55c71577e441..362d3b770009 100644
--- a/lang/swi-pl/Makefile
+++ b/lang/swi-pl/Makefile
@@ -6,13 +6,13 @@
#
PORTNAME= swi-pl
-PORTVERSION= 5.2.8
-PORTREVISION= 2
+PORTVERSION= 5.4.5
CATEGORIES= lang
-MASTER_SITES= ftp://ftp.swi.psy.uva.nl/pub/SWI-Prolog/
+MASTER_SITES= ftp://ftp.swi.psy.uva.nl/SWI-Prolog/ \
+ http://gollem.science.uva.nl/cgi-bin/nph-download/SWI-Prolog/
DISTNAME= pl-${PORTVERSION}
-MAINTAINER= max@FreeBSD.org
+MAINTAINER= g.gonter@ieee.org
COMMENT= Edinburgh-style Prolog compiler
CONFLICTS= ploticus-[0-9]* slffea-[0-9]* TenDRA-[0-9]*
@@ -44,4 +44,13 @@ post-patch:
${REINPLACE_CMD} -e '/edit/s/INSTALL_PROGRAM/BSD_INSTALL_SCRIPT/g' \
${WRKSRC}/src/Makefile.in
+post-configure:
+ ${REINPLACE_CMD} -e '/MALLOC_H/s/^#define \(HAVE_.*_MALLOC_H\).*/\/\* #undef \1 \*\//g' \
+ ${WRKSRC}/src/config.h
+
+post-install:
+.for f in pl plld plrc
+ @${STRIP_CMD} ${PREFIX}/lib/${DISTNAME}/bin/${ARCH}-${OPSYS:L}/$f
+.endfor
+
.include <bsd.port.post.mk>