aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/nttcp
diff options
context:
space:
mode:
authormartymac <martymac@FreeBSD.org>2013-11-08 00:01:06 +0800
committermartymac <martymac@FreeBSD.org>2013-11-08 00:01:06 +0800
commitf3ebf088191d435a1f19d97b06f20e1cc6f5a0da (patch)
tree26c84c5bd8d7571c99089455d33ec9c5cd4bd7cd /benchmarks/nttcp
parentd5104077b4ef5894e99e705cdda3610778ff5767 (diff)
downloadfreebsd-ports-gnome-f3ebf088191d435a1f19d97b06f20e1cc6f5a0da.tar.gz
freebsd-ports-gnome-f3ebf088191d435a1f19d97b06f20e1cc6f5a0da.tar.zst
freebsd-ports-gnome-f3ebf088191d435a1f19d97b06f20e1cc6f5a0da.zip
- Move PLIST_FILES to a separate block
- Use MAN1PREFIX for man pages - Remove useless slashes Reported by: danfe
Diffstat (limited to 'benchmarks/nttcp')
-rw-r--r--benchmarks/nttcp/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/benchmarks/nttcp/Makefile b/benchmarks/nttcp/Makefile
index 9ee6cb75e5a0..e57099d800b3 100644
--- a/benchmarks/nttcp/Makefile
+++ b/benchmarks/nttcp/Makefile
@@ -14,13 +14,14 @@ COMMENT= A client/server program for testing network performance
RESTRICTED= No commercial use
ALL_TARGET= nttcp
-PLIST_FILES= bin/nttcp man/man1/nttcp.1.gz
USES= gmake
MAKE_ENV+= OPT="${CFLAGS}"
NOPRECIOUSMAKEVARS=yes
+PLIST_FILES= bin/nttcp man/man1/nttcp.1.gz
+
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/nttcp ${STAGEDIR}${PREFIX}/bin/
- ${INSTALL_MAN} ${WRKSRC}/nttcp.1 ${STAGEDIR}${PREFIX}/man/man1/
+ ${INSTALL_PROGRAM} ${WRKSRC}/nttcp ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/nttcp.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
.include <bsd.port.mk>