Fix plist with -DNOPORT*.

Prompted by:	QAT QA run
Approved by:	maintainer timeout on QATMail
This commit is contained in:
Ion-Mihai Tetcu 2009-04-08 10:33:16 +00:00
parent c8fd25ea3e
commit 8dc49736f1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=231872

View file

@ -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>