aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/wtmp-tools
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2009-04-08 18:33:16 +0800
committeritetcu <itetcu@FreeBSD.org>2009-04-08 18:33:16 +0800
commitfa4415b64e1eb195d85b26f02e594f6739bb328d (patch)
tree289d4de28e64ed479a7f128060a4686f176bf9a1 /sysutils/wtmp-tools
parent214e054863306b90bc38e194afd658fe31b99732 (diff)
downloadfreebsd-ports-gnome-fa4415b64e1eb195d85b26f02e594f6739bb328d.tar.gz
freebsd-ports-gnome-fa4415b64e1eb195d85b26f02e594f6739bb328d.tar.zst
freebsd-ports-gnome-fa4415b64e1eb195d85b26f02e594f6739bb328d.zip
Fix plist with -DNOPORT*.
Prompted by: QAT QA run Approved by: maintainer timeout on QATMail
Diffstat (limited to 'sysutils/wtmp-tools')
-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>