diff options
author | Ryan Steinmetz <zi@FreeBSD.org> | 2015-01-13 03:48:06 +0000 |
---|---|---|
committer | Ryan Steinmetz <zi@FreeBSD.org> | 2015-01-13 03:48:06 +0000 |
commit | d7013cfc180526a6f4e5c43fc517c2374526c06c (patch) | |
tree | c59d7fba0a12604551c349cc2903cbe9a4cf1c13 /net-mgmt/nagios-check_email_delivery/Makefile | |
parent | 793e8e8a7a9ef95f51245c7474eccb784118c1de (diff) | |
download | ports-d7013cfc180526a6f4e5c43fc517c2374526c06c.tar.gz ports-d7013cfc180526a6f4e5c43fc517c2374526c06c.zip |
Notes
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 |