aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/libsigc++20/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/devel/libsigc++20/Makefile b/devel/libsigc++20/Makefile
index d02972c06b59..26f99a25a0d6 100644
--- a/devel/libsigc++20/Makefile
+++ b/devel/libsigc++20/Makefile
@@ -31,5 +31,10 @@ PLIST_SUB= VERSION="2.0" API_VERSION="2.0"
post-patch:
@${REINPLACE_CMD} -e "/^SUBDIRS =/s|tests||; \
/^SUBDIRS =/s|examples||" ${WRKSRC}/Makefile.in
+.if defined(NOPORTDOCS)
+ @${REINPLACE_CMD} -e "/^install-data-am:/s/install-libsigc_docDATA//; \
+ s/^\(SUBDIRS =\).*/\1/" \
+ ${WRKSRC}/docs/Makefile.in
+.endif
.include <bsd.port.mk>