aboutsummaryrefslogtreecommitdiffstats
path: root/audio/festival-freebsoft-utils/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/festival-freebsoft-utils/Makefile')
-rw-r--r--audio/festival-freebsoft-utils/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/audio/festival-freebsoft-utils/Makefile b/audio/festival-freebsoft-utils/Makefile
index 81fa29e5c6d0..a2352bd58a22 100644
--- a/audio/festival-freebsoft-utils/Makefile
+++ b/audio/festival-freebsoft-utils/Makefile
@@ -20,13 +20,15 @@ PORTDOCS= ANNOUNCE NEWS README
INFO= ${PORTNAME}
+.include <bsd.port.options.mk>
+
do-install:
${MKDIR} ${LOCALBASE}/share/festival/lib
cd ${WRKSRC} && ${INSTALL_DATA} *.scm ${LOCALBASE}/share/festival/lib
cd ${WRKSRC}/doc && ${INSTALL_MAN} ${PORTNAME}.info ${PREFIX}/${INFO_PATH}
post-install:
-.ifndef(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_MAN} ${WRKSRC}/${f} ${DOCSDIR}