aboutsummaryrefslogtreecommitdiff
path: root/net/minisapserver
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2005-10-05 04:30:00 +0000
committerMichael Johnson <ahze@FreeBSD.org>2005-10-05 04:30:00 +0000
commitde153aa0fb5e5e69dda98d4d0ef83b1681ce2e62 (patch)
tree61a5b6af992319c6d98fd894766fb2692c27b080 /net/minisapserver
parent2c0aa84c5d176733051f0c8e535a6d30e2a32471 (diff)
downloadports-de153aa0fb5e5e69dda98d4d0ef83b1681ce2e62.tar.gz
ports-de153aa0fb5e5e69dda98d4d0ef83b1681ce2e62.zip
Notes
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