diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-06-13 14:48:58 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-06-13 14:48:58 +0000 |
commit | be758acae13d259dd627738dbed1a9de93848636 (patch) | |
tree | 51060b56904d892ea5875a3afab5deed009aa1d0 /benchmarks | |
parent | 8756ddcd7bcdf006f48ae519b7a7cdcc54d00f00 (diff) | |
download | ports-be758acae13d259dd627738dbed1a9de93848636.tar.gz ports-be758acae13d259dd627738dbed1a9de93848636.zip |
Notes
Diffstat (limited to 'benchmarks')
-rw-r--r-- | benchmarks/autobench/Makefile | 9 | ||||
-rw-r--r-- | benchmarks/autobench/files/patch-Makefile | 19 | ||||
-rw-r--r-- | benchmarks/autobench/pkg-plist | 8 |
3 files changed, 23 insertions, 13 deletions
diff --git a/benchmarks/autobench/Makefile b/benchmarks/autobench/Makefile index 552fbcd886ac..a667d47b590d 100644 --- a/benchmarks/autobench/Makefile +++ b/benchmarks/autobench/Makefile @@ -3,7 +3,7 @@ PORTNAME= autobench PORTVERSION= 2.1.2 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= benchmarks www MASTER_SITES= http://www.xenoclast.org/autobench/downloads/ \ http://www.sfr-fresh.com/unix/privat/ @@ -17,14 +17,11 @@ RUN_DEPENDS= httperf:${PORTSDIR}/benchmarks/httperf \ LICENSE= GPLv2 -USES= gmake perl5 +USES= gmake perl5 shebangfix MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" DEBUG_FLAGS= \ PREFIX=${PREFIX} +SHEBANG_FILES= autobench_admin autobenchd autobench -MAN1= autobench.1 autobench_admin.1 autobenchd.1 bench2graph.1 \ - crfile.1 sesslog.1 - -NO_STAGE= yes post-patch: .for file in autobench autobench_admin @${REINPLACE_CMD} -i '' -e 's|/etc/|${PREFIX}/etc/|' ${WRKSRC}/${file} diff --git a/benchmarks/autobench/files/patch-Makefile b/benchmarks/autobench/files/patch-Makefile index 038274b213b3..ede19bb0eaa7 100644 --- a/benchmarks/autobench/files/patch-Makefile +++ b/benchmarks/autobench/files/patch-Makefile @@ -1,11 +1,18 @@ ---- Makefile.orig Thu May 27 18:59:27 2004 -+++ Makefile Sun Jan 16 19:44:14 2005 -@@ -55,7 +55,7 @@ +--- Makefile.orig 2004-05-28 00:59:27.000000000 +0800 ++++ Makefile 2014-06-13 22:45:30.432113271 +0800 +@@ -51,11 +51,11 @@ debug: crfile.c + $(CC) $(DEBUG_FLAGS) -o crfile crfile.c + + install: crfile sesslog +- mkdir -p $(BINDIR) $(ETCDIR) $(MANDIR) ++ mkdir -p $(DESTDIR)$(BINDIR) $(DESTDIR)$(ETCDIR) $(DESTDIR)$(MANDIR) perl -pi -e 's/my \$$MASTER_CONFIG =.*$$/my \$$MASTER_CONFIG = "$$ENV{AB_CFG}";/' autobench - cp crfile autobench autobenchd autobench_admin sesslog bench2graph $(BINDIR) - cp autobenchd.1 autobench_admin.1 crfile.1 autobench.1 sesslog.1 bench2graph.1 $(MANDIR) +- cp crfile autobench autobenchd autobench_admin sesslog bench2graph $(BINDIR) +- cp autobenchd.1 autobench_admin.1 crfile.1 autobench.1 sesslog.1 bench2graph.1 $(MANDIR) - cp autobench.conf $(ETCDIR) -+ cp autobench.conf $(ETCDIR)/autobench.conf-dist ++ cp crfile autobench autobenchd autobench_admin sesslog bench2graph $(DESTDIR)$(BINDIR) ++ cp autobenchd.1 autobench_admin.1 crfile.1 autobench.1 sesslog.1 bench2graph.1 $(DESTDIR)$(MANDIR) ++ cp autobench.conf $(DESTDIR)$(ETCDIR)/autobench.conf.sample clean: rm -f crfile sesslog diff --git a/benchmarks/autobench/pkg-plist b/benchmarks/autobench/pkg-plist index a493a37196b1..ffddc87c4767 100644 --- a/benchmarks/autobench/pkg-plist +++ b/benchmarks/autobench/pkg-plist @@ -4,4 +4,10 @@ bin/autobenchd bin/bench2graph bin/crfile bin/sesslog -etc/autobench.conf-dist +@sample etc/autobench.conf.sample +man/man1/autobench.1.gz +man/man1/autobench_admin.1.gz +man/man1/autobenchd.1.gz +man/man1/bench2graph.1.gz +man/man1/crfile.1.gz +man/man1/sesslog.1.gz |