mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
Respect NOPORTDOCS.
PR: ports/109180 Submitted by: rafan
This commit is contained in:
parent
294703ad4e
commit
5e662d1489
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=185581
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user