diff options
-rw-r--r-- | net/minisapserver/Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/net/minisapserver/Makefile b/net/minisapserver/Makefile index 7cc0633f00e3..79bcc530b83b 100644 --- a/net/minisapserver/Makefile +++ b/net/minisapserver/Makefile @@ -7,6 +7,7 @@ PORTNAME= minisapserver PORTVERSION= 0.2.3 +PORTREVISION= 1 CATEGORIES= net multimedia MASTER_SITES= http://download.videolan.org/pub/videolan/miniSAPserver/${PORTVERSION}/ DISTNAME= miniSAPserver-${PORTVERSION} @@ -23,6 +24,15 @@ PORTDOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README PLIST_FILES= bin/sapserver etc/sap.cfg-dist etc/rc.d/sapserver.sh USE_RC_SUBR= yes PKGMESSAGE= ${WRKDIR}/pkg-message +OPTIONS= SLP "Enable SLP support via openslp" off + +.if defined(WITH_SLP) +LIB_DEPENDS+= slp.1:${PORTSDIR}/net/openslp + +CONFIGURE_ARGS= --enable-slp +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" +.endif post-patch: @${REINPLACE_CMD} -e 's|$$(prefix)/share/man|${MANPREFIX}/man|; \ |