aboutsummaryrefslogtreecommitdiff
path: root/audio/cutmp3/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/cutmp3/Makefile')
-rw-r--r--audio/cutmp3/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/audio/cutmp3/Makefile b/audio/cutmp3/Makefile
index e54c20153a20..5d6e4f7bf878 100644
--- a/audio/cutmp3/Makefile
+++ b/audio/cutmp3/Makefile
@@ -19,11 +19,13 @@ PLIST_FILES= bin/cutmp3
PORTDOCS= README README.timetable USAGE
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e 's|gcc|${CC}|g' ${WRKSRC}/Makefile
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
.endif