Date: Sun, 5 Jan 2014 01:26:42 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r338735 - head/benchmarks/netpipe Message-ID: <201401050126.s051QgVc006371@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Sun Jan 5 01:26:41 2014 New Revision: 338735 URL: http://svnweb.freebsd.org/changeset/ports/338735 Log: Support stage Modified: head/benchmarks/netpipe/Makefile Modified: head/benchmarks/netpipe/Makefile ============================================================================== --- head/benchmarks/netpipe/Makefile Sun Jan 5 01:25:11 2014 (r338734) +++ head/benchmarks/netpipe/Makefile Sun Jan 5 01:26:41 2014 (r338735) @@ -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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401050126.s051QgVc006371>