From owner-svn-ports-all@FreeBSD.ORG Sun Jan 5 01:53:39 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 2F22A2CC; Sun, 5 Jan 2014 01:53:39 +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 1B5BC14F2; Sun, 5 Jan 2014 01:53:39 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s051rcgp017400; Sun, 5 Jan 2014 01:53:38 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s051rcGU017399; Sun, 5 Jan 2014 01:53:38 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201401050153.s051rcGU017399@svn.freebsd.org> From: Baptiste Daroussin Date: Sun, 5 Jan 2014 01:53:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r338743 - head/benchmarks/flops 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:53:39 -0000 Author: bapt Date: Sun Jan 5 01:53:38 2014 New Revision: 338743 URL: http://svnweb.freebsd.org/changeset/ports/338743 Log: Support stage Modified: head/benchmarks/flops/Makefile Modified: head/benchmarks/flops/Makefile ============================================================================== --- head/benchmarks/flops/Makefile Sun Jan 5 01:49:24 2014 (r338742) +++ head/benchmarks/flops/Makefile Sun Jan 5 01:53:38 2014 (r338743) @@ -11,14 +11,13 @@ EXTRACT_ONLY= # MAINTAINER= ports@FreeBSD.org COMMENT= Floating point benchmark to give your MFLOPS rating +OPTIONS_DEFINE= DOCS + NO_WRKSUBDIR= yes PORTDOCS= flops.doc PLIST_FILES= bin/flops -NO_STAGE= yes -.include - post-extract: @(cd ${DISTDIR} && ${TAR} -cf - ${DISTFILES}) | \ (cd ${WRKSRC} && ${TAR} -xf -) @@ -31,10 +30,8 @@ do-build: (cd ${WRKSRC} && ${CC} ${CFLAGS} -DUNIX -o flops flops.c) do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/flops ${PREFIX}/bin/ -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/flops.doc ${DOCSDIR} -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/flops ${STAGEDIR}${PREFIX}/bin/ + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/flops.doc ${STAGEDIR}${DOCSDIR} .include