aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2009-04-05 21:31:45 +0800
committeritetcu <itetcu@FreeBSD.org>2009-04-05 21:31:45 +0800
commit696df0d32b07cd4692a7490fd1a39a87260feed4 (patch)
tree3b87fd834452c02bd5bed5f75439c139ec127ab0 /security
parentd1d74e758414d07fd9903d0abb2161b8a9384ede (diff)
downloadfreebsd-ports-gnome-696df0d32b07cd4692a7490fd1a39a87260feed4.tar.gz
freebsd-ports-gnome-696df0d32b07cd4692a7490fd1a39a87260feed4.tar.zst
freebsd-ports-gnome-696df0d32b07cd4692a7490fd1a39a87260feed4.zip
Don't install DOCS when -DNOPORTDOCS.
Prompted by: QAT QA run Approved by: maintainer timeout on QATMail
Diffstat (limited to 'security')
-rw-r--r--security/botan/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/security/botan/Makefile b/security/botan/Makefile
index 6f970e00537f..efa6afe7b27b 100644
--- a/security/botan/Makefile
+++ b/security/botan/Makefile
@@ -31,6 +31,11 @@ PLIST_SUB= PORTVERSION=${PORTVERSION}
.if !defined(NOPORTDOCS)
DOCSDIR= ${PREFIX}/share/doc/Botan-${PORTVERSION}
PORTDOCS= *
+.else
+post-configure:
+ ${REINPLACE_CMD} -e '/$$(MKDIR_INSTALL) $$(DOCDIR)/d' \
+ -e '/$$(INSTALL_CMD_DATA) $$$$i $$(DOCDIR); /d' \
+ ${WRKSRC}/Makefile
.endif
.include <bsd.port.mk>