Install manpages with good permissions.
This commit is contained in:
parent
809c5e9479
commit
60cb883c9f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=7612
@ -3,7 +3,7 @@
|
||||
# Date created: 19 July 1996
|
||||
# Whom: koshy
|
||||
#
|
||||
# $Id: Makefile,v 1.5 1997/05/28 05:48:42 fenner Exp $
|
||||
# $Id: Makefile,v 1.6 1997/07/27 20:55:53 fenner Exp $
|
||||
#
|
||||
|
||||
DISTNAME= netperf-2.1pl3
|
||||
@ -15,15 +15,16 @@ MAINTAINER= fenner@freebsd.org
|
||||
|
||||
MAKEFILE= makefile
|
||||
MAN1= netperf.1 netserver.1
|
||||
MINSTALL= ${INSTALL} ${COPY} -o ${MANOWN} -g ${MANGRP} -m ${MANMODE}
|
||||
|
||||
post-install:
|
||||
strip ${PREFIX}/netperf/netperf
|
||||
strip ${PREFIX}/netperf/netserver
|
||||
${CP} ${WRKSRC}/netperf.man ${PREFIX}/man/man1/netperf.1
|
||||
${CP} ${WRKSRC}/netserver.man ${PREFIX}/man/man1/netserver.1
|
||||
${MINSTALL} ${WRKSRC}/netperf.man ${PREFIX}/man/man1/netperf.1
|
||||
${MINSTALL} ${WRKSRC}/netserver.man ${PREFIX}/man/man1/netserver.1
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${PREFIX}/share/doc/netperf
|
||||
${CP} ${WRKSRC}/netperf.ps ${PREFIX}/share/doc/netperf
|
||||
${MINSTALL} ${WRKSRC}/netperf.ps ${PREFIX}/share/doc/netperf
|
||||
gzip -9nf ${PREFIX}/share/doc/netperf/netperf.ps
|
||||
.endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user