- Fix shebangs

- Add bash and perl to run-depends since this port installs scripts written in these
- Drop @dirrm* from plist
- Remove documentation file from plist it is handled by PORTDOCS
- Add LICENSE_FILE

PR:		197224
Submitted by:	amdmi3
Approved by:	maintainer timeout
This commit is contained in:
Dmitry Marakasov 2015-02-27 18:30:43 +00:00
parent 6f368be4e1
commit 4aaddcebb7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=380114
2 changed files with 8 additions and 8 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= percona-monitoring-plugins
PORTVERSION= 1.1.3
PORTREVISION= 1
CATEGORIES= net-mgmt
MASTER_SITES= http://www.percona.com/downloads/percona-monitoring-plugins/${PORTVERSION}/ \
ftp://ftp.renatasystems.org/pub/FreeBSD/ports/distfiles/
@ -11,14 +12,20 @@ MAINTAINER= alexey@renatasystems.org
COMMENT= Cacti templates for MySQL, Apache, Memcached, and more by Percona
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= cacti>=0:${PORTSDIR}/net-mgmt/cacti \
p5-DBD-mysql>=0:${PORTSDIR}/databases/p5-DBD-mysql \
p5-Data-Dumper>=0:${PORTSDIR}/devel/p5-Data-Dumper \
p5-Digest-MD5>=0:${PORTSDIR}/security/p5-Digest-MD5 \
p5-Getopt-Long>=0:${PORTSDIR}/devel/p5-Getopt-Long \
p5-Time-HiRes>=0:${PORTSDIR}/devel/p5-Time-HiRes
p5-Time-HiRes>=0:${PORTSDIR}/devel/p5-Time-HiRes \
bash:${PORTSDIR}/shells/bash
USES= shebangfix perl5
USE_PERL5= run
SHEBANG_FILES= nagios/bin/pmp-check-pt-table-checksum \
cacti/bin/pmp-cacti-*
USE_MYSQL= yes
USE_PHP= yes
WANT_PHP_CLI= yes

View File

@ -18,7 +18,6 @@ bin/pmp-check-pt-table-checksum
bin/pmp-check-unix-memory
share/cacti/scripts/ss_get_by_ssh.php
share/cacti/scripts/ss_get_mysql_stats.php
%%PORTDOCS%%%%DOCSDIR%%/Changelog
%%DATADIR%%/cacti/definitions/apache.def
%%DATADIR%%/cacti/definitions/galera.def
%%DATADIR%%/cacti/definitions/gnu_linux.def
@ -42,9 +41,3 @@ share/cacti/scripts/ss_get_mysql_stats.php
%%DATADIR%%/cacti/templates/cacti_host_template_percona_openvz_server_ht_0.8.6i-sver1.1.3.xml
%%DATADIR%%/cacti/templates/cacti_host_template_percona_rds_server_ht_0.8.6i-sver1.1.3.xml
%%DATADIR%%/cacti/templates/cacti_host_template_percona_redis_server_ht_0.8.6i-sver1.1.3.xml
%%PORTDOCS%%@dirrmtry %%DOCSDIR%%
@dirrmtry %%DATADIR%%/cacti/definitions
@dirrmtry %%DATADIR%%/cacti/misc
@dirrmtry %%DATADIR%%/cacti/templates
@dirrmtry %%DATADIR%%/cacti
@dirrmtry %%DATADIR%%