aboutsummaryrefslogtreecommitdiffstats
path: root/devel/xmltooling/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/xmltooling/Makefile')
-rw-r--r--devel/xmltooling/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/devel/xmltooling/Makefile b/devel/xmltooling/Makefile
index e8bfadbb245c..5acec7cafcb1 100644
--- a/devel/xmltooling/Makefile
+++ b/devel/xmltooling/Makefile
@@ -26,13 +26,11 @@ PORTDOCS= *
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
post-patch:
@${REINPLACE_CMD} -e 's,^pkgdocdir.*=.*,pkgdocdir = ${DOCSDIR},' \
${WRKSRC}/doc/Makefile.in
-.if empty(PORT_OPTIONS:MDOCS)
+
+post-patch-DOCS-off:
@${REINPLACE_CMD} -e '/^SUBDIRS/s,doc ,,' ${WRKSRC}/Makefile.in
-.endif
.include <bsd.port.mk>