diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-01-05 01:26:41 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-01-05 01:26:41 +0000 |
commit | ca52e213fb82d038dc12a3f8ff19b0e3a0de751f (patch) | |
tree | 84d9611156522600404e7bd43f3e21ea80f8fdf2 /benchmarks | |
parent | Install altivec.h and cpuid.h headers. (diff) |
Support stage
Notes
Notes:
svn path=/head/; revision=338735
Diffstat (limited to 'benchmarks')
-rw-r--r-- | benchmarks/netpipe/Makefile | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/benchmarks/netpipe/Makefile b/benchmarks/netpipe/Makefile index 3b59dca53720..23fdeb5e023a 100644 --- a/benchmarks/netpipe/Makefile +++ b/benchmarks/netpipe/Makefile @@ -7,35 +7,28 @@ CATEGORIES= benchmarks net MASTER_SITES= http://www.scl.ameslab.gov/Projects/Netpipe/code/ MAINTAINER= skreuzer@FreeBSD.org -COMMENT= A self-scaling network benchmark +COMMENT= Self-scaling network benchmark # The default port builds and installs only the TCP version of # netpipe(1). The sources support many other variants. -MAN1= netpipe.1 PORTDOCS= README netpipe_paper.ps -PLIST_FILES= bin/NPtcp bin/NPtcp6 +PLIST_FILES= bin/NPtcp bin/NPtcp6 man/man1/netpipe.1.gz DOCSDIR= ${PREFIX}/share/doc/${PORTNAME:L} -NO_STAGE= yes - -.include <bsd.port.options.mk> - do-build: cd ${WRKSRC} \ && ${CC} ${CFLAGS} src/netpipe.c src/tcp.c -DTCP -o NPtcp \ && ${CC} ${CFLAGS} src/netpipe.c src/tcp6.c -DTCP6 -o NPtcp6 do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/NPtcp ${PREFIX}/bin/NPtcp - ${INSTALL_PROGRAM} ${WRKSRC}/NPtcp6 ${PREFIX}/bin/NPtcp6 - ${INSTALL_MAN} ${WRKSRC}/dox/netpipe.1 ${MANPREFIX}/man/man1 -.if ${PORT_OPTIONS:MDOCS} + ${INSTALL_PROGRAM} ${WRKSRC}/NPtcp ${STAGEDIR}${PREFIX}/bin/NPtcp + ${INSTALL_PROGRAM} ${WRKSRC}/NPtcp6 ${STAGEDIR}${PREFIX}/bin/NPtcp6 + ${INSTALL_MAN} ${WRKSRC}/dox/netpipe.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 .for doc in ${PORTDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/dox/${doc} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/dox/${doc} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include <bsd.port.mk> |