aboutsummaryrefslogtreecommitdiffstats
path: root/devel/upnp/Makefile
blob: 8bede36a984a7455f46202d56c60d9fe5614f16f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# New ports collection makefile for:    upnp
# Date created:             02 August 2002
# Whom:                     Yen-Ming Lee <leeym@leeym.com>
#
# $FreeBSD$
#

PORTNAME=   upnp
PORTVERSION=    1.6.5
PORTEPOCH=  1
CATEGORIES= devel
MASTER_SITES=   SF/pupnp
DISTNAME=   lib${PORTNAME}-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Universal Plug and Play Software Development Kit

CONFLICTS=  upnp-1.0.*
USE_BZIP2=  yes
USE_AUTOTOOLS=  libtool:15
GNU_CONFIGURE=  yes
USE_GNOME=  gnomehack
USE_DOS2UNIX=   yes
USE_LDCONFIG=   yes

MAKE_ENV=   PTHREAD_LIBS=${PTHREAD_LIBS}
CONFIGURE_ENV+= LIBS="-llwres -lcompat"

.if defined(NOPORTDOCS)
CONFIGURE_ARGS= --without-documentation
.else
CONFIGURE_ARGS= --with-documentation=${DOCSDIR}
.endif

post-patch:
    ${FIND} ${WRKSRC} -type f | \
        ${XARGS} ${REINPLACE_CMD} -e 's,malloc.h,stdlib.h,'

.include <bsd.port.mk>