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:
parent
ee47c2f68f
commit
f78507630e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=298613
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user