517a043a8c
previous one. Make portlint happy while we're at it. Also add @dirrm's to PLIST. Found by: distfile checker & portlint
47 lines
1.2 KiB
Makefile
47 lines
1.2 KiB
Makefile
# New ports collection makefile for: lmbench
|
|
# Version required: 1.1
|
|
# Date created: 6 May 1995
|
|
# Whom: asami
|
|
#
|
|
# $Id: Makefile,v 1.7 1997/05/28 02:18:12 fenner Exp $
|
|
#
|
|
|
|
DISTNAME= lmbench
|
|
PKGNAME= lmbench-1.1
|
|
CATEGORIES= benchmarks
|
|
MASTER_SITES= http://reality.sgi.com/lm_engr/lmbench/
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
MAINTAINER= fenner@FreeBSD.ORG
|
|
|
|
ALL_TARGET= build
|
|
MAKE_ENV= PATH=${PATH}:${WRKSRC}/scripts
|
|
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
|
|
|
|
test: build
|
|
@(cd ${WRKSRC}; make results)
|
|
|
|
retest: build
|
|
@(cd ${WRKSRC}; make rerun)
|
|
|
|
pre-install:
|
|
[ -d ${PREFIX}/lib/lmbench ] || ${MKDIR} ${PREFIX}/lib/lmbench
|
|
|
|
do-install:
|
|
${CP} ${FILESDIR}/Makefile ${PREFIX}/lib/lmbench
|
|
tar -C ${WRKSRC} -cf - Results bin scripts | \
|
|
tar -C ${PREFIX}/lib/lmbench -xf -
|
|
.for man in ${MAN1}
|
|
${INSTALL_MAN} ${WRKSRC}/doc/${man} ${PREFIX}/man/man1
|
|
.endfor
|
|
.for man in ${MAN8}
|
|
${INSTALL_MAN} ${WRKSRC}/doc/${man} ${PREFIX}/man/man8
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|