Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= upnp |
8 |
PORTNAME= upnp |
9 |
PORTVERSION= 1.6.10 |
9 |
PORTVERSION= 1.6.12 |
10 |
PORTEPOCH= 1 |
10 |
PORTEPOCH= 1 |
11 |
CATEGORIES= devel |
11 |
CATEGORIES= devel |
12 |
MASTER_SITES= SF/p${PORTNAME}/p${PORTNAME}/libUPnP%20${PORTVERSION} |
12 |
MASTER_SITES= SF/p${PORTNAME}/p${PORTNAME}/libUPnP%20${PORTVERSION} |
Lines 27-47
Link Here
|
27 |
PTHREAD_LIBS="${PTHREAD_LIBS}" |
27 |
PTHREAD_LIBS="${PTHREAD_LIBS}" |
28 |
|
28 |
|
29 |
.if defined(NOPORTDOCS) |
29 |
.if defined(NOPORTDOCS) |
30 |
CONFIGURE_ARGS= --without-documentation |
30 |
CONFIGURE_ARGS+= --without-documentation |
31 |
.else |
31 |
.else |
32 |
CONFIGURE_ARGS= --with-documentation=${DOCSDIR} |
32 |
CONFIGURE_ARGS+= --with-documentation=${DOCSDIR} |
33 |
PORTDOCS= * |
33 |
PORTDOCS= * |
34 |
.endif |
34 |
.endif |
35 |
|
35 |
|
|
|
36 |
.if defined(WITH_DEBUG) |
37 |
CONFIGURE_ARGS+= --enable-debug |
38 |
.endif |
39 |
|
36 |
post-patch: .SILENT |
40 |
post-patch: .SILENT |
37 |
${REINPLACE_CMD} '/^pkgconfigexecdir/s|$$(libdir)|$$(prefix)/libdata|' \ |
41 |
${REINPLACE_CMD} '/^pkgconfigexecdir/s|$$(libdir)|$$(prefix)/libdata|' \ |
38 |
${WRKSRC}/Makefile.in |
42 |
${WRKSRC}/Makefile.in |
39 |
|
43 |
|
40 |
.include <bsd.port.pre.mk> |
44 |
.include <bsd.port.mk> |
41 |
|
|
|
42 |
# strndup(3) was added in 7.2-RELEASE |
43 |
.if ${OSVERSION} < 702000 |
44 |
EXTRA_PATCHES+= ${FILESDIR}/extra-upnp-src-api-UpnpString.c |
45 |
.endif |
46 |
|
47 |
.include <bsd.port.post.mk> |