1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

- Install programs/scripts/manpages/data files with corresponding INSTALL_* commands, which fixes permissions and stripping

- Add LICENSE_FILE
- Pet portlint
This commit is contained in:
Dmitry Marakasov 2015-05-25 21:38:13 +00:00
parent 944a306d1a
commit 48d987e246
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=387442
2 changed files with 11 additions and 9 deletions

View File

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

View File

@ -1,6 +1,6 @@
--- Makefile.orig 2004-05-28 00:59:27.000000000 +0800 --- Makefile.orig 2004-05-27 16:59:27 UTC
+++ Makefile 2014-06-13 22:45:30.432113271 +0800 +++ Makefile
@@ -51,11 +51,11 @@ debug: crfile.c @@ -51,11 +51,12 @@ debug: crfile.c
$(CC) $(DEBUG_FLAGS) -o crfile crfile.c $(CC) $(DEBUG_FLAGS) -o crfile crfile.c
install: crfile sesslog install: crfile sesslog
@ -10,9 +10,10 @@
- cp crfile autobench autobenchd autobench_admin sesslog bench2graph $(BINDIR) - 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 autobenchd.1 autobench_admin.1 crfile.1 autobench.1 sesslog.1 bench2graph.1 $(MANDIR)
- cp autobench.conf $(ETCDIR) - cp autobench.conf $(ETCDIR)
+ cp crfile autobench autobenchd autobench_admin sesslog bench2graph $(DESTDIR)$(BINDIR) + ${BSD_INSTALL_PROGRAM} crfile sesslog $(DESTDIR)$(BINDIR)
+ cp autobenchd.1 autobench_admin.1 crfile.1 autobench.1 sesslog.1 bench2graph.1 $(DESTDIR)$(MANDIR) + ${BSD_INSTALL_SCRIPT} autobench autobenchd autobench_admin bench2graph $(DESTDIR)$(BINDIR)
+ cp autobench.conf $(DESTDIR)$(ETCDIR)/autobench.conf.sample + ${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: clean:
rm -f crfile sesslog rm -f crfile sesslog