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-20 08:31:44 +00:00
parent d00d267fb8
commit 37f4a7159a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348666

View File

@ -17,18 +17,21 @@ RUN_DEPENDS= bash:${PORTSDIR}/shells/bash \
PLIST_DIRSTRY= libexec/nagios
PLIST_FILES= libexec/nagios/check_tftp
NO_BUILD= yes
NO_WRKSUBDIR= yes
NO_STAGE= yes
post-patch:
${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/check_tftp
${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
${WRKSRC}/check_tftp
do-extract:
@${MKDIR} ${WRKDIR}
@${CP} ${DISTDIR}/${PORTNAME} ${WRKDIR}/
@${MKDIR} ${WRKDIR}
@${CP} ${DISTDIR}/${PORTNAME} ${WRKDIR}
do-install:
@${MKDIR} ${PREFIX}/libexec/nagios
@${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/libexec/nagios
@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} \
${STAGEDIR}${PREFIX}/libexec/nagios
.include <bsd.port.mk>