freebsd-ports/devel/upnp/Makefile

46 lines
981 B
Makefile
Raw Normal View History

# New ports collection makefile for: upnp
# Date created: 02 August 2002
# Whom: Yen-Ming Lee <leeym@leeym.com>
#
# $FreeBSD$
#
PORTNAME= upnp
PORTVERSION= 1.4.0
PORTEPOCH= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= pupnp
2005-12-02 06:47:35 +01:00
DISTNAME= lib${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
2003-02-15 12:33:52 +01:00
COMMENT= Universal Plug and Play Software Development Kit
CONFLICTS= upnp-1.0.*
2005-12-02 06:53:24 +01:00
.include <bsd.port.pre.mk>
.if ${ARCH}==amd64
BROKEN=does not compile on amd64
.endif
GNU_CONFIGURE= yes
USE_DOS2UNIX= yes
MAKE_ENV= PTHREAD_LIBS=${PTHREAD_LIBS}
2003-02-15 12:33:52 +01:00
NOT_FOR_ARCHS= sparc64
INSTALLS_SHLIB= yes
.if defined(NOPORTDOCS)
CONFIGURE_ARGS= --without-docdir
.else
CONFIGURE_ARGS= --with-docdir=${DOCSDIR}
.endif
post-patch:
${FIND} ${WRKSRC} -type f | \
2005-12-02 06:47:35 +01:00
${XARGS} ${REINPLACE_CMD} -e 's,malloc.h,stdlib.h,'
${REINPLACE_CMD} -Ee 's,^(pkgconfigexecdir = ).*,\1${PREFIX}/libdata/pkgconfig,' \
${WRKSRC}/Makefile.in
.include <bsd.port.post.mk>