aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/p5-Nagios-Plugin-Beanstalk
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2014-02-14 21:03:41 +0000
committerSteve Wills <swills@FreeBSD.org>2014-02-14 21:03:41 +0000
commit6de76bc98d3e38bec6fec1ec5d850a77bcc9867b (patch)
tree017c8307d55b23f67507b2a7e12967daea2bef1d /net-mgmt/p5-Nagios-Plugin-Beanstalk
parent546d295d5c423e7025a1902bf1d71ad5160880d6 (diff)
downloadports-6de76bc98d3e38bec6fec1ec5d850a77bcc9867b.tar.gz
ports-6de76bc98d3e38bec6fec1ec5d850a77bcc9867b.zip
Notes
Diffstat (limited to 'net-mgmt/p5-Nagios-Plugin-Beanstalk')
-rw-r--r--net-mgmt/p5-Nagios-Plugin-Beanstalk/Makefile26
-rw-r--r--net-mgmt/p5-Nagios-Plugin-Beanstalk/distinfo2
-rw-r--r--net-mgmt/p5-Nagios-Plugin-Beanstalk/files/patch-Makefile.PL10
-rw-r--r--net-mgmt/p5-Nagios-Plugin-Beanstalk/pkg-descr3
-rw-r--r--net-mgmt/p5-Nagios-Plugin-Beanstalk/pkg-plist10
5 files changed, 51 insertions, 0 deletions
diff --git a/net-mgmt/p5-Nagios-Plugin-Beanstalk/Makefile b/net-mgmt/p5-Nagios-Plugin-Beanstalk/Makefile
new file mode 100644
index 000000000000..0328d1fce4ec
--- /dev/null
+++ b/net-mgmt/p5-Nagios-Plugin-Beanstalk/Makefile
@@ -0,0 +1,26 @@
+# Created by: Andrew Thompson <thompsa@freebsd.org>
+# $FreeBSD$
+
+PORTNAME= Nagios-Plugin-Beanstalk
+PORTVERSION= 0.04
+CATEGORIES= net-mgmt perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= CPAN:GBARR
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= perl@FreeBSD.org
+COMMENT= Module to check beanstalkd via nagios
+
+BUILD_DEPENDS= p5-Nagios-Plugin>=0:${PORTSDIR}/net-mgmt/p5-Nagios-Plugin \
+ p5-Beanstalk-Client>=0:${PORTSDIR}/net/p5-Beanstalk-Client
+
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+
+USES= perl5
+USE_PERL5= configure
+
+post-install:
+ @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios
+ ${INSTALL} ${WRKSRC}/check_beanstalkd ${STAGEDIR}${PREFIX}/libexec/nagios/check_beanstalkd
+
+.include <bsd.port.mk>
diff --git a/net-mgmt/p5-Nagios-Plugin-Beanstalk/distinfo b/net-mgmt/p5-Nagios-Plugin-Beanstalk/distinfo
new file mode 100644
index 000000000000..1b2d7b8cd422
--- /dev/null
+++ b/net-mgmt/p5-Nagios-Plugin-Beanstalk/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Nagios-Plugin-Beanstalk-0.04.tar.gz) = 9df45969b9b4ca10779a6cdd72c18347060a90a61f12eecd8918c4609a2466a1
+SIZE (Nagios-Plugin-Beanstalk-0.04.tar.gz) = 4792
diff --git a/net-mgmt/p5-Nagios-Plugin-Beanstalk/files/patch-Makefile.PL b/net-mgmt/p5-Nagios-Plugin-Beanstalk/files/patch-Makefile.PL
new file mode 100644
index 000000000000..11672ec49087
--- /dev/null
+++ b/net-mgmt/p5-Nagios-Plugin-Beanstalk/files/patch-Makefile.PL
@@ -0,0 +1,10 @@
+--- Makefile.PL.orig 2012-09-19 11:01:40.247410095 +1200
++++ Makefile.PL 2012-09-19 11:01:53.134452220 +1200
+@@ -8,7 +8,6 @@
+ VERSION_FROM => 'lib/Nagios/Plugin/Beanstalk.pm',
+ ABSTRACT_FROM => 'lib/Nagios/Plugin/Beanstalk.pm',
+ PL_FILES => {},
+- EXE_FILES => ['check_beanstalkd'],
+ PREREQ_PM => {
+ 'Nagios::Plugin' => 0,
+ 'Beanstalk::Client' => 0,
diff --git a/net-mgmt/p5-Nagios-Plugin-Beanstalk/pkg-descr b/net-mgmt/p5-Nagios-Plugin-Beanstalk/pkg-descr
new file mode 100644
index 000000000000..c1b28a3ca479
--- /dev/null
+++ b/net-mgmt/p5-Nagios-Plugin-Beanstalk/pkg-descr
@@ -0,0 +1,3 @@
+Nagios::Plugin::Beanstalk - Nagios plugin to observe Beanstalkd queue server.
+
+WWW: http://search.cpan.org/dist/Nagios-Plugin-Beanstalk/
diff --git a/net-mgmt/p5-Nagios-Plugin-Beanstalk/pkg-plist b/net-mgmt/p5-Nagios-Plugin-Beanstalk/pkg-plist
new file mode 100644
index 000000000000..a6413d6269f8
--- /dev/null
+++ b/net-mgmt/p5-Nagios-Plugin-Beanstalk/pkg-plist
@@ -0,0 +1,10 @@
+libexec/nagios/check_beanstalkd
+%%SITE_PERL%%/Nagios/Plugin/Beanstalk.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Nagios/Plugin/Beanstalk/.packlist
+%%PERL5_MAN3%%/Nagios::Plugin::Beanstalk.3.gz
+@dirrmtry libexec/nagios
+@dirrmtry %%SITE_PERL%%/Nagios/Plugin
+@dirrmtry %%SITE_PERL%%/Nagios
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Nagios/Plugin/Beanstalk
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Nagios/Plugin
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Nagios