summaryrefslogtreecommitdiff
path: root/net/libupnp/Makefile
blob: 6fd03fc35f129722d8216f1a44d791cd149f3af2 (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
# $NetBSD: Makefile,v 1.28 2021/06/04 18:56:40 adam Exp $

DISTNAME=	libupnp-1.14.7
CATEGORIES=	net
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=pupnp/}
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://pupnp.sourceforge.io/
COMMENT=	Portable Universal Plug and Play (UPnP) SDK
LICENSE=	modified-bsd

USE_LIBTOOL=		yes
USE_TOOLS+=		pkg-config
GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--disable-samples
PKGCONFIG_OVERRIDE+=	libupnp.pc.in
TEST_TARGET=		check

CFLAGS.SunOS+=		-D_POSIX_PTHREAD_SEMANTICS

.include "options.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"