From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Apr 11 07:40:11 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 60ED537B401 for ; Fri, 11 Apr 2003 07:40:11 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B707943FAF for ; Fri, 11 Apr 2003 07:40:08 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h3BEe8Up000915 for ; Fri, 11 Apr 2003 07:40:08 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h3BEe8EY000914; Fri, 11 Apr 2003 07:40:08 -0700 (PDT) Resent-Date: Fri, 11 Apr 2003 07:40:08 -0700 (PDT) Resent-Message-Id: <200304111440.h3BEe8EY000914@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, Marco Molteni Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF61737B401 for ; Fri, 11 Apr 2003 07:36:27 -0700 (PDT) Received: from ams-iport-1.cisco.com (ams-iport-1.cisco.com [144.254.74.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 85AEE43F3F for ; Fri, 11 Apr 2003 07:36:25 -0700 (PDT) (envelope-from molter@tin.it) Received: from tin.it (144.254.74.60) by ams-iport-1.cisco.com with ESMTP; 11 Apr 2003 16:36:21 +0100 Received: from cisco.com (localhost [127.0.0.1])h3BEYZ9R008961 for ; Fri, 11 Apr 2003 16:34:35 +0200 (MET DST) Received: from www.example.org (ssh-ams-1.cisco.com [144.254.74.55]) by cisco.com (8.8.8+Sun/8.8.8) with SMTP id QAA22843 for ; Fri, 11 Apr 2003 16:36:19 +0200 (MET DST) Received: (qmail 7660 invoked by uid 1000); 11 Apr 2003 14:36:17 -0000 Message-Id: <20030411143617.GC7506@cobweb.example.org> Date: Fri, 11 Apr 2003 16:36:17 +0200 From: Marco Molteni To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/50822: [PATCH] graphics/netpbm doesn't install it's manual page X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Apr 2003 14:40:11 -0000 >Number: 50822 >Category: ports >Synopsis: [PATCH] graphics/netpbm doesn't install it's manual page >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Apr 11 07:40:08 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Marco Molteni >Release: FreeBSD 4.8-RC i386 >Organization: Citello Networks >Environment: System: FreeBSD cobweb.example.org 4.8-RC >Description: Port graphics/netpbm contains a manpage netpbm.1 that isn't installed. >How-To-Repeat: Install the port and type "man netpbm" ;-) >Fix: Apply following patch --- Makefile.orig Fri Apr 11 15:42:52 2003 +++ Makefile Fri Apr 11 16:28:46 2003 @@ -27,6 +27,7 @@ MAKEFILE= GNUmakefile INSTALL_TARGET= install.bin install.lib install.data install-dev INSTALLS_SHLIB= yes +MAN1= netpbm.1 post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g ; \ @@ -36,5 +37,12 @@ @${CP} ${FILESDIR}/Makefile.config.FreeBSD ${WRKSRC}/Makefile.config @${LN} -sf ${WRKSRC}/lib/util/shhopt.h ${WRKSRC}/lib/util/pm_shhopt.h @${LN} -sf ${WRKSRC}/lib/util/nstring.h ${WRKSRC}/lib/util/pm_nstring.h + +post-install: + @${ECHO_MSG} "===> Installing man pages..." + @${REINPLACE_CMD} -e 's|doc/USERDOC|${DOCSDIR}/USERDOC|g' ${WRKSRC}/doc/netpbm.1 + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/USERDOC ${DOCSDIR} + ${INSTALL_MAN} ${WRKSRC}/doc/netpbm.1 ${MANPREFIX}/man/man1 .include --- pkg-plist.orig Fri Apr 11 16:02:54 2003 +++ pkg-plist Fri Apr 11 16:05:33 2003 @@ -289,4 +289,6 @@ share/netpbm/palmgray2.map share/netpbm/palmgray4.map share/netpbm/rgb.txt +%%PORTDOCS%%share/doc/netpbm/USERDOC +%%PORTDOCS%%@dirrm share/doc/netpbm @dirrm share/netpbm >Release-Note: >Audit-Trail: >Unformatted: