diff options
author | Chris Rees <crees@FreeBSD.org> | 2012-06-06 16:52:58 +0000 |
---|---|---|
committer | Chris Rees <crees@FreeBSD.org> | 2012-06-06 16:52:58 +0000 |
commit | f78507630eb8461fc9885bf1424bc19456b692fd (patch) | |
tree | 72d1ffd9047c05f599d7584360186b76c5c5a212 /net-mgmt/nagios-pf-plugin | |
parent | ee47c2f68f81ef5e2acd0037b3cba986ed2b2ef6 (diff) | |
download | ports-f78507630eb8461fc9885bf1424bc19456b692fd.tar.gz ports-f78507630eb8461fc9885bf1424bc19456b692fd.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)
Notes
Notes:
svn path=/head/; revision=298613
Diffstat (limited to 'net-mgmt/nagios-pf-plugin')
-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> |