mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04: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:
parent
ee47c2f68f
commit
f78507630e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=298613
1 changed files with 2 additions and 8 deletions
|
@ -23,12 +23,6 @@ PLIST_DIRS= ${NAGIOS_PLUGIN_DIR}
|
||||||
SUB_FILES= pkg-message
|
SUB_FILES= pkg-message
|
||||||
SUB_LIST= 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::
|
pre-everything::
|
||||||
@${ECHO_MSG} ""
|
@${ECHO_MSG} ""
|
||||||
@${ECHO_MSG} "You can redefine the following additional variables:"
|
@${ECHO_MSG} "You can redefine the following additional variables:"
|
||||||
|
@ -45,10 +39,10 @@ post-patch:
|
||||||
"s,/usr/local/libexec/nagios,${PREFIX}/${NAGIOS_PLUGIN_DIR}," \
|
"s,/usr/local/libexec/nagios,${PREFIX}/${NAGIOS_PLUGIN_DIR}," \
|
||||||
${WRKSRC}/Makefile
|
${WRKSRC}/Makefile
|
||||||
|
|
||||||
pre-install:
|
pre-su-install:
|
||||||
@${MKDIR} ${PREFIX}/${NAGIOS_PLUGIN_DIR}
|
@${MKDIR} ${PREFIX}/${NAGIOS_PLUGIN_DIR}
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
@${CAT} ${PKGMESSAGE}
|
@${CAT} ${PKGMESSAGE}
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue