freebsd-ports/sysutils/munin-contrib/Makefile

39 lines
983 B
Makefile
Raw Normal View History

# $FreeBSD$
PORTNAME= contrib
DISTVERSION= git.2017-03-01
CATEGORIES= sysutils
PKGNAMEPREFIX= munin-
MAINTAINER= mat@FreeBSD.org
COMMENT= Contributed plugins and other for munin
RUN_DEPENDS= munin-node>=0:sysutils/munin-node
USE_GITHUB= yes
GH_ACCOUNT= munin-monitoring
GH_TAGNAME= 893c3fa
NO_BUILD= yes
NO_ARCH= yes
USES= shebangfix uniquefiles:dirs
SHEBANG_REGEX= ./(${PORTEXAMPLES:tW:S/ /|/g})/.*
SHEBANG_LANG= python3 expect gawk zsh
ruby_OLD_CMD= /opt/csw/bin/ruby
zsh_CMD= ${LOCALBASE}/bin/zsh
python3_CMD= ${LOCALBASE}/bin/python${PYTHON3_DEFAULT}
# Most of the installed files are scripts, so give them a "correct" mode.
BINMODE= 755
SUB_FILES= pkg-message
do-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${COPYTREE_BIN} 'plugins samples templates tools' ${STAGEDIR}${EXAMPLESDIR}
@cd ${STAGEDIR}${PREFIX} && ${FIND} * -type f >> ${TMPPLIST}
.include <bsd.port.mk>