blob: 35ff05ba6e2829848d2c5468863549ba8b76e326 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# New ports collection makefile for: stream
# Date created: 10 May 2001
# Whom: Scott Flatman <sf@dsinw.com>
#
# $FreeBSD$
PORTNAME= stream
PORTVERSION= 1.0
PORTREVISION= 2
CATEGORIES= benchmarks
MASTER_SITES= http://www.cs.virginia.edu/stream/FTP/Code/
DISTFILES= stream.c
DIST_SUBDIR= stream-${PORTVERSION}
MAINTAINER= sf@slappy.org
COMMENT= Synthetic benchmark program that measures sustainable memory bandwidth
PLIST_FILES= bin/stream
PORTDOCS= stream.c
do-extract:
@${MKDIR} ${BUILD_WRKSRC}
@${CP} ${_DISTDIR}/stream.c ${BUILD_WRKSRC}
do-build:
(cd ${BUILD_WRKSRC} ; ${CC} ${CFLAGS} -o stream stream.c -lm)
do-install:
(cd ${BUILD_WRKSRC}; ${INSTALL_PROGRAM} stream ${PREFIX}/bin)
. if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
(cd ${_DISTDIR}; ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
. endif
.include <bsd.port.mk>
|