blob: e7f7c0c913ae9be928a47957accb23b7bbee90cb (
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
40
41
|
# Created by: Yen-Ming Lee <leeym@leeym.com>
# $FreeBSD$
PORTNAME= upnp
PORTVERSION= 1.6.18
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_LIBS="-pthread"
.include <bsd.port.options.mk>
.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 <bsd.port.mk>
|