aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2009-04-08 10:33:16 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2009-04-08 10:33:16 +0000
commit8dc49736f14dbb4d9070d82f6893fdb0c7a9caad (patch)
tree4e49563eac54d81a4a257b17a0abbafaecbe103f /sysutils
parentc8fd25ea3e1eb8efc206cdaf06befad4424a4b2e (diff)
downloadports-8dc49736f14dbb4d9070d82f6893fdb0c7a9caad.tar.gz
ports-8dc49736f14dbb4d9070d82f6893fdb0c7a9caad.zip
Fix plist with -DNOPORT*.
Prompted by: QAT QA run Approved by: maintainer timeout on QATMail
Notes
Notes: svn path=/head/; revision=231872
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/wtmp-tools/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysutils/wtmp-tools/Makefile b/sysutils/wtmp-tools/Makefile
index 0cc36c284403..f6962ad9c0ef 100644
--- a/sysutils/wtmp-tools/Makefile
+++ b/sysutils/wtmp-tools/Makefile
@@ -22,5 +22,8 @@ PLIST_FILES= bin/t2w
post-patch:
@${REINPLACE_CMD} -e 's,^prefix.*=.*$$,prefix = ${PREFIX},' \
${WRKSRC}/Makefile
+.ifdef NOPORTDOCS
+ @${REINPLACE_CMD} -e '/$$(docdir)\/wtmp-tool/d' ${WRKSRC}/Makefile
+.endif
.include <bsd.port.mk>