Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 May 2009 11:18:37 -0400 (EDT)
From:      kkobb@skylincorp.com
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/134490: [PATCH] pyzor port doesn't install man pages
Message-ID:  <200905121518.n4CFIbrG031302@mail.skylinecorp.com>
Resent-Message-ID: <200905121540.n4CFe1nV045933@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         134490
>Category:       ports
>Synopsis:       [PATCH] pyzor port doesn't install man pages
>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:   Tue May 12 15:40:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Kevin Kobb
>Release:        FreeBSD 7.2-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD mail.skylinecorp.com 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Tue May 5 09:22:44 EDT 2009 root@mail.skylinecorp.com:/usr/obj/usr/src/sys/PE840 amd64

>Description:
pyzor port doesn't install man pages
>How-To-Repeat:
Install port and look for man pages
>Fix:
Patch attached. Bump PORTREVISION?

--- Makefile.patch begins here ---
--- Makefile.orig	2009-05-12 08:19:47.000000000 -0400
+++ Makefile	2009-05-12 10:40:39.000000000 -0400
@@ -18,6 +18,8 @@
 USE_PYTHON=	yes
 USE_PYDISTUTILS=	yes
 
+MAN1=		pyzor.1 pyzord.1
+
 post-patch:
 	${REINPLACE_CMD} -e "s,/usr/bin/python2,${PYTHON_CMD}," \
 		${WRKSRC}/scripts/pyzor ${WRKSRC}/scripts/pyzord
@@ -25,5 +27,7 @@
 post-install:
 	${CHMOD} ${SHAREMODE} ${DOCSDIR}/usage.html
 	${CHMOD} ${BINMODE} ${PREFIX}/bin/pyzor ${PREFIX}/bin/pyzord
+	${INSTALL_MAN} ${WRKSRC}/docs/pyzor.1 ${PREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/docs/pyzord.1 ${PREFIX}/man/man1
 
 .include <bsd.port.mk>
--- Makefile.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?200905121518.n4CFIbrG031302>