1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

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)
This commit is contained in:
Chris Rees 2012-06-06 16:52:58 +00:00
parent ee47c2f68f
commit f78507630e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=298613

View File

@ -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>