From 033e894e88a7c741158bdeaf2d7c50db27694ffa Mon Sep 17 00:00:00 2001 From: bapt Date: Tue, 12 Jul 2011 06:22:21 +0000 Subject: - update to 0.3.7 - use xz distfile - add license - remove useless gmake dependency --- net/minisapserver/Makefile | 20 ++++++++------------ net/minisapserver/distinfo | 4 ++-- 2 files changed, 10 insertions(+), 14 deletions(-) (limited to 'net/minisapserver') diff --git a/net/minisapserver/Makefile b/net/minisapserver/Makefile index 2a2f3b36ce21..7bc99f114a28 100644 --- a/net/minisapserver/Makefile +++ b/net/minisapserver/Makefile @@ -6,43 +6,38 @@ # PORTNAME= minisapserver -PORTVERSION= 0.3.6 +PORTVERSION= 0.3.7 CATEGORIES= net multimedia MASTER_SITES= http://downloads.videolan.org/pub/videolan/miniSAPserver/${PORTVERSION}/ MAINTAINER= multimedia@FreeBSD.org COMMENT= SAP and SLP announcement for the VLC Media Player -USE_BZIP2= yes +LICENSE= GPLv2 + +USE_XZ= yes +USE_ICONV= yes GNU_CONFIGURE= yes -USE_GMAKE= yes MAN1= sapserver.1 PLIST_FILES= bin/sapserver etc/sap.cfg-dist USE_RC_SUBR= sapserver SUB_FILES= pkg-message OPTIONS= SLP "Enable SLP support via openslp" off -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib" +CPPFLAGS+= -I${LOCALBASE}/include +CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" .include .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" .else CONFIGURE_ARGS+=--disable-slp .endif .include -.if ${OSVERSION} < 700000 -BROKEN= does not compile on 6.x -.endif - post-patch: @${REINPLACE_CMD} -e 's|$$(prefix)/share/man|${MANPREFIX}/man|; \ s|$$(prefix)/share/doc/sapserver|${DOCSDIR}|; \ @@ -52,6 +47,7 @@ post-patch: ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|/etc/sap.cfg|${PREFIX}/etc/sap.cfg|' \ ${WRKSRC}/sapserver.h + @${REINPLACE_CMD} -e 's|a6->sin_len|a6->sin6_len|g' ${WRKSRC}/broadcast.cpp @${CP} -f ${WRKSRC}/sap.cfg ${WRKSRC}/sap.cfg-dist post-install: diff --git a/net/minisapserver/distinfo b/net/minisapserver/distinfo index e84f3115cf56..60246fdbd5ed 100644 --- a/net/minisapserver/distinfo +++ b/net/minisapserver/distinfo @@ -1,2 +1,2 @@ -SHA256 (minisapserver-0.3.6.tar.bz2) = 4d30aa0b6e1cf68971c022a618812f01da81e89f6107f0d4327f6b374548132a -SIZE (minisapserver-0.3.6.tar.bz2) = 119936 +SHA256 (minisapserver-0.3.7.tar.xz) = 362af7b31d33afd452dd9b8b20c969dd62521306acb5d895b9ead7fdde598b68 +SIZE (minisapserver-0.3.7.tar.xz) = 121416 -- cgit