aboutsummaryrefslogtreecommitdiffstats
path: root/net/minisapserver
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2011-07-12 14:22:21 +0800
committerbapt <bapt@FreeBSD.org>2011-07-12 14:22:21 +0800
commit033e894e88a7c741158bdeaf2d7c50db27694ffa (patch)
tree5e30385ba0184a428482febad7dc710535b90281 /net/minisapserver
parent59a882fdde718bfe907b2510cfebb8b142b382a6 (diff)
downloadfreebsd-ports-gnome-033e894e88a7c741158bdeaf2d7c50db27694ffa.tar.gz
freebsd-ports-gnome-033e894e88a7c741158bdeaf2d7c50db27694ffa.tar.zst
freebsd-ports-gnome-033e894e88a7c741158bdeaf2d7c50db27694ffa.zip
- update to 0.3.7
- use xz distfile - add license - remove useless gmake dependency
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