aboutsummaryrefslogtreecommitdiffstats
path: root/net/minisapserver
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2005-10-05 12:30:00 +0800
committerahze <ahze@FreeBSD.org>2005-10-05 12:30:00 +0800
commit7ce7c6cb47bae589946069603e973c8ad73ae415 (patch)
treeb1159dea766a7af4a098c1f4183e0a4857ce5f69 /net/minisapserver
parent26756cd948ef1cf75b6dcf106a5635a4ad53e37e (diff)
downloadfreebsd-ports-gnome-7ce7c6cb47bae589946069603e973c8ad73ae415.tar.gz
freebsd-ports-gnome-7ce7c6cb47bae589946069603e973c8ad73ae415.tar.zst
freebsd-ports-gnome-7ce7c6cb47bae589946069603e973c8ad73ae415.zip
- Update to 0.3.1 [1]
- Make OPTIONS really work Noticed by: ports version checker thing [1]
Diffstat (limited to 'net/minisapserver')
-rw-r--r--net/minisapserver/Makefile12
-rw-r--r--net/minisapserver/distinfo4
2 files changed, 10 insertions, 6 deletions
diff --git a/net/minisapserver/Makefile b/net/minisapserver/Makefile
index 695d62052862..574f283d2ab7 100644
--- a/net/minisapserver/Makefile
+++ b/net/minisapserver/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= minisapserver
-PORTVERSION= 0.3.0
+PORTVERSION= 0.3.1
CATEGORIES= net multimedia
MASTER_SITES= http://downloads.videolan.org/pub/videolan/miniSAPserver/${PORTVERSION}/
@@ -27,12 +27,16 @@ OPTIONS= SLP "Enable SLP support via openslp" off
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
+.include <bsd.port.pre.mk>
+
.if defined(WITH_SLP)
LIB_DEPENDS+= slp.1:${PORTSDIR}/net/openslp
-CONFIGURE_ARGS= --enable-slp
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+CONFIGURE_ARGS+=--enable-slp
+CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
+.else
+CONFIGURE_ARGS+=--disable-slp
.endif
post-patch:
@@ -54,4 +58,4 @@ post-install:
@${INSTALL_SCRIPT} ${WRKDIR}/sapserver.sh ${PREFIX}/etc/rc.d/
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/net/minisapserver/distinfo b/net/minisapserver/distinfo
index dd9d3d3e7ee1..99a3885f87df 100644
--- a/net/minisapserver/distinfo
+++ b/net/minisapserver/distinfo
@@ -1,2 +1,2 @@
-MD5 (minisapserver-0.3.0.tar.bz2) = 269438aeffb19192ea8b159facfb59a2
-SIZE (minisapserver-0.3.0.tar.bz2) = 110691
+MD5 (minisapserver-0.3.1.tar.bz2) = 3d100524ca80ee68583e6d5c79098705
+SIZE (minisapserver-0.3.1.tar.bz2) = 110164