1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

- Respect NOPORTDOCS, no bump PORTREVISION is needed since it's not default

and package will be the same

Reported by:	itetcu
This commit is contained in:
Renato Botelho 2008-05-19 20:14:18 +00:00
parent 3d46513000
commit 59f3a02b9f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=213347

View File

@ -76,7 +76,9 @@ post-patch:
@${REINPLACE_CMD} -E 's,doc/slsh,doc/slang/v\@slang_major_version\@,' \
${WRKSRC}/slsh/Makefile.in
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -e 's, install-docs,,g' ${WRKSRC}/src/Makefile.in
@${REINPLACE_CMD} -e 's, install[_-]docs,,g; /MKINSDIR.*DEST_SLSH_DOC_DIR/d' \
${WRKSRC}/src/Makefile.in \
${WRKSRC}/slsh/Makefile.in
.endif
.include <bsd.port.post.mk>