Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jun 2014 14:48:59 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r357685 - in head/benchmarks/autobench: . files
Message-ID:  <201406131448.s5DEmxo4046632@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Fri Jun 13 14:48:58 2014
New Revision: 357685
URL: http://svnweb.freebsd.org/changeset/ports/357685
QAT: https://qat.redports.org/buildarchive/r357685/

Log:
  1: Stagify.
  2: use @sample on pkg-plist.
  3: bump version.

Modified:
  head/benchmarks/autobench/Makefile
  head/benchmarks/autobench/files/patch-Makefile
  head/benchmarks/autobench/pkg-plist

Modified: head/benchmarks/autobench/Makefile
==============================================================================
--- head/benchmarks/autobench/Makefile	Fri Jun 13 14:41:30 2014	(r357684)
+++ head/benchmarks/autobench/Makefile	Fri Jun 13 14:48:58 2014	(r357685)
@@ -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}/benchma
 
 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}

Modified: head/benchmarks/autobench/files/patch-Makefile
==============================================================================
--- head/benchmarks/autobench/files/patch-Makefile	Fri Jun 13 14:41:30 2014	(r357684)
+++ head/benchmarks/autobench/files/patch-Makefile	Fri Jun 13 14:48:58 2014	(r357685)
@@ -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

Modified: head/benchmarks/autobench/pkg-plist
==============================================================================
--- head/benchmarks/autobench/pkg-plist	Fri Jun 13 14:41:30 2014	(r357684)
+++ head/benchmarks/autobench/pkg-plist	Fri Jun 13 14:48:58 2014	(r357685)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406131448.s5DEmxo4046632>