- use STAGEDIR

This commit is contained in:
Dirk Meyer 2013-10-06 15:19:24 +00:00
parent 106cb190a4
commit 9b75ceb057
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=329589

View file

@ -14,8 +14,6 @@ COMMENT= A multi purpose wrapper plugin for Nagios
LICENSE= GPLv2
NO_STAGE= yes
USES= shebangfix perl5
USE_PERL5= run
NO_BUILD= yes
@ -26,11 +24,11 @@ PLUGIN_DIR= libexec/nagios
SHEBANG_FILES= check_multi
do-install:
-${MKDIR} ${PREFIX}/${PLUGIN_DIR}
${INSTALL_SCRIPT} ${WRKSRC}/check_multi ${PREFIX}/${PLUGIN_DIR}/
-${MKDIR} ${STAGEDIR}${PREFIX}/${PLUGIN_DIR}
${INSTALL_SCRIPT} ${WRKSRC}/check_multi ${STAGEDIR}${PREFIX}/${PLUGIN_DIR}/
.if !defined(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}
@${TAR} -C ${WRKSRC}/contrib -cf - . | ${TAR} -C ${EXAMPLESDIR} -xf -
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@${TAR} -C ${WRKSRC}/contrib -cf - . | ${TAR} -C ${STAGEDIR}${EXAMPLESDIR} -xf -
.endif
.include <bsd.port.mk>