aboutsummaryrefslogtreecommitdiff
path: root/net/minisapserver/Makefile
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/Makefile
parent2c0aa84c5d176733051f0c8e535a6d30e2a32471 (diff)
- Update to 0.3.1 [1]
- Make OPTIONS really work Noticed by: ports version checker thing [1]
Notes
Notes: svn path=/head/; revision=144253
Diffstat (limited to 'net/minisapserver/Makefile')
-rw-r--r--net/minisapserver/Makefile12
1 files changed, 8 insertions, 4 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>