mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Support staging
This commit is contained in:
parent
865cd6b8fc
commit
4c6427ccd7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348442
@ -18,17 +18,16 @@ RUN_DEPENDS= snmpwalk:${PORTSDIR}/net-mgmt/net-snmp \
|
||||
NAGIOS_PLUGIN_DIR?= libexec/nagios
|
||||
|
||||
NO_WRKSUBDIR= yes
|
||||
NO_BUILD= yes
|
||||
|
||||
PLIST_SUB= NAGIOS_PLUGIN_DIR=${NAGIOS_PLUGIN_DIR}
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's|/usr/local/|${PREFIX}/|' ${WRKSRC}/${PORTNAME}
|
||||
|
||||
do-build:
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${PREFIX}/${NAGIOS_PLUGIN_DIR}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/${NAGIOS_PLUGIN_DIR}
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/${NAGIOS_PLUGIN_DIR}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} \
|
||||
${STAGEDIR}${PREFIX}/${NAGIOS_PLUGIN_DIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user