summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2003-01-28 22:03:00 +0000
committerjlam <jlam@pkgsrc.org>2003-01-28 22:03:00 +0000
commitd7f69e47ce32be7271733bcdf48d28468f400ab9 (patch)
treed3bbe0e3f34c0d0b96c3bf5abf2964293c181c7b /benchmarks
parent63fd8d49cc206089921ed7d972b87faff07efbe6 (diff)
downloadpkgsrc-d7f69e47ce32be7271733bcdf48d28468f400ab9.tar.gz
Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set to "YES". This enforces the requirement that bsd.pkg.install.mk be included at the end of a package Makefile. Idea suggested by Julio M. Merino Vidal <jmmv at menta.net>.
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/bytebench/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/benchmarks/bytebench/Makefile b/benchmarks/bytebench/Makefile
index 5c8ec42b6bf..b110b082647 100644
--- a/benchmarks/bytebench/Makefile
+++ b/benchmarks/bytebench/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2002/01/09 11:24:37 jlam Exp $
+# $NetBSD: Makefile,v 1.13 2003/01/28 22:03:05 jlam Exp $
DISTNAME= unixbench-4.1.0
PKGNAME= bytebench-4.1.0
@@ -9,6 +9,8 @@ EXTRACT_SUFX= .tgz
MAINTAINER= root@garbled.net
COMMENT= BYTE Magazine's Public Domain benchmark for UNIX
+USE_PKGINSTALL= yes
+
BENCHMARK_ENV+= BINDIR=${WRKSRC}/pgms
BENCHMARK_ENV+= SCRPDIR=${WRKSRC}/pgms
BENCHMARK_ENV+= RESULTDIR=${WRKSRC}/results
@@ -48,5 +50,4 @@ results:
@${MKDIR} /tmp/benches/`domainname`
-@${CP} ${WRKSRC}/bytebench.out /tmp/benches/`domainname`/bytebench.`uname`-`uname -m`-`uname -r`.`hostname`
-.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"