aboutsummaryrefslogtreecommitdiff
path: root/lang/yap-devel
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2015-06-30 02:30:36 +0000
committerDanilo Egea Gondolfo <danilo@FreeBSD.org>2015-06-30 02:30:36 +0000
commitd47a56ea283912eec7cac19854cf7c022c260471 (patch)
treeebcc2d11cefaf654a0d7d457375405cda83e603f /lang/yap-devel
parentf468aa5a1c369db2fc6c4bdc658f1bf6f63285e7 (diff)
downloadports-d47a56ea283912eec7cac19854cf7c022c260471.tar.gz
ports-d47a56ea283912eec7cac19854cf7c022c260471.zip
Notes
Diffstat (limited to 'lang/yap-devel')
-rw-r--r--lang/yap-devel/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/lang/yap-devel/Makefile b/lang/yap-devel/Makefile
index 701b7a9a1301..4bfb3cf4b89c 100644
--- a/lang/yap-devel/Makefile
+++ b/lang/yap-devel/Makefile
@@ -3,7 +3,7 @@
PORTNAME= yap
PORTVERSION= 6.3.3
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= lang
MASTER_SITES= http://www.dcc.fc.up.pt/~vsc/Yap/
PKGNAMESUFFIX= -devel
@@ -14,6 +14,8 @@ COMMENT= High-performance Prolog compiler
LICENSE= ART20 LGPL3
LICENSE_COMB= dual
+LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp
+
CONFLICTS= yap-6.2.*
OPTIONS_DEFINE= DOCS MYDDAS
@@ -28,12 +30,19 @@ DOCS_INSTALL_TARGET= install install_docs
MYDDAS_LIB_DEPENDS= libiodbc.so:${PORTSDIR}/databases/libiodbc
MYDDAS_CONFIGURE_ENABLE= myddas myddas-top-level
+LDFLAGS+= -L${LOCALBASE}/lib
+MAKE_ENV= PKGLDFLAGS="${LDFLAGS}"
+
STRIP= #none
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-max-performance --disable-clpbn-bp
-USES= gmake
+USES= gmake shebangfix
+SHEBANG_FILES= packages/http/examples/demo_inetd
+SHEBANG_LANG= swipl
+swipl_OLD_CMD= /usr/bin/swipl
+swipl_CMD= ${LOCALBASE}/bin/swipl # installed by lang/swi-pl
USE_GCC= any
EXTRACT_CMD= ${GZIP_CMD}