Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 May 2015 21:38:13 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r387442 - in head/benchmarks/autobench: . files
Message-ID:  <201505252138.t4PLcDi6079554@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Mon May 25 21:38:13 2015
New Revision: 387442
URL: https://svnweb.freebsd.org/changeset/ports/387442

Log:
  - Install programs/scripts/manpages/data files with corresponding INSTALL_* commands, which fixes permissions and stripping
  - Add LICENSE_FILE
  - Pet portlint

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

Modified: head/benchmarks/autobench/Makefile
==============================================================================
--- head/benchmarks/autobench/Makefile	Mon May 25 21:36:37 2015	(r387441)
+++ head/benchmarks/autobench/Makefile	Mon May 25 21:38:13 2015	(r387442)
@@ -3,7 +3,7 @@
 
 PORTNAME=	autobench
 PORTVERSION=	2.1.2
-PORTREVISION=	8
+PORTREVISION=	9
 CATEGORIES=	benchmarks www
 MASTER_SITES=	http://www.xenoclast.org/autobench/downloads/ \
 		http://www.sfr-fresh.com/unix/privat/
@@ -11,12 +11,13 @@ MASTER_SITES=	http://www.xenoclast.org/a
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Automating the process of benchmarking a web server
 
+LICENSE=	GPLv2 # or later
+LICENSE_FILE=	${WRKSRC}/LICENCE
+
 RUN_DEPENDS=	httperf:${PORTSDIR}/benchmarks/httperf \
 		gawk:${PORTSDIR}/lang/gawk \
 		gnuplot:${PORTSDIR}/math/gnuplot
 
-LICENSE=	GPLv2
-
 USES=		gmake perl5 shebangfix
 MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}" DEBUG_FLAGS= \
 		PREFIX=${PREFIX}

Modified: head/benchmarks/autobench/files/patch-Makefile
==============================================================================
--- head/benchmarks/autobench/files/patch-Makefile	Mon May 25 21:36:37 2015	(r387441)
+++ head/benchmarks/autobench/files/patch-Makefile	Mon May 25 21:38:13 2015	(r387442)
@@ -1,6 +1,6 @@
---- 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
+--- Makefile.orig	2004-05-27 16:59:27 UTC
++++ Makefile
+@@ -51,11 +51,12 @@ debug: crfile.c
  	$(CC) $(DEBUG_FLAGS) -o crfile crfile.c
  
  install: crfile sesslog
@@ -10,9 +10,10 @@
 -	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 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
++	${BSD_INSTALL_PROGRAM} crfile sesslog $(DESTDIR)$(BINDIR)
++	${BSD_INSTALL_SCRIPT} autobench autobenchd autobench_admin bench2graph $(DESTDIR)$(BINDIR)
++	${BSD_INSTALL_MAN} autobenchd.1 autobench_admin.1 crfile.1 autobench.1 sesslog.1 bench2graph.1 $(DESTDIR)$(MANDIR)
++	${BSD_INSTALL_DATA} autobench.conf $(DESTDIR)$(ETCDIR)/autobench.conf.sample
  
  clean: 
  	rm -f crfile sesslog



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