From 49bf36d52771ccccdeacb84f6e4f3406a8814618 Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Fri, 3 Jan 2014 15:26:06 +0000 Subject: Convert to PORT_OPTIONS:MDOCS. Holdout shame list: ruby, perl, python --- audio/streamtranscoder/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'audio/streamtranscoder/Makefile') 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 + 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 -- cgit v1.2.3