Respect NOPORTDOCS.

PR:		ports/109180
Submitted by:	rafan
This commit is contained in:
Jeremy Messenger 2007-02-20 22:19:26 +00:00
parent 294703ad4e
commit 5e662d1489
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=185581

View File

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