aboutsummaryrefslogtreecommitdiffstats
path: root/net/gupnp-igd/Makefile
blob: 7343d3199653045af5f6a2e3cc164a30cb9ff052 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Created by: Martin Wilke <miwi@FreeBSD.org>
# $FreeBSD$

PORTNAME=   gupnp-igd
PORTVERSION=    0.2.2
CATEGORIES= net
MASTER_SITES=   GNOME

MAINTAINER= sunpoet@FreeBSD.org
COMMENT=    Library to handle UPnP IGD port mapping

LICENSE=    LGPL21

BUILD_DEPENDS=  ${LOCALBASE}/libdata/pkgconfig/pygobject-2.0.pc:${PORTSDIR}/devel/py-gobject \
        gobject-introspection>=0.10:${PORTSDIR}/devel/gobject-introspection \
        gupnp>=0.18:${PORTSDIR}/net/gupnp
LIB_DEPENDS=    gupnp-1.0:${PORTSDIR}/net/gupnp
RUN_DEPENDS=    gupnp>=0.18:${PORTSDIR}/net/gupnp

CONFIGURE_ARGS= --enable-introspection=yes
GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_GNOME=  glib20
USE_LDCONFIG=   yes
USE_PYTHON= yes
USE_XZ=     yes
USES=       pathfix pkgconfig

post-patch:
    @${REINPLACE_CMD} -e '/ --define-variable=/d' ${WRKSRC}/configure

.include <bsd.port.mk>