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