aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--textproc/grap/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/textproc/grap/Makefile b/textproc/grap/Makefile
index 653cf8a6c22d..d3dd0d8944fe 100644
--- a/textproc/grap/Makefile
+++ b/textproc/grap/Makefile
@@ -16,9 +16,13 @@ COMMENT= An implementation of Kernigan & Bentley's grap language
GNU_CONFIGURE= yes
CONFIGURE_ARGS=--with-freebsd-ports
+CONFLICTS_INSTALL=heirloom-doctools-[0-9]*
+
MAN1= grap.1
-.if defined(NOPORTDOCS)
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
post-install:
${RM} -rf ${DOCSDIR}
.endif