3 PORTNAME= mcollective-nrpe-agent
7 MAINTAINER= robak@FreeBSD.org
8 COMMENT= MCollective NRPE agent plugin
10 RUN_DEPENDS= mcollective>=2:${PORTSDIR}/sysutils/mcollective
13 GH_ACCOUNT= puppetlabs
14 GH_TAGNAME= ${GH_COMMIT}
17 PLIST_FILES= share/mcollective/agent/nrpe.ddl \
18 share/mcollective/agent/nrpe.rb \
19 share/mcollective/aggregate/nagios_states.rb \
20 share/mcollective/application/nrpe.rb \
21 share/mcollective/data/nrpe_data.ddl \
22 share/mcollective/data/nrpe_data.rb \
24 PLIST_DIRSTRY= share/mcollective/agent \
25 share/mcollective/aggregate \
26 share/mcollective/application \
27 share/mcollective/data
33 .for dir in ${PLIST_DIRSTRY}
34 ${MKDIR} ${STAGEDIR}${PREFIX}/${dir}
37 ${INSTALL_DATA} ${WRKSRC}/agent/nrpe.ddl ${STAGEDIR}${PREFIX}/share/mcollective/agent/
38 ${INSTALL_DATA} ${WRKSRC}/agent/nrpe.rb ${STAGEDIR}${PREFIX}/share/mcollective/agent/
39 ${INSTALL_DATA} ${WRKSRC}/aggregate/nagios_states.rb ${STAGEDIR}${PREFIX}/share/mcollective/aggregate/
40 ${INSTALL_DATA} ${WRKSRC}/application/nrpe.rb ${STAGEDIR}${PREFIX}/share/mcollective/application/
41 ${INSTALL_DATA} ${WRKSRC}/data/nrpe_data.ddl ${STAGEDIR}${PREFIX}/share/mcollective/data/
42 ${INSTALL_DATA} ${WRKSRC}/data/nrpe_data.rb ${STAGEDIR}${PREFIX}/share/mcollective/data/
43 ${INSTALL_SCRIPT} ${WRKSRC}/sbin/check-mc-nrpe ${STAGEDIR}${PREFIX}/sbin/
45 .include <bsd.port.mk>