- Add missing dependencies for some options [1]

- Fix paths [1]
- Pacify portlint
- Bump PORTREVISION

Reported by:	dvl@ [1]
This commit is contained in:
Ryan Steinmetz 2015-01-13 03:48:06 +00:00
parent 793e8e8a7a
commit d7013cfc18
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=376904
2 changed files with 13 additions and 6 deletions

View File

@ -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

View File

@ -18,5 +18,5 @@ libexec/nagios/imap_ssl_cert_epn
%%PORTDOCS%%%%DOCSDIR%%/check_smtp_send.pod
%%PORTDOCS%%%%DOCSDIR%%/imap_ssl_cert.html
%%PORTDOCS%%%%DOCSDIR%%/imap_ssl_cert.pod
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrmtry libexec/nagios
%%PORTDOCS%%@dir %%DOCSDIR%%
@dir libexec/nagios