1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Support staging

This commit is contained in:
Emanuel Haupt 2014-03-17 07:31:42 +00:00
parent 865cd6b8fc
commit 4c6427ccd7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348442

View File

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