File:  [cvs.NetBSD.org] / pkgsrc / net / gupnp-igd / Makefile
Revision 1.17: download - view: text, annotated - select for diffs
Tue Oct 23 17:18:26 2012 UTC (12 years, 1 month ago) by asau
Branches: MAIN
CVS tags: pkgsrc-2012Q4-base, pkgsrc-2012Q4, HEAD
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.

# $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"

CVSweb <webmaster@jp.NetBSD.org>