a9f015d155
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t GCC 8.2 under most circumstances. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, as a double check, everything INDEX-11 showed depending on lang/gcc7. PR: 231590
46 lines
1.2 KiB
Makefile
46 lines
1.2 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= contrib
|
|
DISTVERSION= git.2018-11-20
|
|
PORTREVISION= 1
|
|
CATEGORIES= sysutils
|
|
PKGNAMEPREFIX= munin-
|
|
|
|
MAINTAINER= mat@FreeBSD.org
|
|
COMMENT= Contributed plugins and other for munin
|
|
|
|
LICENSE= GPLv2
|
|
|
|
RUN_DEPENDS= munin-node>=0:sysutils/munin-node
|
|
|
|
USES= shebangfix uniquefiles:dirs python:env
|
|
SHEBANG_REGEX= ./(${EXAMPLES_DIRS:ts|})/.*
|
|
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}
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= munin-monitoring
|
|
GH_TAGNAME= e48f0a3b
|
|
GH_TUPLE= shuque:bind9stats:a920ded:bind9stats
|
|
|
|
NO_BUILD= yes
|
|
NO_ARCH= yes
|
|
|
|
# Most of the installed files are scripts, so give them a "correct" mode.
|
|
BINMODE= 755
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
EXAMPLES_DIRS= plugins samples templates tools
|
|
|
|
post-extract:
|
|
@${MV} ${WRKSRC_bind9stats}/bind9stats.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>
|