From 4aaddcebb7f2fe6e03ba2e14b9758506ee31ee69 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Fri, 27 Feb 2015 18:30:43 +0000 Subject: [PATCH] - 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 --- net-mgmt/percona-monitoring-plugins/Makefile | 9 ++++++++- net-mgmt/percona-monitoring-plugins/pkg-plist | 7 ------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/net-mgmt/percona-monitoring-plugins/Makefile b/net-mgmt/percona-monitoring-plugins/Makefile index daf813e1c574..91aa5fcc9998 100644 --- a/net-mgmt/percona-monitoring-plugins/Makefile +++ b/net-mgmt/percona-monitoring-plugins/Makefile @@ -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 diff --git a/net-mgmt/percona-monitoring-plugins/pkg-plist b/net-mgmt/percona-monitoring-plugins/pkg-plist index 976c897c2b00..e591bf578d1d 100644 --- a/net-mgmt/percona-monitoring-plugins/pkg-plist +++ b/net-mgmt/percona-monitoring-plugins/pkg-plist @@ -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%%