aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2007-03-18 21:27:07 +0800
committerrafan <rafan@FreeBSD.org>2007-03-18 21:27:07 +0800
commit2f5a91246e68bbd664cce5340b659b6a71177f43 (patch)
treea7a5d2ba0856b934573fd63b4931cae42b9c122c /net-mgmt
parent18933ebd7e99143d42d3dcea37d88e29f52f837f (diff)
downloadfreebsd-ports-gnome-2f5a91246e68bbd664cce5340b659b6a71177f43.tar.gz
freebsd-ports-gnome-2f5a91246e68bbd664cce5340b659b6a71177f43.tar.zst
freebsd-ports-gnome-2f5a91246e68bbd664cce5340b659b6a71177f43.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)
Diffstat (limited to 'net-mgmt')
-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/