2008-02-04 22:52:16 +01:00
|
|
|
# $NetBSD: Makefile,v 1.12 2008/02/04 21:52:16 tnn Exp $
|
2006-06-04 01:29:24 +02:00
|
|
|
#
|
|
|
|
|
2008-02-03 04:01:51 +01:00
|
|
|
DISTNAME= libupnp-1.6.5
|
2006-06-04 01:29:24 +02:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pupnp/}
|
2007-06-07 10:08:16 +02:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2006-06-04 01:29:24 +02:00
|
|
|
|
2007-08-19 03:36:22 +02:00
|
|
|
MAINTAINER= obache@NetBSD.org
|
2006-10-13 03:36:07 +02:00
|
|
|
HOMEPAGE= http://pupnp.sourceforge.net/
|
2006-06-04 01:29:24 +02:00
|
|
|
COMMENT= Portable Universal Plug and Play (UPnP) SDK
|
|
|
|
|
2007-08-19 03:36:22 +02:00
|
|
|
USE_LANGUAGES= c
|
2006-06-04 01:29:24 +02:00
|
|
|
USE_TOOLS+= pkg-config
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
2007-08-19 03:36:22 +02:00
|
|
|
CONFIGURE_ARGS+= --with-documentation
|
2006-06-04 01:29:24 +02:00
|
|
|
|
2007-08-19 03:36:22 +02:00
|
|
|
PKGCONFIG_OVERRIDE+= libupnp.pc.in
|
2007-06-07 10:08:16 +02:00
|
|
|
|
2008-01-03 13:32:34 +01:00
|
|
|
BUILDLINK_TRANSFORM+= rm:-lcompat
|
|
|
|
|
2007-11-08 04:56:58 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2007-12-11 01:21:20 +01:00
|
|
|
TEST_TARGET= check
|
|
|
|
|
2008-02-04 22:52:16 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
2006-06-04 01:29:24 +02:00
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
2008-02-04 22:52:16 +01:00
|
|
|
|
|
|
|
.if ${OPSYS} == "NetBSD" && exists(/usr/include/sys/pset.h)
|
|
|
|
PTHREAD_LIBS+= -lrt
|
|
|
|
.endif
|
|
|
|
|
2006-06-04 01:29:24 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|