freebsd-ports/net-mgmt/nagios-check_email_delivery/Makefile
2011-09-29 12:37:35 +00:00

46 lines
1.5 KiB
Makefile

# New ports collection makefile for: nagios-check_email_delivery
# Date created: 9 May 2011
# Whom: Ryan Steinmetz
#
# $FreeBSD$
PORTNAME= check_email_delivery
PORTVERSION= 0.7.0
CATEGORIES= net-mgmt
MASTER_SITES= http://buhacoff.net/software/check_email_delivery/archive/ \
http://people.rit.edu/rpsfa/
PKGNAMEPREFIX= nagios-
MAINTAINER= zi@FreeBSD.org
COMMENT= Nagios Plugin to monitor your mail environment
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= p5-Net-SMTP-TLS>=0:${PORTSDIR}/mail/p5-Net-SMTP-TLS \
p5-Mail-IMAPClient>=0:${PORTSDIR}/mail/p5-Mail-IMAPClient
NO_BUILD= yes
USE_PERL5_RUN= yes
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
PORTSCOUT= ignore:1
.include <bsd.port.pre.mk>
do-install:
@${MKDIR} ${PREFIX}/libexec/nagios
${INSTALL_SCRIPT} ${WRKSRC}/check_email_delivery ${PREFIX}/libexec/nagios/
${INSTALL_SCRIPT} ${WRKSRC}/check_email_delivery_epn ${PREFIX}/libexec/nagios/
${INSTALL_SCRIPT} ${WRKSRC}/check_imap_receive ${PREFIX}/libexec/nagios/
${INSTALL_SCRIPT} ${WRKSRC}/check_imap_receive_epn ${PREFIX}/libexec/nagios/
${INSTALL_SCRIPT} ${WRKSRC}/check_smtp_send ${PREFIX}/libexec/nagios/
${INSTALL_SCRIPT} ${WRKSRC}/check_smtp_send_epn ${PREFIX}/libexec/nagios/
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in ${DOC_FILES}
@${INSTALL_DATA} ${WRKSRC}/docs/${file} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.post.mk>