aboutsummaryrefslogtreecommitdiff
path: root/lang/swi-pl/Makefile
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2006-01-18 18:00:00 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2006-01-18 18:00:00 +0000
commit3c08c7c63c1feaddb28d9ceebc7698653841e132 (patch)
tree5979c618802574c4ae31a4aa6cce7e39030967ab /lang/swi-pl/Makefile
parentbf8e8345646b627842873f74cd98ca9a49c8afe4 (diff)
downloadports-3c08c7c63c1feaddb28d9ceebc7698653841e132.tar.gz
ports-3c08c7c63c1feaddb28d9ceebc7698653841e132.zip
Notes
Diffstat (limited to 'lang/swi-pl/Makefile')
-rw-r--r--lang/swi-pl/Makefile20
1 files changed, 11 insertions, 9 deletions
diff --git a/lang/swi-pl/Makefile b/lang/swi-pl/Makefile
index 210c00118345..ab4a321bd9fc 100644
--- a/lang/swi-pl/Makefile
+++ b/lang/swi-pl/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= swi-pl
-PORTVERSION= 5.4.7
+PORTVERSION= 5.6.2
CATEGORIES= lang
MASTER_SITES= ftp://ftp.swi.psy.uva.nl/SWI-Prolog/ \
http://gollem.science.uva.nl/cgi-bin/nph-download/SWI-Prolog/
@@ -15,23 +15,25 @@ DISTNAME= pl-${PORTVERSION}
MAINTAINER= g.gonter@ieee.org
COMMENT= Edinburgh-style Prolog compiler
-LIB_DEPENDS= readline.5:${PORTSDIR}/devel/readline
-
CONFLICTS= slffea-[0-9]* TenDRA-[0-9]*
-NOPRECIOUSMAKEVARS=yes
+
+NOPRECIOUSMAKEVARS= yes
USE_REINPLACE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-# Find libreadline from ports:
-CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
-LDFLAGS+= -L${LOCALBASE}/lib
-CONFIGURE_ENV+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+CONFIGURE_ENV= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --host=${MACHINE_ARCH}-${OPSYS:L} --disable-mt
+
MAN1= pl.1 plrc.1 plld.1
+
PLIST_SUB= DISTNAME=${DISTNAME} ARCH=${ARCH} OS=${OPSYS:L}
.include <bsd.port.pre.mk>
+.if ${OSVERSION} < 500100
+IGNORE= doesn't support FreeBSD < 5.0. Require some C99 functions
+.endif
+
.if (${ARCH} == "i386")
PLIST_SUB+= BITS=32
.else
@@ -57,7 +59,7 @@ post-install:
.for f in pl plld plrc
@${STRIP_CMD} ${PREFIX}/lib/${DISTNAME}/bin/${ARCH}-${OPSYS:L}/$f
.endfor
- # swi-pl creates this empty directory
+# swi-pl creates this empty directory
${RMDIR} ${PREFIX}/lib/${DISTNAME}/man
.include <bsd.port.post.mk>