aboutsummaryrefslogtreecommitdiff
path: root/net/fsplib/Makefile
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-06-15 21:07:18 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-06-15 21:07:18 +0000
commit6065a47810fb83957e740bf5bddba8129ff411da (patch)
tree37cec64f5298c3ab41b6748e9ce90a20378d4d9f /net/fsplib/Makefile
parent619911a10259aadda7e6eeb25b40f010d02b0533 (diff)
downloadports-6065a47810fb83957e740bf5bddba8129ff411da.tar.gz
ports-6065a47810fb83957e740bf5bddba8129ff411da.zip
Notes
Diffstat (limited to 'net/fsplib/Makefile')
-rw-r--r--net/fsplib/Makefile16
1 files changed, 13 insertions, 3 deletions
diff --git a/net/fsplib/Makefile b/net/fsplib/Makefile
index 1245b8589036..1bf5d0670d3f 100644
--- a/net/fsplib/Makefile
+++ b/net/fsplib/Makefile
@@ -5,8 +5,8 @@
# $FreeBSD$
PORTNAME= fsplib
-PORTVERSION= 0.9
-PORTREVISION= 1
+PORTVERSION= 0.11
+PORTREVISION= 0
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= fsp
@@ -16,7 +16,17 @@ COMMENT= Library implementing FSP protocol
NO_WRKSUBDIR= yes
USE_SCONS= yes
+SCONS_ARGS= prefix=${PREFIX}
-PLIST_FILES= include/fsplib.h lib/libfsp.a
+PLIST_FILES= include/fsplib.h lib/libfsplib.a
+
+OPTIONS= SHARED "Install shared library (EXPERIMENTAL)" OFF
+
+.include <bsd.port.options.mk>
+
+.if defined(WITH_SHARED)
+SCONS_ARGS+= enable-shared=1
+PLIST_FILES+= lib/libfsplib.so.0.0.0
+.endif
.include <bsd.port.mk>