Index: head/benchmarks/autobench/Makefile =================================================================== --- head/benchmarks/autobench/Makefile (revision 357684) +++ head/benchmarks/autobench/Makefile (revision 357685) @@ -1,33 +1,30 @@ # Created by: ijliao # $FreeBSD$ 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/ MAINTAINER= ports@FreeBSD.org COMMENT= Automating the process of benchmarking a web server RUN_DEPENDS= httperf:${PORTSDIR}/benchmarks/httperf \ gawk:${PORTSDIR}/lang/gawk \ gnuplot:${PORTSDIR}/math/gnuplot 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} .endfor .include Index: head/benchmarks/autobench/files/patch-Makefile =================================================================== --- head/benchmarks/autobench/files/patch-Makefile (revision 357684) +++ head/benchmarks/autobench/files/patch-Makefile (revision 357685) @@ -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 Index: head/benchmarks/autobench/pkg-plist =================================================================== --- head/benchmarks/autobench/pkg-plist (revision 357684) +++ head/benchmarks/autobench/pkg-plist (revision 357685) @@ -1,7 +1,13 @@ bin/autobench bin/autobench_admin 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