aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-03-20 08:31:44 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-03-20 08:31:44 +0000
commit37f4a7159ad2a7d688ee3aca4e9bcdef80dd6245 (patch)
tree55b142473858163d419830721a3cdc9b7d092f7b
parentd00d267fb809404a27eaa33cd3e62c32049d5785 (diff)
downloadports-37f4a7159ad2a7d688ee3aca4e9bcdef80dd6245.tar.gz
ports-37f4a7159ad2a7d688ee3aca4e9bcdef80dd6245.zip
Support staging
Notes
Notes: svn path=/head/; revision=348666
-rw-r--r--net-mgmt/nagios-check_tftp/Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/net-mgmt/nagios-check_tftp/Makefile b/net-mgmt/nagios-check_tftp/Makefile
index 774431fa7ca9..90f0b8f01419 100644
--- a/net-mgmt/nagios-check_tftp/Makefile
+++ b/net-mgmt/nagios-check_tftp/Makefile
@@ -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>