2018-08-16 13:34:18 +02:00
|
|
|
# $NetBSD: Makefile,v 1.55 2018/08/16 11:34:18 wiz Exp $
|
2009-08-02 13:35:26 +02:00
|
|
|
|
2018-08-16 13:34:18 +02:00
|
|
|
DISTNAME= gupnp-1.0.3
|
2009-08-02 13:35:26 +02:00
|
|
|
CATEGORIES= net
|
2016-09-30 16:52:05 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gupnp/1.0/}
|
2012-10-06 10:14:20 +02:00
|
|
|
EXTRACT_SUFX= .tar.xz
|
2009-08-02 13:35:26 +02:00
|
|
|
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
|
|
HOMEPAGE= http://www.gupnp.org/
|
|
|
|
COMMENT= Framework for UPnP devices
|
2010-01-20 14:44:26 +01:00
|
|
|
LICENSE= gnu-lgpl-v2
|
2009-08-02 13:35:26 +02:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_LIBTOOL= yes
|
2013-07-06 18:14:34 +02:00
|
|
|
USE_TOOLS+= gmake pkg-config
|
2009-08-02 13:35:26 +02:00
|
|
|
|
|
|
|
PKGCONFIG_OVERRIDE+= gupnp-1.0.pc.in
|
|
|
|
REPLACE_PYTHON= tools/gupnp-binding-tool
|
|
|
|
|
2015-01-25 09:15:34 +01:00
|
|
|
TEST_TARGET= check
|
|
|
|
#CFLAGS=-O0 -g
|
|
|
|
#CONFIGURE_ARGS+= CFLAGS=${CFLAGS:Q}
|
|
|
|
#CONFIGURE_ARGS+= --disable-shared
|
|
|
|
#CONFIGURE_ARGS+= --enable-static
|
|
|
|
|
2011-01-30 02:45:25 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2011-11-22 20:28:21 +01:00
|
|
|
.if !empty(OPSYS:M*BSD) || ${OPSYS} == "DragonFly" || ${OPSYS} == "Darwin"
|
2011-01-30 02:45:25 +01:00
|
|
|
pre-configure:
|
|
|
|
cp ${FILESDIR}/uuid.pc ${BUILDLINK_DIR}/lib/pkgconfig/
|
|
|
|
.else
|
|
|
|
.include "../../devel/libuuid/buildlink3.mk"
|
|
|
|
.endif
|
|
|
|
|
2013-07-06 18:14:34 +02:00
|
|
|
.include "../../archivers/xz/buildlink3.mk"
|
2015-02-04 17:27:43 +01:00
|
|
|
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.39.90
|
2009-08-02 13:35:26 +02:00
|
|
|
.include "../../devel/glib2/buildlink3.mk"
|
2013-07-06 18:14:34 +02:00
|
|
|
.include "../../devel/gobject-introspection/buildlink3.mk"
|
|
|
|
.include "../../lang/python/application.mk"
|
2015-06-07 16:05:57 +02:00
|
|
|
BUILDLINK_API_DEPENDS.libsoup+= libsoup>=2.48.0
|
|
|
|
.include "../../net/libsoup/buildlink3.mk"
|
2016-09-30 16:52:05 +02:00
|
|
|
BUILDLINK_API_DEPENDS.gssdp+= gssdp>=0.14.15
|
2009-08-02 13:35:26 +02:00
|
|
|
.include "../../net/gssdp/buildlink3.mk"
|
|
|
|
.include "../../textproc/libxml2/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|