Date: Sun, 11 Jul 2004 20:07:03 -0400 (EDT) From: michael johnson <ahze@ahze.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/68935: [MAINTAINER] net/minisapserver: [add option for SLP via openslp] Message-ID: <200407120007.i6C073EE070255@ahze.net> Resent-Message-ID: <200407120010.i6C0AO5d017674@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 68935 >Category: ports >Synopsis: [MAINTAINER] net/minisapserver: [add option for SLP via openslp] >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Jul 12 00:10:24 GMT 2004 >Closed-Date: >Last-Modified: >Originator: michael johnson >Release: FreeBSD 5.2-CURRENT i386 >Organization: >Environment: System: FreeBSD ahze.net 5.2-CURRENT FreeBSD 5.2-CURRENT #53: Fri Jun 11 22:50:16 EDT 2004 >Description: - add option for SLP via openslp Generated with FreeBSD Port Tools 0.50 >How-To-Repeat: >Fix: --- minisapserver-0.2.3_1.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/net/minisapserver/Makefile,v retrieving revision 1.2 diff -u -r1.2 Makefile --- Makefile 7 Jun 2004 09:03:58 -0000 1.2 +++ Makefile 12 Jul 2004 00:04:37 -0000 @@ -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,17 @@ 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 + +.include <bsd.port.pre.mk> + +.if defined(WITH_OPENSLP) +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|; \ @@ -47,4 +59,4 @@ @${INSTALL_SCRIPT} ${WRKDIR}/sapserver.sh ${PREFIX}/etc/rc.d/ @${CAT} ${PKGMESSAGE} -.include <bsd.port.mk> +.include <bsd.port.post.mk> --- minisapserver-0.2.3_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407120007.i6C073EE070255>