2013-09-21 00:24:43 +02:00
|
|
|
# Created by: Ryan Steinmetz
|
2011-05-13 01:38:14 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= check_email_delivery
|
2012-09-09 18:53:12 +02:00
|
|
|
PORTVERSION= 0.7.1b
|
2015-09-24 05:54:43 +02:00
|
|
|
PORTREVISION= 4
|
2011-05-13 01:38:14 +02:00
|
|
|
CATEGORIES= net-mgmt
|
|
|
|
MASTER_SITES= http://buhacoff.net/software/check_email_delivery/archive/ \
|
2017-08-01 19:07:58 +02:00
|
|
|
ZI
|
2011-05-13 01:38:14 +02:00
|
|
|
PKGNAMEPREFIX= nagios-
|
|
|
|
|
2011-07-15 23:15:29 +02:00
|
|
|
MAINTAINER= zi@FreeBSD.org
|
2011-05-13 01:38:14 +02:00
|
|
|
COMMENT= Nagios Plugin to monitor your mail environment
|
|
|
|
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
|
2016-04-01 16:16:16 +02:00
|
|
|
RUN_DEPENDS= p5-Net-SMTP-TLS>=0:mail/p5-Net-SMTP-TLS \
|
|
|
|
p5-Net-DNS>0:dns/p5-Net-DNS \
|
|
|
|
p5-Email-Address>0:mail/p5-Email-Address \
|
|
|
|
p5-Mail-IMAPClient>=0:mail/p5-Mail-IMAPClient
|
2011-09-29 14:37:35 +02:00
|
|
|
|
2014-05-12 18:07:42 +02:00
|
|
|
USES= perl5 shebangfix
|
|
|
|
SCRIPTS= check_email_delivery check_email_delivery_epn \
|
|
|
|
check_imap_quota check_imap_quota_epn \
|
|
|
|
check_imap_receive check_imap_receive_epn \
|
|
|
|
check_smtp_send check_smtp_send_epn \
|
|
|
|
imap_ssl_cert imap_ssl_cert_epn
|
|
|
|
SHEBANG_FILES= ${SCRIPTS}
|
2013-09-14 18:38:28 +02:00
|
|
|
USE_PERL5= run
|
2011-05-13 01:38:14 +02:00
|
|
|
NO_BUILD= yes
|
2015-08-28 15:39:56 +02:00
|
|
|
NO_ARCH= yes
|
2012-09-09 18:53:12 +02:00
|
|
|
DOC_FILES= check_email_delivery.html check_email_delivery.pod \
|
|
|
|
check_imap_receive.html check_imap_receive.pod \
|
|
|
|
check_smtp_send.html check_smtp_send.pod \
|
|
|
|
check_imap_quota.html check_imap_quota.pod \
|
|
|
|
imap_ssl_cert.html imap_ssl_cert.pod
|
2011-05-13 01:38:14 +02:00
|
|
|
|
2011-09-29 14:37:35 +02:00
|
|
|
PORTSCOUT= ignore:1
|
|
|
|
|
2014-07-15 18:44:50 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2015-01-13 04:48:06 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|/usr/local/nagios/libexec|${PREFIX}/libexec/nagios|' \
|
|
|
|
${WRKSRC}/check_email_delivery* ${WRKSRC}/docs/*
|
|
|
|
|
2011-05-13 01:38:14 +02:00
|
|
|
do-install:
|
2014-05-11 20:37:51 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios
|
2014-05-12 18:07:42 +02:00
|
|
|
.for file in ${SCRIPTS}
|
2015-01-13 04:48:06 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/libexec/nagios/
|
2014-05-12 18:07:42 +02:00
|
|
|
.endfor
|
2015-08-28 15:39:56 +02:00
|
|
|
|
|
|
|
do-install-DOCS-on:
|
2014-05-11 20:37:51 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2015-01-13 04:48:06 +01:00
|
|
|
.for docfile in ${DOC_FILES}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/${docfile} ${STAGEDIR}${DOCSDIR}
|
2011-05-13 01:38:14 +02:00
|
|
|
.endfor
|
|
|
|
|
2015-08-28 15:39:56 +02:00
|
|
|
.include <bsd.port.mk>
|