freebsd-ports/sysutils/munin-contrib/Makefile
Mathieu Arnold 91a70564c3 Update to latest commit.
Also, don't use PORTDOCS and PORTEXAMPLES, even if the port does not
define both options, the files are not packaged if you set a global
OPTIONS_UNSET.

PR:		217436
Sponsored by:	Absolight
2017-03-02 09:55:20 +00:00

38 lines
983 B
Makefile

# $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>