diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2007-08-27 19:59:37 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2007-08-27 19:59:37 +0000 |
commit | c5488974ad58ceb10446c5be4166c72e32442e8a (patch) | |
tree | 8ec978dd7d8d34cc6e10cf3eb23dac56f9f85b09 /devel | |
parent | - Fix POP3 Format String Vulnerability (diff) |
Respect NOPORTDOCS
PR: ports/115847
Submitted by: rafan
Notes
Notes:
svn path=/head/; revision=198404
Diffstat (limited to 'devel')
-rw-r--r-- | devel/pcre/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/devel/pcre/Makefile b/devel/pcre/Makefile index a47de355bdb7..50e5b7c7a78d 100644 --- a/devel/pcre/Makefile +++ b/devel/pcre/Makefile @@ -44,12 +44,13 @@ MAN3= pcre.3 pcre_compile.3 pcre_compile2.3 pcre_config.3 \ pcrecpp.3 pcrematching.3 pcrepattern.3 \ pcreperform.3 pcreposix.3 pcresample.3 pcrestack.3 +post-patch: +.if defined(NOPORTDOCS) + @${REINPLACE_CMD} -E -e '/^install-data-am/,/^$$/ s,install-(dist_doc|dist_html|html)DATA,,g' \ + ${WRKSRC}/Makefile.in +.endif + post-install: @${STRIP_CMD} ${PREFIX}/bin/pcregrep ${PREFIX}/bin/pcretest -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} ${DOCSDIR}/html - @cd ${WRKSRC}; ${INSTALL_DATA} ChangeLog NEWS LICENCE doc/*.txt ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/doc/html/*.html ${DOCSDIR}/html -.endif .include <bsd.port.mk> |