summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorrillig <rillig>2007-01-18 11:23:12 +0000
committerrillig <rillig>2007-01-18 11:23:12 +0000
commit3bf3dc5b8ec0c2d606f1bedbe540e90a658674c3 (patch)
treeffb267f778e4983e742175d4a353b40cb1895806 /benchmarks
parentca30cc6263a3953172e4b20afecb82ad1657fb77 (diff)
downloadpkgsrc-3bf3dc5b8ec0c2d606f1bedbe540e90a658674c3.tar.gz
Made the Makefile a lot simpler.
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/kttcp/Makefile20
1 files changed, 6 insertions, 14 deletions
diff --git a/benchmarks/kttcp/Makefile b/benchmarks/kttcp/Makefile
index f588295785e..cdbba68cc92 100644
--- a/benchmarks/kttcp/Makefile
+++ b/benchmarks/kttcp/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.14 2006/06/18 11:21:42 rillig Exp $
+# $NetBSD: Makefile,v 1.15 2007/01/18 11:23:12 rillig Exp $
-DISTNAME= kttcp-${VERSION}
+DISTNAME= kttcp-20020711
CATEGORIES= benchmarks net
PKGREVISION= 1
MASTER_SITES= # empty
@@ -9,25 +9,17 @@ DISTFILES= # empty
MAINTAINER= thorpej@NetBSD.org
COMMENT= Kernel network throughput benchmark
-VERSION= 20020711
-
ONLY_FOR_PLATFORM= NetBSD-1.6[B-Z]*-* NetBSD-[2-9]*-*
PKG_INSTALLATION_TYPES= overwrite pkgviews
-EXTRACT_ONLY= # empty
-NO_CHECKSUM= yes
-
-WRKSRC= ${WRKDIR}
-MAKE_ENV+= BINDIR=${LOCALBASE}/bin MANDIR=${LOCALBASE}/man
-MAKE_ENV+= BINOWN=${BINOWN} BINGRP=${BINGRP}
+NO_CHECKSUM= yes
+USE_BSD_MAKEFILE= yes
+WRKSRC= ${WRKDIR}
INSTALLATION_DIRS= bin
post-extract:
- @for FILE in Makefile kttcp.c \
- ; do \
- ${CP} ${FILESDIR}/$$FILE ${WRKSRC}; \
- done
+ cd files && cp Makefile kttcp.c ${WRKSRC}
.include "../../mk/bsd.pkg.mk"