aboutsummaryrefslogtreecommitdiff
path: root/textproc/coccigrep/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/coccigrep/Makefile')
-rw-r--r--textproc/coccigrep/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/textproc/coccigrep/Makefile b/textproc/coccigrep/Makefile
index 7a28272b56a2..08be10146651 100644
--- a/textproc/coccigrep/Makefile
+++ b/textproc/coccigrep/Makefile
@@ -23,13 +23,15 @@ MANCOMPRESSED= no
MAN1= coccigrep.1
+.include <bsd.port.options.mk>
+
post-install:
${INSTALL_MAN} ${WRKSRC}/coccigrep.1 ${MANPREFIX}/man/man1
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/editors/cocci-grep.el ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/editors/cocci-grep.vim ${DATADIR}
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.rst ${DOCSDIR}