1995-05-06 11:49:56 +00:00
|
|
|
# New ports collection makefile for: lmbench
|
|
|
|
# Version required: 1.0
|
|
|
|
# Date created: 6 May 1995
|
|
|
|
# Whom: asami
|
|
|
|
#
|
1996-11-18 11:44:27 +00:00
|
|
|
# $Id: Makefile,v 1.5 1996/03/21 11:35:08 asami Exp $
|
1995-05-06 11:49:56 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= lmbench-1.0
|
1996-11-18 11:44:27 +00:00
|
|
|
CATEGORIES= benchmarks
|
1995-05-06 11:49:56 +00:00
|
|
|
MASTER_SITES= ftp://forte.mathematik.uni-bremen.de/pub/unix/benchmarks/
|
|
|
|
|
|
|
|
MAINTAINER= asami@FreeBSD.ORG
|
|
|
|
|
|
|
|
ALL_TARGET= build
|
1996-11-18 11:44:27 +00:00
|
|
|
MAN1= bargraph.1 graph.1
|
|
|
|
MAN8= bw_file_rd.8 bw_mem_cp.8 bw_mem_rd.8 bw_mem_wr.8 \
|
|
|
|
bw_mmap_rd.8 bw_pipe.8 bw_tcp.8 lat_connect.8 lat_ctx.8 \
|
|
|
|
lat_fs.8 lat_mem_rd.8 lat_mmap.8 lat_pagefault.8 lat_pipe.8 \
|
|
|
|
lat_proc.8 lat_rpc.8 lat_syscall.8 lat_tcp.8 lat_udp.8 \
|
|
|
|
lmbench.8 lmdd.8 mhz.8
|
1995-05-06 11:49:56 +00:00
|
|
|
|
|
|
|
test: build
|
|
|
|
@(cd ${WRKSRC}; make results)
|
|
|
|
|
|
|
|
retest: build
|
|
|
|
@(cd ${WRKSRC}; make rerun)
|
|
|
|
|
1995-05-14 06:08:08 +00:00
|
|
|
pre-install:
|
|
|
|
[ -d ${PREFIX}/lib/lmbench ] || mkdir -p ${PREFIX}/lib/lmbench
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
cp ${FILESDIR}/Makefile ${PREFIX}/lib/lmbench
|
|
|
|
tar -C ${WRKSRC} -cf - Results bin scripts | \
|
|
|
|
tar -C ${PREFIX}/lib/lmbench -xf -
|
1996-11-18 11:44:27 +00:00
|
|
|
.for man in ${MAN1}
|
1996-03-21 11:35:08 +00:00
|
|
|
cp ${WRKSRC}/doc/${man} ${PREFIX}/man/man1
|
|
|
|
.endfor
|
1996-11-18 11:44:27 +00:00
|
|
|
.for man in ${MAN8}
|
1996-03-21 11:35:08 +00:00
|
|
|
cp ${WRKSRC}/doc/${man} ${PREFIX}/man/man8
|
|
|
|
.endfor
|
1995-05-14 06:08:08 +00:00
|
|
|
|
1995-05-06 11:49:56 +00:00
|
|
|
.include <bsd.port.mk>
|