aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1995-05-14 14:08:08 +0800
committerasami <asami@FreeBSD.org>1995-05-14 14:08:08 +0800
commitfc49d0a9a889a732a8a50cc5775fee135fb067c7 (patch)
treec954a9cea7740d6080fe5700e58c96f8649897cd /benchmarks
parent23c87d50a57d21c8a6cb5cc035a630ecbbf2b2b5 (diff)
downloadfreebsd-ports-gnome-fc49d0a9a889a732a8a50cc5775fee135fb067c7.tar.gz
freebsd-ports-gnome-fc49d0a9a889a732a8a50cc5775fee135fb067c7.tar.zst
freebsd-ports-gnome-fc49d0a9a889a732a8a50cc5775fee135fb067c7.zip
Make this thing install. Basically copy everything it needs to
${PREFIX}/lib/lmbench.
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/lmbench/Makefile24
1 files changed, 22 insertions, 2 deletions
diff --git a/benchmarks/lmbench/Makefile b/benchmarks/lmbench/Makefile
index 652f65f59395..bfb519166c3d 100644
--- a/benchmarks/lmbench/Makefile
+++ b/benchmarks/lmbench/Makefile
@@ -3,11 +3,11 @@
# Date created: 6 May 1995
# Whom: asami
#
-# $Id: Makefile,v 1.4 1995/04/15 03:46:04 asami Exp $
+# $Id: Makefile,v 1.1.1.1 1995/05/06 11:49:56 asami Exp $
#
DISTNAME= lmbench-1.0
-CATEGORIES+= utilities
+CATEGORIES+= utilities benchmarking
MASTER_SITES= ftp://forte.mathematik.uni-bremen.de/pub/unix/benchmarks/
MAINTAINER= asami@FreeBSD.ORG
@@ -20,4 +20,24 @@ test: build
retest: build
@(cd ${WRKSRC}; make rerun)
+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 -
+ for man in bargraph.1 graph.1; do \
+ cp ${WRKSRC}/doc/$$man ${PREFIX}/man/man1; \
+ gzip -9nf ${PREFIX}/man/man1/$$man; \
+ done
+ for man in 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; do \
+ cp ${WRKSRC}/doc/$$man ${PREFIX}/man/man8; \
+ gzip -9nf ${PREFIX}/man/man8/$$man; \
+ done
+
.include <bsd.port.mk>