diff options
author | crees <crees@FreeBSD.org> | 2012-06-07 00:52:58 +0800 |
---|---|---|
committer | crees <crees@FreeBSD.org> | 2012-06-07 00:52:58 +0800 |
commit | aec7ce17968203cf225970055b3e1fd774d5deae (patch) | |
tree | 1eb15cb128c78767101c4bf293d4c14ae80b8785 /net-mgmt | |
parent | 72e10ea802fcb49fcebee1a8b262848c856ecbbc (diff) | |
download | freebsd-ports-gnome-aec7ce17968203cf225970055b3e1fd774d5deae.tar.gz freebsd-ports-gnome-aec7ce17968203cf225970055b3e1fd774d5deae.tar.zst freebsd-ports-gnome-aec7ce17968203cf225970055b3e1fd774d5deae.zip |
Remove obsolete OSVERSION conditional.
While here, use pre-su-install for privileged actions.
PR: ports/168278
Submitted by: crees
Approved by: maintainer timeout (kian.mohageri@gmail.com, 2w)
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/nagios-pf-plugin/Makefile | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/net-mgmt/nagios-pf-plugin/Makefile b/net-mgmt/nagios-pf-plugin/Makefile index 55d4b234014c..f1217a077e2b 100644 --- a/net-mgmt/nagios-pf-plugin/Makefile +++ b/net-mgmt/nagios-pf-plugin/Makefile @@ -23,12 +23,6 @@ PLIST_DIRS= ${NAGIOS_PLUGIN_DIR} SUB_FILES= pkg-message 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} "" @${ECHO_MSG} "You can redefine the following additional variables:" @@ -45,10 +39,10 @@ post-patch: "s,/usr/local/libexec/nagios,${PREFIX}/${NAGIOS_PLUGIN_DIR}," \ ${WRKSRC}/Makefile -pre-install: +pre-su-install: @${MKDIR} ${PREFIX}/${NAGIOS_PLUGIN_DIR} post-install: @${CAT} ${PKGMESSAGE} -.include <bsd.port.post.mk> +.include <bsd.port.mk> |