aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/nagios-pf-plugin
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2007-03-18 13:27:07 +0000
committerRong-En Fan <rafan@FreeBSD.org>2007-03-18 13:27:07 +0000
commit4810b70a24e05372f114508a8a1fa5ffdc36b03f (patch)
treedd67a71c88bf0adc6f97a573c8acbd3cb927d73c /net-mgmt/nagios-pf-plugin
parent0ff637ff880d216a5e4a7ca5b2f0cc88f8258fca (diff)
downloadports-4810b70a24e05372f114508a8a1fa5ffdc36b03f.tar.gz
ports-4810b70a24e05372f114508a8a1fa5ffdc36b03f.zip
- 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)
Notes
Notes: svn path=/head/; revision=187640
Diffstat (limited to 'net-mgmt/nagios-pf-plugin')
-rw-r--r--net-mgmt/nagios-pf-plugin/Makefile14
-rw-r--r--net-mgmt/nagios-pf-plugin/files/pkg-message.in2
2 files changed, 11 insertions, 5 deletions
diff --git a/net-mgmt/nagios-pf-plugin/Makefile b/net-mgmt/nagios-pf-plugin/Makefile
index 30c7e705313d..f1bc44cae6ca 100644
--- a/net-mgmt/nagios-pf-plugin/Makefile
+++ b/net-mgmt/nagios-pf-plugin/Makefile
@@ -8,7 +8,8 @@
PORTNAME= nagios-pf-plugin
PORTVERSION= 0.1
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}
MAINTAINER= kian.mohageri@gmail.com
@@ -19,8 +20,13 @@ NAGIOS_PLUGIN_DIR?= libexec/nagios/
PLIST_FILES= ${NAGIOS_PLUGIN_DIR}/check_pf
PLIST_DIRS= ${NAGIOS_PLUGIN_DIR}
SUB_FILES= pkg-message
-SUB_LIST= MASTER_SITES=${MASTER_SITES} \
- NAGIOS_PLUGIN_DIR=${NAGIOS_PLUGIN_DIR}
+SUB_LIST= NAGIOS_PLUGIN_DIR=${NAGIOS_PLUGIN_DIR}
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 601000
+IGNORE= requires FreeBSD 6.1 or later
+.endif
pre-everything::
@${ECHO_MSG} ""
@@ -44,4 +50,4 @@ pre-install:
post-install:
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/net-mgmt/nagios-pf-plugin/files/pkg-message.in b/net-mgmt/nagios-pf-plugin/files/pkg-message.in
index 4c320be3ad01..1278226df061 100644
--- a/net-mgmt/nagios-pf-plugin/files/pkg-message.in
+++ b/net-mgmt/nagios-pf-plugin/files/pkg-message.in
@@ -17,5 +17,5 @@ to /etc/devfs.conf:
Please refer to the online documentation for additional information.
-%%MASTER_SITES%%
+http://www.zampanosbits.com/check_pf/