summaryrefslogtreecommitdiff
path: root/net/gupnp-igd/Makefile
blob: 6311c1df2dac1583996eb5d85d3f07a8e64b3684 (plain)
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
33
34
35
36
# $NetBSD: Makefile,v 1.17 2012/10/23 17:18:26 asau Exp $
#

DISTNAME=	gupnp-igd-0.2.1
CATEGORIES=	net devel
#MASTER_SITES=	${MASTER_SITE_GNOME:=sources/gupnp-igd/0.2/}
MASTER_SITES=	http://pkgs.fedoraproject.org/repo/pkgs/gupnp-igd/gupnp-igd-0.2.1.tar.gz/03be8a80e2862cf72b2c50d65043828c/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.gupnp.org/
COMMENT=	Library to handle UPnP IGD port mapping
LICENSE=	gnu-lgpl-v2.1

GNU_CONFIGURE=	yes
USE_LIBTOOL=	yes
USE_TOOLS+=	gmake pkg-config

PKGCONFIG_OVERRIDE+=	gupnp-igd-1.0.pc.in
PY_PATCHPLIST=	yes

CONFIGURE_ENV+=	PYTHON=${PYTHONBIN:Q}

SUBST_CLASSES+=		pyconfig
SUBST_STAGE.pyconfig=	pre-configure
SUBST_VARS.pyconfig=	PYTHONCONFIG
SUBST_FILES.pyconfig=	python/Makefile.in

TEST_TARGET=	check

.include "../../net/gupnp/buildlink3.mk"
BUILDLINK_API_DEPENDS.glib2+=	glib2>=2.14.0
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/py-gobject/buildlink3.mk"
.include "../../textproc/gtk-doc/buildlink3.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"