diff options
author | vs <vs@FreeBSD.org> | 2004-07-14 04:27:21 +0800 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2004-07-14 04:27:21 +0800 |
commit | 0fd7d282f09da999cbbed7cb4b74e9ce32008381 (patch) | |
tree | 56c05c051a5b6c68c0cbf962710fef8ddb5f3083 /net/minisapserver | |
parent | 794e0be18b24e763a56451b69a242203dc74c8c6 (diff) | |
download | freebsd-ports-gnome-0fd7d282f09da999cbbed7cb4b74e9ce32008381.tar.gz freebsd-ports-gnome-0fd7d282f09da999cbbed7cb4b74e9ce32008381.tar.zst freebsd-ports-gnome-0fd7d282f09da999cbbed7cb4b74e9ce32008381.zip |
Add option for SLP via openslp
PR: ports/68935
Submitted by: Michael Johnson (maintainer)
Diffstat (limited to 'net/minisapserver')
-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|; \ |