Date: Sat, 2 Mar 2013 05:56:28 +0000 (UTC) From: Martin Wilke <miwi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r313199 - head/benchmarks/stream Message-ID: <201303020556.r225uSiv059505@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: miwi Date: Sat Mar 2 05:56:28 2013 New Revision: 313199 URL: http://svnweb.freebsd.org/changeset/ports/313199 Log: - Update to 5.10 - Trim header - OptionNG PR: 176574 Submitted by: ports fury Modified: head/benchmarks/stream/Makefile (contents, props changed) head/benchmarks/stream/distinfo (contents, props changed) Modified: head/benchmarks/stream/Makefile ============================================================================== --- head/benchmarks/stream/Makefile Sat Mar 2 05:54:37 2013 (r313198) +++ head/benchmarks/stream/Makefile Sat Mar 2 05:56:28 2013 (r313199) @@ -1,11 +1,8 @@ -# New ports collection makefile for: stream -# Date created: 10 May 2001 -# Whom: Scott Flatman <sf@dsinw.com> -# +# Created by: Scott Flatman <sf@dsinw.com> # $FreeBSD$ PORTNAME= stream -PORTVERSION= 5.9 +PORTVERSION= 5.10 CATEGORIES= benchmarks MASTER_SITES= http://www.cs.virginia.edu/stream/FTP/Code/ DISTFILES= stream.c @@ -14,21 +11,27 @@ DIST_SUBDIR= ${PORTNAME}-1.0/${PORTVERSI MAINTAINER= ports@FreeBSD.org COMMENT= Synthetic benchmark program that measures sustainable memory bandwidth -PLIST_FILES= bin/stream_bench +OPTIONS_DEFINE= DOCS + +NO_WRKSUBDIR= yes + +EXTRACT_CMD= ${CP} +EXTRACT_BEFORE_ARGS= # +EXTRACT_AFTER_ARGS= ${WRKDIR} + PORTDOCS= stream.c +PLIST_FILES= bin/stream_bench -do-extract: - @${MKDIR} ${WRKSRC} - @${CP} ${_DISTDIR}/stream.c ${WRKSRC} +.include <bsd.port.options.mk> do-build: - (cd ${WRKSRC} ; ${CC} ${CFLAGS} -o stream_bench stream.c -lm) + (cd ${WRKSRC} && ${CC} ${CFLAGS} -o stream_bench stream.c -lm) do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/stream_bench ${PREFIX}/bin -. if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR} -. endif + (cd ${WRKSRC} && ${INSTALL_PROGRAM} stream_bench ${PREFIX}/bin) +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}) +.endif .include <bsd.port.mk> Modified: head/benchmarks/stream/distinfo ============================================================================== --- head/benchmarks/stream/distinfo Sat Mar 2 05:54:37 2013 (r313198) +++ head/benchmarks/stream/distinfo Sat Mar 2 05:56:28 2013 (r313199) @@ -1,2 +1,2 @@ -SHA256 (stream-1.0/5.9/stream.c) = 57e44147e1378e8a3d67053be003380466e324aa546663834cf3c405a836852c -SIZE (stream-1.0/5.9/stream.c) = 11909 +SHA256 (stream-1.0/5.10/stream.c) = a52bae5e175bea3f7832112af9c085adab47117f7d2ce219165379849231692b +SIZE (stream-1.0/5.10/stream.c) = 19967
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303020556.r225uSiv059505>