mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
b7368bfe84
We do not support python=2.7 in DEFAULT_VERSIONS. And this port uses USES=python which means 3.8+. With hat: python
47 lines
1.2 KiB
Makefile
47 lines
1.2 KiB
Makefile
PORTNAME= contrib
|
|
DISTVERSION= git.2023-01-14
|
|
CATEGORIES= sysutils
|
|
PKGNAMEPREFIX= munin-
|
|
|
|
MAINTAINER= flo@FreeBSD.org
|
|
COMMENT= Contributed plugins and other for munin
|
|
WWW= https://github.com/munin-monitoring/contrib
|
|
|
|
LICENSE= GPLv2
|
|
|
|
RUN_DEPENDS= munin-node>=0:sysutils/munin-node
|
|
|
|
USES= python:env shebangfix uniquefiles:dirs
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= munin-monitoring
|
|
GH_TAGNAME= 4f22f27
|
|
GH_TUPLE= shuque:bind9stats:687c94a:bind9stats
|
|
|
|
SHEBANG_REGEX= ./(${EXAMPLES_DIRS:ts|})/.*
|
|
SHEBANG_LANG= expect gawk python3 zsh
|
|
python3_CMD= ${LOCALBASE}/bin/python${PYTHON_DEFAULT}
|
|
zsh_CMD= ${LOCALBASE}/bin/zsh
|
|
ruby_OLD_CMD= /opt/csw/bin/ruby
|
|
|
|
# Most of the installed files are scripts, so give them a "correct" mode.
|
|
BINMODE= 755
|
|
|
|
NO_ARCH= yes
|
|
NO_BUILD= yes
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
EXAMPLES_DIRS= plugins samples templates tools
|
|
|
|
post-extract:
|
|
@${MV} ${WRKSRC_bind9stats}/bind9stats-munin.py ${WRKSRC}/plugins/bind9stats
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
|
|
cd ${WRKSRC} && ${COPYTREE_BIN} ${EXAMPLES_DIRS:Q} ${STAGEDIR}${EXAMPLESDIR}
|
|
@cd ${STAGEDIR}${PREFIX} && ${FIND} -f * '(' -type f -o -type l ')' >> ${TMPPLIST}
|
|
|
|
.include <bsd.port.mk>
|