mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
9bc6330be8
- Mark BROKEN on 4.x - Pass maintainership to submitter PR: ports/102147 Submitted by: Babak Farrokhi <babak at farrokhi.net>
48 lines
1.0 KiB
Makefile
48 lines
1.0 KiB
Makefile
# New ports collection makefile for: upnp
|
|
# Date created: 02 August 2002
|
|
# Whom: Yen-Ming Lee <leeym@leeym.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= upnp
|
|
PORTVERSION= 1.4.1
|
|
PORTEPOCH= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= pupnp
|
|
DISTNAME= lib${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= babak@farrokhi.net
|
|
COMMENT= Universal Plug and Play Software Development Kit
|
|
|
|
CONFLICTS= upnp-1.0.*
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 500000
|
|
BROKEN= Does not compile on FreeBSD 4.X
|
|
.endif
|
|
|
|
NOT_FOR_ARCH= amd64 sparc64
|
|
GNU_CONFIGURE= yes
|
|
USE_DOS2UNIX= yes
|
|
MAKE_ENV= PTHREAD_LIBS=${PTHREAD_LIBS}
|
|
NOT_FOR_ARCHS= sparc64
|
|
USE_LDCONFIG= yes
|
|
CONFIGURE_ENV+= LIBS="-llwres -lcompat"
|
|
|
|
.if defined(NOPORTDOCS)
|
|
CONFIGURE_ARGS= --without-docdir
|
|
.else
|
|
CONFIGURE_ARGS= --with-docdir=${DOCSDIR}
|
|
.endif
|
|
|
|
post-patch:
|
|
${FIND} ${WRKSRC} -type f | \
|
|
${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>
|