summaryrefslogtreecommitdiff
path: root/benchmarks/kttcp
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-01-18 11:23:12 +0000
committerrillig <rillig@pkgsrc.org>2007-01-18 11:23:12 +0000
commit36fec5354bbbd4778f05f5a55d78d113300c1b38 (patch)
treeffb267f778e4983e742175d4a353b40cb1895806 /benchmarks/kttcp
parenta03ece8b06dc4bcbbf371239c990c254a7a2ea44 (diff)
downloadpkgsrc-36fec5354bbbd4778f05f5a55d78d113300c1b38.tar.gz
Made the Makefile a lot simpler.
Diffstat (limited to 'benchmarks/kttcp')
-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"