aboutsummaryrefslogtreecommitdiffstats
path: root/lang/swi-pl
diff options
context:
space:
mode:
authorjohans <johans@FreeBSD.org>2014-02-13 13:58:22 +0800
committerjohans <johans@FreeBSD.org>2014-02-13 13:58:22 +0800
commitd9305838d20394a74c016ac100365d4df3b54f26 (patch)
treeba297640e850962e65e201a1226fe7f99bbba30b /lang/swi-pl
parent8a2f0ed397195ef59c5d0a9ea610750cf6ca17da (diff)
downloadfreebsd-ports-gnome-d9305838d20394a74c016ac100365d4df3b54f26.tar.gz
freebsd-ports-gnome-d9305838d20394a74c016ac100365d4df3b54f26.tar.zst
freebsd-ports-gnome-d9305838d20394a74c016ac100365d4df3b54f26.zip
Install shared library
Submitted by: sbremal@hotmail.com
Diffstat (limited to 'lang/swi-pl')
-rw-r--r--lang/swi-pl/Makefile6
-rw-r--r--lang/swi-pl/pkg-plist2
2 files changed, 6 insertions, 2 deletions
diff --git a/lang/swi-pl/Makefile b/lang/swi-pl/Makefile
index a8c93ac76054..c861fa1accfe 100644
--- a/lang/swi-pl/Makefile
+++ b/lang/swi-pl/Makefile
@@ -3,6 +3,7 @@
PORTNAME= swi-pl
PORTVERSION= 6.6.1
+PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= http://www.swi-prolog.org/download/stable/src/
DISTNAME= pl-${PORTVERSION}
@@ -32,7 +33,7 @@ MAKE_JOBS_UNSAFE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= ARCH=${ARCH}-${OPSYS:L}
CONFIGURE_TARGET= ${ARCH}-${OPSYS:L}
-CONFIGURE_ARGS= --with-world --without-jpl
+CONFIGURE_ARGS= --with-world --without-jpl --enable-shared
MAKE_ARGS= DISABLE_PKGS=jpl \
ac_cv_lib_ossp_uuid_uuid_create=no ac_cv_lib_uuid_uuid_create=no
@@ -42,7 +43,8 @@ swipl_CMD= ${LOCALBASE}/bin/swipl
SHEBANG_FILES= library/dialect/sicstus/swipl-lfr.pl \
packages/http/examples/demo_inetd
-PLIST_SUB= DISTNAME=${SWIPLDIR} ARCH=${ARCH} OS=${OPSYS:L}
+PLIST_SUB= DISTNAME=${SWIPLDIR} ARCH=${ARCH} OS=${OPSYS:L} \
+ VER=${PORTVERSION}
.include <bsd.port.pre.mk>
diff --git a/lang/swi-pl/pkg-plist b/lang/swi-pl/pkg-plist
index 8c572caacc13..1ff5c27c9e6e 100644
--- a/lang/swi-pl/pkg-plist
+++ b/lang/swi-pl/pkg-plist
@@ -336,6 +336,8 @@ lib/%%DISTNAME%%/lib/%%ARCH%%-%%OS%%/http_stream.so
lib/%%DISTNAME%%/lib/%%ARCH%%-%%OS%%/isub.so
lib/%%DISTNAME%%/lib/%%ARCH%%-%%OS%%/json.so
lib/%%DISTNAME%%/lib/%%ARCH%%-%%OS%%/libswipl.a
+lib/%%DISTNAME%%/lib/%%ARCH%%-%%OS%%/libswipl.so
+lib/%%DISTNAME%%/lib/%%ARCH%%-%%OS%%/libswipl.so.%%VER%%
lib/%%DISTNAME%%/lib/%%ARCH%%-%%OS%%/memfile.so
lib/%%DISTNAME%%/lib/%%ARCH%%-%%OS%%/mime.so
lib/%%DISTNAME%%/lib/%%ARCH%%-%%OS%%/ntriples.so