32 lines
847 B
Makefile
32 lines
847 B
Makefile
# New ports collection makefile for: netperf
|
|
# Version required: 2.1.3
|
|
# Date created: 19 July 1996
|
|
# Whom: koshy
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
DISTNAME= netperf-2.1pl3
|
|
PKGNAME= netperf-2.1.3
|
|
CATEGORIES= benchmarks
|
|
MASTER_SITES= ftp://ftp.cup.hp.com/dist/networking/benchmarks/netperf/
|
|
|
|
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
|
|
${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
|
|
${MINSTALL} ${WRKSRC}/netperf.ps ${PREFIX}/share/doc/netperf
|
|
gzip -9nf ${PREFIX}/share/doc/netperf/netperf.ps
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|