aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks
diff options
context:
space:
mode:
authorwxs <wxs@FreeBSD.org>2009-02-20 01:39:02 +0800
committerwxs <wxs@FreeBSD.org>2009-02-20 01:39:02 +0800
commitae3611e2098e04a85542e2348916e031dd681f4e (patch)
treec0502dd2efb222b741279b0ffbe13b622800aba3 /benchmarks
parent061443a9add8c5a292ed9a3275d38d8bd978f906 (diff)
downloadfreebsd-ports-gnome-ae3611e2098e04a85542e2348916e031dd681f4e.tar.gz
freebsd-ports-gnome-ae3611e2098e04a85542e2348916e031dd681f4e.tar.zst
freebsd-ports-gnome-ae3611e2098e04a85542e2348916e031dd681f4e.zip
- Real version number is 5.8
- Pass maintainership to submitter - Fix conflict with ImageMagick (switch to bin/stream_bench) - Switch to using WRKSRC instead of BUILD_WRKSRC PR: ports/137125 Submitted by: Alexey Shuvaev <shuvaev@physik.uni-wuerzburg.de>
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/stream/Makefile19
1 files changed, 9 insertions, 10 deletions
diff --git a/benchmarks/stream/Makefile b/benchmarks/stream/Makefile
index bb25cc6eae03..515f5f8cde49 100644
--- a/benchmarks/stream/Makefile
+++ b/benchmarks/stream/Makefile
@@ -5,31 +5,30 @@
# $FreeBSD$
PORTNAME= stream
-PORTVERSION= 1.0
-PORTREVISION= 2
+PORTVERSION= 5.8
CATEGORIES= benchmarks
MASTER_SITES= http://www.cs.virginia.edu/stream/FTP/Code/
DISTFILES= stream.c
-DIST_SUBDIR= stream-${PORTVERSION}
+DIST_SUBDIR= ${PORTNAME}-1.0
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= shuvaev@physik.uni-wuerzburg.de
COMMENT= Synthetic benchmark program that measures sustainable memory bandwidth
-PLIST_FILES= bin/stream
+PLIST_FILES= bin/stream_bench
PORTDOCS= stream.c
do-extract:
- @${MKDIR} ${BUILD_WRKSRC}
- @${CP} ${_DISTDIR}/stream.c ${BUILD_WRKSRC}
+ @${MKDIR} ${WRKSRC}
+ @${CP} ${_DISTDIR}/stream.c ${WRKSRC}
do-build:
- (cd ${BUILD_WRKSRC} ; ${CC} ${CFLAGS} -o stream stream.c -lm)
+ (cd ${WRKSRC} ; ${CC} ${CFLAGS} -o stream_bench stream.c -lm)
do-install:
- (cd ${BUILD_WRKSRC}; ${INSTALL_PROGRAM} stream ${PREFIX}/bin)
+ ${INSTALL_PROGRAM} ${WRKSRC}/stream_bench ${PREFIX}/bin
. if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
- (cd ${_DISTDIR}; ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
+ ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
. endif
.include <bsd.port.mk>