Date: Sat, 26 Feb 2011 03:30:31 +0800 (CST) From: Li-Wen Hsu <lwhsu@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: nivit@FreeBSD.org Subject: ports/155039: [PATCH] textproc/py-pygments: make manual page installation not be affected by NOPORTDOCS Message-ID: <20110225193031.D1B2BA9BA@lwbsd.csie.net> Resent-Message-ID: <201102251940.p1PJe7H4052122@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 155039 >Category: ports >Synopsis: [PATCH] textproc/py-pygments: make manual page installation not be affected by 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: Fri Feb 25 19:40:07 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Li-Wen Hsu >Release: FreeBSD 8.2-RELEASE amd64 >Organization: >Environment: System: FreeBSD lwbsd.cs.nctu.edu.tw 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 12:42:00 CST 2011 >Description: - Make manual page installation not be affected by ${NOPORTDOCS} - Install manual page with ${INSTALL_MAN} Port maintainer (nivit@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- py27-pygments-1.4_1.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/textproc/py-pygments/Makefile,v retrieving revision 1.14 diff -u -u -r1.14 Makefile --- Makefile 3 Jan 2011 22:20:59 -0000 1.14 +++ Makefile 25 Feb 2011 19:27:06 -0000 @@ -7,7 +7,7 @@ PORTNAME= pygments PORTVERSION= 1.4 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= textproc python MASTER_SITES= CHEESESHOP \ http://nivi.interfree.it/distfiles/${PORTNAME}/ @@ -21,13 +21,13 @@ USE_PYDISTUTILS= easy_install PYDISTUTILS_PKGNAME= Pygments -.if !defined(NOPORTDOCS) -DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} +DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} + MAN1= pygmentize.1 -MANCOMPRESSED= no post-install: - @${INSTALL_DATA} ${WRKSRC}/docs/${MAN1} ${MANPREFIX}/man/man1/ + @${INSTALL_MAN} ${WRKSRC}/docs/${MAN1} ${MANPREFIX}/man/man1/ +.if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} @cd ${WRKSRC}/docs/build && ${COPYTREE_SHARE} . ${DOCSDIR} .endif --- py27-pygments-1.4_1.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?20110225193031.D1B2BA9BA>