summaryrefslogtreecommitdiff
path: root/benchmarks/heapsort
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2004-01-20 12:07:06 +0000
committeragc <agc@pkgsrc.org>2004-01-20 12:07:06 +0000
commit3a111113dcf15a2b040e07ba3513ace1fed6fea6 (patch)
tree28fc431efa48feea798736cefee933a6529a5c91 /benchmarks/heapsort
parent6e91cb59f4f7438fb915bac8df227587a9c83e61 (diff)
downloadpkgsrc-3a111113dcf15a2b040e07ba3513ace1fed6fea6.tar.gz
Move WRKSRC definition away from the first paragraph in a Makefile.
Diffstat (limited to 'benchmarks/heapsort')
-rw-r--r--benchmarks/heapsort/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/benchmarks/heapsort/Makefile b/benchmarks/heapsort/Makefile
index 80e8afe7d83..03141ce4951 100644
--- a/benchmarks/heapsort/Makefile
+++ b/benchmarks/heapsort/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.10 2003/07/21 16:31:03 martti Exp $
+# $NetBSD: Makefile,v 1.11 2004/01/20 12:08:12 agc Exp $
DISTNAME= heapsort.c
PKGNAME= heapsort-1.0
-WRKSRC= ${WRKDIR}
CATEGORIES= benchmarks
MASTER_SITES= ftp://ftp.nosc.mil/pub/aburto/heapsort/
EXTRACT_SUFX= #empty
@@ -10,6 +9,8 @@ EXTRACT_SUFX= #empty
MAINTAINER= root@garbled.net
COMMENT= Benchmark program for variable sized arrays
+WRKSRC= ${WRKDIR}
+
do-extract:
${MKDIR} ${WRKSRC}
${CP} ${DISTDIR}/heapsort.c ${WRKSRC}/heapsort.c