summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2014-08-12 15:56:22 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2014-08-12 15:56:22 +0800
commit834e9e107d8493c2b40a2a57150bebffd5a63360 (patch)
tree19f09d7104048a4d9b3eb04308bf3e5df7a1430c
parent1286835c2008755fa09ee0403a20b4dd80f3b823 (diff)
downloadmarcuscom-ports-834e9e107d8493c2b40a2a57150bebffd5a63360.tar
marcuscom-ports-834e9e107d8493c2b40a2a57150bebffd5a63360.tar.gz
marcuscom-ports-834e9e107d8493c2b40a2a57150bebffd5a63360.tar.bz2
marcuscom-ports-834e9e107d8493c2b40a2a57150bebffd5a63360.tar.lz
marcuscom-ports-834e9e107d8493c2b40a2a57150bebffd5a63360.tar.xz
marcuscom-ports-834e9e107d8493c2b40a2a57150bebffd5a63360.tar.zst
marcuscom-ports-834e9e107d8493c2b40a2a57150bebffd5a63360.zip
Update to 0.1.7.
Use INSTALL_TARGET for stipping. Use new option handlers for GUPNP git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@19798 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--net-im/libnice/Makefile23
-rw-r--r--net-im/libnice/distinfo4
-rw-r--r--net-im/libnice/pkg-plist3
3 files changed, 10 insertions, 20 deletions
diff --git a/net-im/libnice/Makefile b/net-im/libnice/Makefile
index fe2b51432..13f68bf9b 100644
--- a/net-im/libnice/Makefile
+++ b/net-im/libnice/Makefile
@@ -3,7 +3,7 @@
# $MCom$
PORTNAME= libnice
-PORTVERSION= 0.1.5
+PORTVERSION= 0.1.7
CATEGORIES= net-im devel
MASTER_SITES= http://nice.freedesktop.org/releases/
@@ -16,19 +16,16 @@ USE_GNOME= glib20
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include -DHAVE_GETIFADDRS
LDFLAGS+= -L${LOCALBASE}/lib
+INSTALL_TARGET= install-strip
.if !defined(LIBNICE_SLAVE)
OPTIONS_DEFINE= GUPNP
GUPNP_DESC= UPnP IGD port mapping support
+GUPNP_LIB_DEPENDS+= libgupnp-igd-1.0.so:${PORTSDIR}/net/gupnp-igd
+GUPNP_CONFIGURE_ENABLE= gupnp
.endif
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MGUPNP}
-LIB_DEPENDS+= libgupnp-igd-1.0.so:${PORTSDIR}/net/gupnp-igd
-.else
-CONFIGURE_ARGS+=--disable-gupnp
-.endif
+#.include <bsd.port.options.mk>
.if defined(LIBNICE_SLAVE)
. if ${LIBNICE_SLAVE}==gstreamer010
@@ -46,15 +43,7 @@ CONFIGURE_ARGS= --without-gstreamer --without-gstreamer-0.10
post-patch:
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
's|-Wno-missing-field-initializers|#|g'
- @${REINPLACE_CMD} -e 's|-Wno-missing-field-initializers|#|g' \
- ${WRKSRC}/common.mk
@${REINPLACE_CMD} -e 's|-Werror||g' ${WRKSRC}/configure
-post-install:
-.if !defined(LIBNICE_SLAVE)
- @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so*
-.else
- @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*/lib*.so
-.endif
-
.include <bsd.port.mk>
+
diff --git a/net-im/libnice/distinfo b/net-im/libnice/distinfo
index 8470cf270..a70cdd538 100644
--- a/net-im/libnice/distinfo
+++ b/net-im/libnice/distinfo
@@ -1,2 +1,2 @@
-SHA256 (libnice-0.1.5.tar.gz) = 0a2743b69c8f50b8ca85243abe81b8d884b210430f413ca94b55bcff62fdf097
-SIZE (libnice-0.1.5.tar.gz) = 819737
+SHA256 (libnice-0.1.7.tar.gz) = 4ed165aa2203136dce548c7cef735d8becf5d9869793f96b99dcbbaa9acf78d8
+SIZE (libnice-0.1.7.tar.gz) = 827258
diff --git a/net-im/libnice/pkg-plist b/net-im/libnice/pkg-plist
index 8a99c709f..e3e68be51 100644
--- a/net-im/libnice/pkg-plist
+++ b/net-im/libnice/pkg-plist
@@ -20,7 +20,7 @@ lib/libnice.a
lib/libnice.la
lib/libnice.so
lib/libnice.so.10
-lib/libnice.so.10.3.0
+lib/libnice.so.10.4.1
libdata/pkgconfig/nice.pc
share/gtk-doc/html/libnice/NiceAgent.html
share/gtk-doc/html/libnice/annotation-glossary.html
@@ -42,6 +42,7 @@ share/gtk-doc/html/libnice/ix07.html
share/gtk-doc/html/libnice/ix08.html
share/gtk-doc/html/libnice/ix09.html
share/gtk-doc/html/libnice/ix10.html
+share/gtk-doc/html/libnice/ix11.html
share/gtk-doc/html/libnice/left.png
share/gtk-doc/html/libnice/libnice-Bind.html
share/gtk-doc/html/libnice/libnice-Debug-messages.html