From owner-svn-ports-all@FreeBSD.ORG Sun Jan 5 01:26:42 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3F3DDA48; Sun, 5 Jan 2014 01:26:42 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2C1B71313; Sun, 5 Jan 2014 01:26:42 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s051QgQS006372; Sun, 5 Jan 2014 01:26:42 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s051QgVc006371; Sun, 5 Jan 2014 01:26:42 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201401050126.s051QgVc006371@svn.freebsd.org> From: Baptiste Daroussin Date: Sun, 5 Jan 2014 01:26:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r338735 - head/benchmarks/netpipe X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jan 2014 01:26:42 -0000 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 - 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