2001-11-06 20:17:17 +00:00
|
|
|
# New ports collection makefile for: stream
|
|
|
|
# Date created: 10 May 2001
|
|
|
|
# Whom: Scott Flatman <sf@dsinw.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= stream
|
2009-11-16 01:19:31 +00:00
|
|
|
PORTVERSION= 5.9
|
2001-11-06 20:17:17 +00:00
|
|
|
CATEGORIES= benchmarks
|
2007-05-26 15:14:19 +00:00
|
|
|
MASTER_SITES= http://www.cs.virginia.edu/stream/FTP/Code/
|
|
|
|
DISTFILES= stream.c
|
2009-11-16 01:19:31 +00:00
|
|
|
DIST_SUBDIR= ${PORTNAME}-1.0/${PORTVERSION}
|
2001-11-06 20:17:17 +00:00
|
|
|
|
2009-02-19 17:39:02 +00:00
|
|
|
MAINTAINER= shuvaev@physik.uni-wuerzburg.de
|
2003-02-21 11:08:38 +00:00
|
|
|
COMMENT= Synthetic benchmark program that measures sustainable memory bandwidth
|
2001-11-06 20:17:17 +00:00
|
|
|
|
2009-02-19 17:39:02 +00:00
|
|
|
PLIST_FILES= bin/stream_bench
|
2007-05-26 15:14:19 +00:00
|
|
|
PORTDOCS= stream.c
|
2001-11-06 20:17:17 +00:00
|
|
|
|
|
|
|
do-extract:
|
2009-02-19 17:39:02 +00:00
|
|
|
@${MKDIR} ${WRKSRC}
|
|
|
|
@${CP} ${_DISTDIR}/stream.c ${WRKSRC}
|
2001-11-06 20:17:17 +00:00
|
|
|
|
2005-02-17 08:43:37 +00:00
|
|
|
do-build:
|
2009-02-19 17:39:02 +00:00
|
|
|
(cd ${WRKSRC} ; ${CC} ${CFLAGS} -o stream_bench stream.c -lm)
|
2005-02-17 08:43:37 +00:00
|
|
|
|
|
|
|
do-install:
|
2009-02-19 17:39:02 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/stream_bench ${PREFIX}/bin
|
2005-02-17 08:43:37 +00:00
|
|
|
. if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
2009-02-19 17:39:02 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
|
2005-02-17 08:43:37 +00:00
|
|
|
. endif
|
2001-11-06 20:17:17 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|