Update sysutils/filelight to version 20.04.0
[dports.git] / sysutils / munin-contrib / Makefile
1 # $FreeBSD$
2
3 PORTNAME=       contrib
4 DISTVERSION=    git.2019-06-28
5 PORTREVISION=   1
6 CATEGORIES=     sysutils
7 PKGNAMEPREFIX=  munin-
8
9 MAINTAINER=     mat@FreeBSD.org
10 COMMENT=        Contributed plugins and other for munin
11
12 LICENSE=        GPLv2
13
14 RUN_DEPENDS=    munin-node>=0:sysutils/munin-node
15
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}
22 USE_GITHUB=     yes
23 GH_ACCOUNT=     munin-monitoring
24 GH_TAGNAME=     33270dd
25 GH_TUPLE=       shuque:bind9stats:a920ded:bind9stats
26
27 NO_BUILD=       yes
28 NO_ARCH=        yes
29
30 # Most of the installed files are scripts, so give them a "correct" mode.
31 BINMODE=        755
32
33 SUB_FILES=      pkg-message
34
35 EXAMPLES_DIRS=  plugins samples templates tools
36
37 post-extract:
38         @${MV} ${WRKSRC_bind9stats}/bind9stats.py ${WRKSRC}/plugins/bind9stats
39
40 do-install:
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}
45
46 .include <bsd.port.mk>