pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/benchmarks/kttcp Made the Makefile a lot simpler.
details: https://anonhg.NetBSD.org/pkgsrc/rev/7af210e229bb
branches: trunk
changeset: 524084:7af210e229bb
user: rillig <rillig%pkgsrc.org@localhost>
date: Thu Jan 18 11:23:12 2007 +0000
description:
Made the Makefile a lot simpler.
diffstat:
benchmarks/kttcp/Makefile | 20 ++++++--------------
1 files changed, 6 insertions(+), 14 deletions(-)
diffs (42 lines):
diff -r ba1768fdd4b6 -r 7af210e229bb benchmarks/kttcp/Makefile
--- a/benchmarks/kttcp/Makefile Thu Jan 18 11:16:56 2007 +0000
+++ b/benchmarks/kttcp/Makefile Thu Jan 18 11:23:12 2007 +0000
@@ -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 @@
MAINTAINER= thorpej%NetBSD.org@localhost
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"
Home |
Main Index |
Thread Index |
Old Index