aboutsummaryrefslogtreecommitdiff
path: root/audio/linux-mbrola/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/linux-mbrola/Makefile')
-rw-r--r--audio/linux-mbrola/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/audio/linux-mbrola/Makefile b/audio/linux-mbrola/Makefile
index 23a5e3cba8e9..7ae7fc7585b8 100644
--- a/audio/linux-mbrola/Makefile
+++ b/audio/linux-mbrola/Makefile
@@ -27,7 +27,10 @@ PLIST= ${WRKDIR}/plist
PLIST_DIRS= share/doc/mbrola
PLIST_FILES= bin/mbrola
-.if !defined(NOPORTDOCS)
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
PLIST_FILES+= share/doc/mbrola/readme.txt
.endif
@@ -38,7 +41,7 @@ do-extract:
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/mbrola-linux-i386 ${PREFIX}/bin/mbrola
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
.endif