Date: Mon, 27 Aug 2007 11:40:18 +0800 (CST) From: Rong-En Fan <rafan@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: krion@FreeBSD.org Subject: ports/115847: [PATCH] devel/pcre: really respect NOPORTDOCS Message-ID: <200708270340.l7R3eIJm054448@svm.csie.ntu.edu.tw> Resent-Message-ID: <200708270350.l7R3o1XN095286@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 115847 >Category: ports >Synopsis: [PATCH] devel/pcre: really respect NOPORTDOCS >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Aug 27 03:50:00 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Rong-En Fan >Release: FreeBSD 6.2-STABLE amd64 >Organization: NTU CSIE >Environment: System: FreeBSD svm.csie.ntu.edu.tw 6.2-STABLE FreeBSD 6.2-STABLE #1: Sat Jul 14 14:31:49 CST 2007 >Description: Distribution's Makefile installs documents unconditionally. Patch it. Port maintainer (krion@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- pcre-7.2.patch begins here --- Index: Makefile =================================================================== RCS file: /big/freebsd-cvsup/ncvs/ports/devel/pcre/Makefile,v retrieving revision 1.46 diff -u -u -r1.46 Makefile --- Makefile 4 Aug 2007 11:40:49 -0000 1.46 +++ Makefile 27 Aug 2007 03:39:03 -0000 @@ -44,12 +44,13 @@ 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> --- pcre-7.2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200708270340.l7R3eIJm054448>