aboutsummaryrefslogtreecommitdiff
path: root/textproc/libxml2
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/libxml2')
-rw-r--r--textproc/libxml2/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/textproc/libxml2/Makefile b/textproc/libxml2/Makefile
index df4b033ca591..4c424408e68b 100644
--- a/textproc/libxml2/Makefile
+++ b/textproc/libxml2/Makefile
@@ -58,6 +58,11 @@ post-patch:
${WRKSRC}/${f}
.endfor
+.if !defined(MASTERDIR)
+post-install:
+ @${RM} -rf ${STAGEDIR}${PREFIX}/share/gtk-doc/html/libxml2
+.endif
+
.include <bsd.port.mk>
.endif