Update to 2.22

- use OPTIONS_TARGETS

ChangeLog: https://mail.endcrypt.com/pipermail/check_postgres-announce/2015-July/000035.html
This commit is contained in:
Matthew Seaman 2016-01-12 07:48:30 +00:00
parent e69d75fd6d
commit a53f6ef795
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=405835
2 changed files with 6 additions and 9 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= check_postgres
PORTVERSION= 2.21.0
PORTREVISION= 5
PORTVERSION= 2.22.0
CATEGORIES= net-mgmt databases perl5
MASTER_SITES= http://bucardo.org/downloads/
PKGNAMEPREFIX= nagios-
@ -96,21 +95,19 @@ CACTI_LINKS= dbstats
post-patch:
${REINPLACE_CMD} -e s,%%LOCALBASE%%,${LOCALBASE}, ${WRKSRC}/check_postgres.pl
post-install:
.if ${PORT_OPTIONS:MNAGIOS}
post-install-NAGIOS-on:
@${MKDIR} ${STAGEDIR}${NAGIOS_PLUGINS}
.for l in ${NAGIOS_LINKS}
${LN} -s ../../bin/check_postgres.pl \
${STAGEDIR}${NAGIOS_PLUGINS}/check_postgres_${l}
.endfor
.endif
.if ${PORT_OPTIONS:MCACTI}
post-install-CACTI-on:
@${MKDIR} ${STAGEDIR}${CACTI_SCRIPTS}
.for l in ${CACTI_LINKS}
${LN} -s ../../../bin/check_postgres.pl \
${STAGEDIR}${CACTI_SCRIPTS}/check_postgres_${l}
.endfor
.endif
regression-test: build
@cd ${WRKSRC} && ${MAKE} test

View File

@ -1,2 +1,2 @@
SHA256 (check_postgres-2.21.0.tar.gz) = e0fdfe9c0d8188b6bb52896c87257a35311f5aea0f0e2ce332961be034314298
SIZE (check_postgres-2.21.0.tar.gz) = 178511
SHA256 (check_postgres-2.22.0.tar.gz) = 29cd8ea0a0c0fcd79a1e6afb3f5a1d662c1658eef207ea89276ddb30121b85a8
SIZE (check_postgres-2.22.0.tar.gz) = 180992