aboutsummaryrefslogtreecommitdiff
path: root/net/gupnp-igd
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-11-17 17:31:04 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-11-17 17:31:04 +0000
commitfb41ca68eca01d315ae2654c6ed428f57e619e68 (patch)
tree665a556b7c102fd78ec2521dcb7a2b6d9dc8ba3e /net/gupnp-igd
parent9823d08e27de43a151996c1c34c6facf3c601b17 (diff)
downloadports-fb41ca68eca01d315ae2654c6ed428f57e619e68.tar.gz
ports-fb41ca68eca01d315ae2654c6ed428f57e619e68.zip
Notes
Diffstat (limited to 'net/gupnp-igd')
-rw-r--r--net/gupnp-igd/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/net/gupnp-igd/Makefile b/net/gupnp-igd/Makefile
index 2db1301812d6..47e67281bd4f 100644
--- a/net/gupnp-igd/Makefile
+++ b/net/gupnp-igd/Makefile
@@ -15,25 +15,28 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= gobject-introspection>=0.10:devel/gobject-introspection \
gupnp>=0.18:net/gupnp
-LIB_DEPENDS= libgupnp-1.0.so:net/gupnp
+LIB_DEPENDS= libgssdp-1.2.so:net/gssdp \
+ libgupnp-1.2.so:net/gupnp
RUN_DEPENDS= gupnp>=0.18:net/gupnp
OPTIONS_DEFINE= PYTHON
OPTIONS_DEFAULT=PYTHON
OPTIONS_SUB= yes
+USES= gmake gnome libtool pathfix pkgconfig tar:xz
+USE_GNOME= glib20 introspection:build
+
CONFIGURE_ARGS= --enable-introspection=yes
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
-USE_GNOME= glib20 introspection:build
USE_LDCONFIG= yes
-USES= gmake gnome libtool pathfix pkgconfig tar:xz
PYTHON_CONFIGURE_ENABLE=python
PYTHON_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gobject>=2.12.0:devel/py-gobject@${PY_FLAVOR}
PYTHON_USES= python:2.7
post-patch:
+ @${REINPLACE_CMD} -e 's|gssdp-1.0|gssdp-1.2|; s|gupnp-1.0|gupnp-1.2|' ${WRKSRC}/configure ${WRKSRC}/gupnp-igd-1.0.pc.in ${WRKSRC}/libgupnp-igd/Makefile.in ${WRKSRC}/libgupnp-igd/GUPnPIgd-1.0.gir
@${REINPLACE_CMD} -e '/ --define-variable=/d' ${WRKSRC}/configure
.include <bsd.port.mk>