# $NetBSD: Makefile,v 1.14 2008/05/15 13:42:29 obache Exp $ # DISTNAME= libupnp-1.6.6 PKGREVISION= 1 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pupnp/} EXTRACT_SUFX= .tar.bz2 MAINTAINER= obache@NetBSD.org HOMEPAGE= http://pupnp.sourceforge.net/ COMMENT= Portable Universal Plug and Play (UPnP) SDK USE_LANGUAGES= c USE_TOOLS+= pkg-config USE_LIBTOOL= yes GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-documentation PKGCONFIG_OVERRIDE+= libupnp.pc.in BUILDLINK_TRANSFORM+= rm:-lcompat PKG_DESTDIR_SUPPORT= user-destdir TEST_TARGET= check .include "../../mk/bsd.prefs.mk" .include "../../mk/pthread.buildlink3.mk" .if ${OPSYS} == "NetBSD" && exists(/usr/include/sys/pset.h) PTHREAD_LIBS+= -lrt .endif .include "../../mk/bsd.pkg.mk"