summaryrefslogtreecommitdiff
path: root/benchmarks/lmbench/Makefile
diff options
context:
space:
mode:
authorgarbled <garbled@pkgsrc.org>1998-08-30 17:46:25 +0000
committergarbled <garbled@pkgsrc.org>1998-08-30 17:46:25 +0000
commit7131d974391dccff74576af1c7145dcc1ac9104a (patch)
treeeaed61bf224abd6e4479047fc97844e6e79a3f40 /benchmarks/lmbench/Makefile
parenteb15ff6b2bc67d245a4c7e4144175afd078bc467 (diff)
downloadpkgsrc-7131d974391dccff74576af1c7145dcc1ac9104a.tar.gz
Add new pkg for lmbench-2.11a
a complete benchmark that gives a large amount of information.
Diffstat (limited to 'benchmarks/lmbench/Makefile')
-rw-r--r--benchmarks/lmbench/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/benchmarks/lmbench/Makefile b/benchmarks/lmbench/Makefile
new file mode 100644
index 00000000000..5ee582985b9
--- /dev/null
+++ b/benchmarks/lmbench/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1 1998/08/30 17:46:25 garbled Exp $
+
+DISTNAME= lmbench-2alpha11
+PKGNAME= lmbench-2.11a
+CATEGORIES= benchmarks
+MASTER_SITES= ftp://ftp.bitmover.com/lmbench/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= root@garbled.net
+HOMEPAGE= http://www.bitmover.com/lm/lmbench/
+
+ALL_TARGET= build
+USE_GMAKE= yes
+USE_PERL5= yes
+
+post-configure:
+ @${MV} ${WRKSRC}/scripts/os foo
+ ${SED} -e 's@XXXPREFIXXXX@${PREFIX}@g' < foo > ${WRKSRC}/scripts/os
+ @${MV} ${WRKSRC}/scripts/results foo
+ ${SED} -e 's@XXXPREFIXXXX@${PREFIX}@g' < foo > ${WRKSRC}/scripts/results
+ @${MV} ${WRKSRC}/scripts/config-run foo
+ ${SED} -e 's@XXXPREFIXXXX@${PREFIX}@g' < foo > ${WRKSRC}/scripts/config-run
+ @${MV} ${WRKSRC}/scripts/lmbench foo
+ ${SED} -e 's@XXXPREFIXXXX@${PREFIX}@g' < foo > ${WRKSRC}/scripts/lmbench
+ @${MV} ${WRKSRC}/results/Makefile foo
+ ${SED} -e 's@XXXPREFIXXXX@${PREFIX}@g' < foo > ${WRKSRC}/results/Makefile
+ @${RM} -f foo
+ @chmod 0755 ${WRKSRC}/scripts/config-run
+ @chmod 0755 ${WRKSRC}/scripts/os
+ @chmod 0755 ${WRKSRC}/scripts/results
+ @chmod 0755 ${WRKSRC}/scripts/lmbench
+
+do-install:
+ @${SETENV} PREFIX=${PREFIX} WRKSRC=${WRKSRC} ${SCRIPTDIR}/do-install
+
+.include "../../mk/bsd.pkg.mk"