# New ports collection makefile for: upnp # Date created: 02 August 2002 # Whom: Yen-Ming Lee # # $FreeBSD$ # PORTNAME= upnp PORTVERSION= 1.6.17 PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= devel MASTER_SITES= SF/p${PORTNAME}/p${PORTNAME}/libUPnP%20${PORTVERSION} DISTNAME= lib${PORTNAME}-${PORTVERSION} MAINTAINER= pawel@FreeBSD.org COMMENT= Universal Plug and Play Software Development Kit LICENSE= BSD LICENSE_FILE= ${WRKSRC}/LICENSE USE_BZIP2= yes GNU_CONFIGURE= yes USE_LDCONFIG= yes MAKE_JOBS_SAFE= yes CONFIGURE_ENV+= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ PTHREAD_LIBS="${PTHREAD_LIBS}" OPTIONS_DEFINE= DEBUG .include .if ${PORT_OPTIONS:MDOCS} CONFIGURE_ARGS+= --with-documentation=${DOCSDIR} PORTDOCS= * .else CONFIGURE_ARGS+= --without-documentation .endif .if ${PORT_OPTIONS:MDEBUG} CONFIGURE_ARGS+= --enable-debug .endif post-patch: .SILENT ${REINPLACE_CMD} '/^pkgconfigexecdir/s|$$(libdir)|$$(prefix)/libdata|' \ ${WRKSRC}/Makefile.in .include