diff options
author | krion <krion@FreeBSD.org> | 2007-08-28 03:59:37 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2007-08-28 03:59:37 +0800 |
commit | c8cdc437a76725a56b630bd126ba0d1d2be6a3de (patch) | |
tree | 590756623a5baac0cfec7f8ffb68b7e330711158 /devel | |
parent | 36b7be31e5b053148bf00ec17be7e0ddde0da04d (diff) | |
download | freebsd-ports-gnome-c8cdc437a76725a56b630bd126ba0d1d2be6a3de.tar.gz freebsd-ports-gnome-c8cdc437a76725a56b630bd126ba0d1d2be6a3de.tar.zst freebsd-ports-gnome-c8cdc437a76725a56b630bd126ba0d1d2be6a3de.zip |
Respect NOPORTDOCS
PR: ports/115847
Submitted by: rafan
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> |