aboutsummaryrefslogtreecommitdiff
path: root/net/minisapserver
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2011-07-12 06:22:21 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2011-07-12 06:22:21 +0000
commit08ecdcb44a19ea1c838856b2b216e9dbce3ae12a (patch)
tree74f5f9782e35063f42a8ac0b05afc10ceacba7c1 /net/minisapserver
parentede209a156245cdd8c9d1e4373b731f43d03f690 (diff)
downloadports-08ecdcb44a19ea1c838856b2b216e9dbce3ae12a.tar.gz
ports-08ecdcb44a19ea1c838856b2b216e9dbce3ae12a.zip
Notes
Diffstat (limited to 'net/minisapserver')
-rw-r--r--net/minisapserver/Makefile20
-rw-r--r--net/minisapserver/distinfo4
2 files changed, 10 insertions, 14 deletions
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 <bsd.port.options.mk>
.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 <bsd.port.pre.mk>
-.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