From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Oct 25 02:30:01 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5E92A305 for ; Thu, 25 Oct 2012 02:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.FreeBSD.org [8.8.178.135]) by mx1.freebsd.org (Postfix) with ESMTP id 368878FC20 for ; Thu, 25 Oct 2012 02:30:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q9P2U185003114 for ; Thu, 25 Oct 2012 02:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q9P2U1h7003106; Thu, 25 Oct 2012 02:30:01 GMT (envelope-from gnats) Resent-Date: Thu, 25 Oct 2012 02:30:01 GMT Resent-Message-Id: <201210250230.q9P2U1h7003106@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, poyopoyo@puripuri.plala.or.jp Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 78EBE122 for ; Thu, 25 Oct 2012 02:23:37 +0000 (UTC) (envelope-from poyopoyo@puripuri.plala.or.jp) Received: from msa02b.plala.or.jp (msa02.plala.or.jp [IPv6:2400:7800:0:5010::2]) by mx1.freebsd.org (Postfix) with ESMTP id E9BE78FC0A for ; Thu, 25 Oct 2012 02:23:36 +0000 (UTC) Received: from i219-164-101-180.s02.a026.ap.plala.or.jp ([219.164.101.180]) by msa02b.plala.or.jp with ESMTP id <20121025022335.BRMG13439.msa02b.plala.or.jp@i219-164-101-180.s02.a026.ap.plala.or.jp> for ; Thu, 25 Oct 2012 11:23:35 +0900 Message-Id: <86ehkncms9.wl%poyopoyo@puripuri.plala.or.jp> Date: Thu, 25 Oct 2012 11:23:34 +0900 From: poyopoyo@puripuri.plala.or.jp To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/173046: [PATCH] graphics/zathura: install manpages correctly X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2012 02:30:01 -0000 >Number: 173046 >Category: ports >Synopsis: graphics/zathura: install manpages correctly >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: Thu Oct 25 02:30:00 UTC 2012 >Closed-Date: >Last-Modified: >Originator: SATO Kuro >Release: FreeBSD 10.0-CURRENT amd64 >Organization: personal >Environment: >Description: zathura-0.2.1 port fails to rebuild vendor-supplied empty manpages and installs them. >How-To-Repeat: /usr/ports/graphics/zathura# make install /usr/ports/graphics/zathura# MANPAGES=$(make -V MAN1 -V MAN5) /usr/ports/graphics/zathura# (cd $(make -V WRKSRC); ls -l ${MANPAGES}) -rw-r--r-- 1 root wheel 0 Aug 31 03:15 zathura.1 -rw-r--r-- 1 root wheel 0 Aug 31 03:15 zathurarc.5 /usr/ports/graphics/zathura# pkg_info -L zathura-0.2.1|grep man|xargs ls -l -rw-r--r-- 1 root wheel 20 Oct 25 11:16 /usr/local/man/man1/zathura.1.gz -rw-r--r-- 1 root wheel 20 Oct 25 11:16 /usr/local/man/man5/zathurarc.5.gz /usr/ports/graphics/zathura# man zathura|wc -c 0 /usr/ports/graphics/zathura# man zathurarc|wc -c 0 >Fix: - remove empty vendor-supplied manpages to ensure rebuilding. - tell gmake where our rst2man being placed via MAKE_ENV. Index: Makefile =================================================================== --- Makefile (revision 306365) +++ Makefile (working copy) @@ -3,6 +3,7 @@ PORTNAME= zathura PORTVERSION= 0.2.1 +PORTREVISION= 1 CATEGORIES= graphics print MASTER_SITES= http://pwmt.org/projects/zathura/download/ @@ -32,6 +33,7 @@ BUILD_DEPENDS+= rst2html:${PORTSDIR}/textproc/py-docutils MAN1+= zathura.1 MAN5+= zathurarc.5 +MAKE_ENV+= RSTTOMAN=${LOCALBASE}/bin/rst2man .endif .if !defined(WITHOUT_NLS) @@ -65,6 +67,7 @@ ${REINPLACE_CMD} -e 's|/etc|${PREFIX}&|g' \ ${WRKSRC}/config.h \ ${WRKSRC}/zathurarc.5.rst + (cd ${WRKSRC}; ${RM} -f ${MAN1} ${MAN5}) post-install: @${CAT} ${PKGMESSAGE} >Release-Note: >Audit-Trail: >Unformatted: