1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- fix build with NOPORTDOCS

Reported by:	QAT
This commit is contained in:
Dirk Meyer 2010-12-09 17:59:20 +00:00
parent 18ea98ce98
commit 29421e3b83
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=265930

View File

@ -81,8 +81,14 @@ CONFIGURE_ARGS+= --enable-sniffer
CONFIGURE_ARGS+= --enable-debug
.endif
post-install:
.if defined(NOPORTDOCS)
post-patch:
${REINPLACE_CMD} -e 's|SUBDIRS = doc src|SUBDIRS = src|' \
${WRKSRC}/Makefile.in
.endif
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif