aboutsummaryrefslogtreecommitdiff
path: root/audio/streamtranscoder
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-01-03 15:26:06 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-01-03 15:26:06 +0000
commit49bf36d52771ccccdeacb84f6e4f3406a8814618 (patch)
treebc69c025c1ff53d7dce410b1f29dea3232181f67 /audio/streamtranscoder
parent0b5b09713e8ecc1ea80101553be41f5e7f4fbd2a (diff)
downloadports-49bf36d52771ccccdeacb84f6e4f3406a8814618.tar.gz
ports-49bf36d52771ccccdeacb84f6e4f3406a8814618.zip
Notes
Diffstat (limited to 'audio/streamtranscoder')
-rw-r--r--audio/streamtranscoder/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/audio/streamtranscoder/Makefile b/audio/streamtranscoder/Makefile
index 54c9b83b8352..1ecfebb35bd9 100644
--- a/audio/streamtranscoder/Makefile
+++ b/audio/streamtranscoder/Makefile
@@ -24,6 +24,8 @@ LDFLAGS+= -L${LOCALBASE}/lib
PLIST_FILES= bin/streamTranscoder
PORTDOCS= AUTHORS README
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e 's|-D_REENTRANT|${PTHREAD_CFLAGS}|g; \
s|-pthread|${PTHREAD_LIBS}|g; s|-O20|$$CFLAGS|g' \
@@ -33,7 +35,7 @@ post-patch:
${WRKSRC}/src/libtranscoder/transcurl.cpp
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif