diff options
Diffstat (limited to 'net-mgmt/nagios-check_email_delivery/Makefile')
-rw-r--r-- | net-mgmt/nagios-check_email_delivery/Makefile | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/net-mgmt/nagios-check_email_delivery/Makefile b/net-mgmt/nagios-check_email_delivery/Makefile index cf389e3559fd..011f302829ce 100644 --- a/net-mgmt/nagios-check_email_delivery/Makefile +++ b/net-mgmt/nagios-check_email_delivery/Makefile @@ -3,7 +3,7 @@ PORTNAME= check_email_delivery PORTVERSION= 0.7.1b -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net-mgmt MASTER_SITES= http://buhacoff.net/software/check_email_delivery/archive/ \ http://mirrors.rit.edu/zi/ @@ -16,6 +16,8 @@ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE.txt RUN_DEPENDS= p5-Net-SMTP-TLS>=0:${PORTSDIR}/mail/p5-Net-SMTP-TLS \ + p5-Net-DNS>0:${PORTSDIR}/dns/p5-Net-DNS \ + p5-Email-Address>0:${PORTSDIR}/mail/p5-Email-Address \ p5-Mail-IMAPClient>=0:${PORTSDIR}/mail/p5-Mail-IMAPClient USES= perl5 shebangfix @@ -39,15 +41,20 @@ OPTIONS_DEFINE= DOCS .include <bsd.port.pre.mk> +post-patch: + @${REINPLACE_CMD} -e \ + 's|/usr/local/nagios/libexec|${PREFIX}/libexec/nagios|' \ + ${WRKSRC}/check_email_delivery* ${WRKSRC}/docs/* + do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios .for file in ${SCRIPTS} - @${INSTALL_SCRIPT} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/libexec/nagios/ + ${INSTALL_SCRIPT} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/libexec/nagios/ .endfor .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} -.for file in ${DOC_FILES} - @${INSTALL_DATA} ${WRKSRC}/docs/${file} ${STAGEDIR}${DOCSDIR} +.for docfile in ${DOC_FILES} + ${INSTALL_DATA} ${WRKSRC}/docs/${docfile} ${STAGEDIR}${DOCSDIR} .endfor .endif |