1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00

- 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>
This commit is contained in:
Wesley Shields 2009-02-19 17:39:02 +00:00
parent 0a0ac2ad0f
commit dcf084453f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=228662

View File

@ -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>