4 DISTVERSION= git.2019-06-28
9 MAINTAINER= mat@FreeBSD.org
10 COMMENT= Contributed plugins and other for munin
14 RUN_DEPENDS= munin-node>=0:sysutils/munin-node
16 USES= shebangfix uniquefiles:dirs python:env
17 SHEBANG_REGEX= ./(${EXAMPLES_DIRS:ts|})/.*
18 SHEBANG_LANG= python3 expect gawk zsh
19 ruby_OLD_CMD= /opt/csw/bin/ruby
20 zsh_CMD= ${LOCALBASE}/bin/zsh
21 python3_CMD= ${LOCALBASE}/bin/python${PYTHON3_DEFAULT}
23 GH_ACCOUNT= munin-monitoring
25 GH_TUPLE= shuque:bind9stats:a920ded:bind9stats
30 # Most of the installed files are scripts, so give them a "correct" mode.
33 SUB_FILES= pkg-message
35 EXAMPLES_DIRS= plugins samples templates tools
38 @${MV} ${WRKSRC_bind9stats}/bind9stats.py ${WRKSRC}/plugins/bind9stats
41 @${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${EXAMPLESDIR}
42 ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
43 cd ${WRKSRC} && ${COPYTREE_BIN} ${EXAMPLES_DIRS:Q} ${STAGEDIR}${EXAMPLESDIR}
44 @cd ${STAGEDIR}${PREFIX} && ${FIND} -f * '(' -type f -o -type l ')' >> ${TMPPLIST}
46 .include <bsd.port.mk>