pkgsrc/net/nagios-plugins/Makefile.plugin
rillig eb3c2b436e net: align variable assignments
pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
2019-11-03 11:45:28 +00:00

32 lines
940 B
Text

# $NetBSD: Makefile.plugin,v 1.5 2019/11/03 11:45:43 rillig Exp $
#
INSTALLATION_DIRS+= libexec/nagios
do-build:
cd ${WRKSRC}/lib && ${SETENV} ${MAKE_ENV} \
${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKE_FILE}
cd ${WRKSRC}/gl && ${SETENV} ${MAKE_ENV} \
${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKE_FILE}
.if ${BINARY_TARGET:D1}
cd ${WRKSRC}/plugins && ${SETENV} ${MAKE_ENV} \
${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKE_FILE} ${BINARY_TARGET}
.endif
.if ${SCRIPT_TARGET:D1}
cd ${WRKSRC}/plugins-scripts && ${SETENV} ${MAKE_ENV} \
${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKE_FILE} ${SCRIPT_TARGET}
.endif
do-install:
.if ${BINARY_TARGET:D1}
for PROG in ${BINARY_TARGET}; do \
${INSTALL_PROGRAM} ${WRKSRC}/plugins/$${PROG} \
${DESTDIR}${PREFIX}/libexec/nagios; \
done
.endif
.if ${SCRIPT_TARGET:D1}
for PROG in ${SCRIPT_TARGET}; do \
${INSTALL_SCRIPT} ${WRKSRC}/plugins-scripts/$${PROG} \
${DESTDIR}${PREFIX}/libexec/nagios; \
done
.endif