diff options
author | fenner <fenner@FreeBSD.org> | 1999-09-09 07:06:01 +0800 |
---|---|---|
committer | fenner <fenner@FreeBSD.org> | 1999-09-09 07:06:01 +0800 |
commit | e4eec4fed22bb4e5325eb8e6c80dcfb72a00b009 (patch) | |
tree | 1a6958e8f5e5612b0e6fee6a71b75a59581ab89b /benchmarks/netperf/Makefile | |
parent | 3a4396a32c513c72c0d363c1ee0b4793ce66e7ad (diff) | |
download | freebsd-ports-gnome-e4eec4fed22bb4e5325eb8e6c80dcfb72a00b009.tar.gz freebsd-ports-gnome-e4eec4fed22bb4e5325eb8e6c80dcfb72a00b009.tar.zst freebsd-ports-gnome-e4eec4fed22bb4e5325eb8e6c80dcfb72a00b009.zip |
Include RFC1644 tests. (ports/11581)
Allow ${PREFIX} setting. (ports/12213)
Clean up makefile a smidge.
PR: ports/11581 and ports/12213
Submitted by: Martin Kammerhofer dada@sbox.tu-graz.ac.at
and Nick Hibma nick.hibma@jrc.it
Diffstat (limited to 'benchmarks/netperf/Makefile')
-rw-r--r-- | benchmarks/netperf/Makefile | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/benchmarks/netperf/Makefile b/benchmarks/netperf/Makefile index 889e863f4c89..f31523942eae 100644 --- a/benchmarks/netperf/Makefile +++ b/benchmarks/netperf/Makefile @@ -15,16 +15,24 @@ MAINTAINER= fenner@freebsd.org MAKEFILE= makefile MAN1= netperf.1 netserver.1 -MINSTALL= ${INSTALL} ${COPY} -o ${MANOWN} -g ${MANGRP} -m ${MANMODE} + +SCRIPTS= arr_script snapshot_script tcp_range_script tcp_rr_script \ + tcp_stream_script udp_rr_script udp_stream_script + +post-patch: +.for i in ${SCRIPTS} + @${MV} ${WRKSRC}/$i ${WRKSRC}/$i.pre-sed + @${SED} -e 's^%%PREFIX%%^${PREFIX}^' ${WRKSRC}/$i.pre-sed > ${WRKSRC}/$i +.endfor 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 + ${INSTALL_MAN} ${WRKSRC}/netperf.man ${PREFIX}/man/man1/netperf.1 + ${INSTALL_MAN} ${WRKSRC}/netserver.man ${PREFIX}/man/man1/netserver.1 .if !defined(NOPORTDOCS) ${MKDIR} ${PREFIX}/share/doc/netperf - ${MINSTALL} ${WRKSRC}/netperf.ps ${PREFIX}/share/doc/netperf + ${INSTALL_DATA} ${WRKSRC}/netperf.ps ${PREFIX}/share/doc/netperf ${GZIP_CMD} ${PREFIX}/share/doc/netperf/netperf.ps .endif |