mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Mark IGNORE for FreeBSD pre-6.1: requires strtonum(3)
- Add backup master site - Remove MASTER_SITES from SUB_LIST which does not work properly and is not right when there is more than one master sites PR: ports/110457 Submitted by: Kian Mohageri <kian.mohageri at gmail.com> (maintainer)
This commit is contained in:
parent
0ff637ff88
commit
4810b70a24
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=187640
2 changed files with 11 additions and 5 deletions
|
@ -8,7 +8,8 @@
|
||||||
PORTNAME= nagios-pf-plugin
|
PORTNAME= nagios-pf-plugin
|
||||||
PORTVERSION= 0.1
|
PORTVERSION= 0.1
|
||||||
CATEGORIES= net-mgmt
|
CATEGORIES= net-mgmt
|
||||||
MASTER_SITES= http://www.zampanosbits.com/check_pf/
|
MASTER_SITES= http://www.zampanosbits.com/check_pf/ \
|
||||||
|
http://restek.wwu.edu/~kian/
|
||||||
DISTNAME= check_pf-${PORTVERSION}
|
DISTNAME= check_pf-${PORTVERSION}
|
||||||
|
|
||||||
MAINTAINER= kian.mohageri@gmail.com
|
MAINTAINER= kian.mohageri@gmail.com
|
||||||
|
@ -19,8 +20,13 @@ NAGIOS_PLUGIN_DIR?= libexec/nagios/
|
||||||
PLIST_FILES= ${NAGIOS_PLUGIN_DIR}/check_pf
|
PLIST_FILES= ${NAGIOS_PLUGIN_DIR}/check_pf
|
||||||
PLIST_DIRS= ${NAGIOS_PLUGIN_DIR}
|
PLIST_DIRS= ${NAGIOS_PLUGIN_DIR}
|
||||||
SUB_FILES= pkg-message
|
SUB_FILES= pkg-message
|
||||||
SUB_LIST= MASTER_SITES=${MASTER_SITES} \
|
SUB_LIST= NAGIOS_PLUGIN_DIR=${NAGIOS_PLUGIN_DIR}
|
||||||
NAGIOS_PLUGIN_DIR=${NAGIOS_PLUGIN_DIR}
|
|
||||||
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
|
.if ${OSVERSION} < 601000
|
||||||
|
IGNORE= requires FreeBSD 6.1 or later
|
||||||
|
.endif
|
||||||
|
|
||||||
pre-everything::
|
pre-everything::
|
||||||
@${ECHO_MSG} ""
|
@${ECHO_MSG} ""
|
||||||
|
@ -44,4 +50,4 @@ pre-install:
|
||||||
post-install:
|
post-install:
|
||||||
@${CAT} ${PKGMESSAGE}
|
@${CAT} ${PKGMESSAGE}
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
|
@ -17,5 +17,5 @@ to /etc/devfs.conf:
|
||||||
|
|
||||||
Please refer to the online documentation for additional information.
|
Please refer to the online documentation for additional information.
|
||||||
|
|
||||||
%%MASTER_SITES%%
|
http://www.zampanosbits.com/check_pf/
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue