aboutsummaryrefslogtreecommitdiff
path: root/sysutils/munin-contrib
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2018-01-08 13:38:51 +0000
committerMathieu Arnold <mat@FreeBSD.org>2018-01-08 13:38:51 +0000
commit6c060282c436d5d49f9bae82044a925dfbc75d67 (patch)
tree6256c29777b9cf3b0e9a9d9d63e1aea20db3040c /sysutils/munin-contrib
parentc8e8c7e2449b19156e88349da88d45fecdc3e9dd (diff)
downloadports-6c060282c436d5d49f9bae82044a925dfbc75d67.tar.gz
ports-6c060282c436d5d49f9bae82044a925dfbc75d67.zip
Update to latest commit.
Fix shebangs, I had somehow broken them between my testing and the addition of the port. [1] PR: 224990 [1] Reported by: olaf zaplinski de Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=458414
Diffstat (limited to 'sysutils/munin-contrib')
-rw-r--r--sysutils/munin-contrib/Makefile23
-rw-r--r--sysutils/munin-contrib/distinfo6
2 files changed, 15 insertions, 14 deletions
diff --git a/sysutils/munin-contrib/Makefile b/sysutils/munin-contrib/Makefile
index 2be4ab83a945..cd9bf50184d1 100644
--- a/sysutils/munin-contrib/Makefile
+++ b/sysutils/munin-contrib/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= contrib
-DISTVERSION= git.2017-03-01
+DISTVERSION= git.2017-10-05
CATEGORIES= sysutils
PKGNAMEPREFIX= munin-
@@ -10,29 +10,30 @@ COMMENT= Contributed plugins and other for munin
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= 893c3fa
+GH_TAGNAME= 1bba76b
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
+EXAMPLES_DIRS= plugins samples templates tools
+
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}
+ cd ${WRKSRC} && ${COPYTREE_BIN} ${EXAMPLES_DIRS:Q} ${STAGEDIR}${EXAMPLESDIR}
+ @cd ${STAGEDIR}${PREFIX} && ${FIND} -f * '(' -type f -o -type l ')' >> ${TMPPLIST}
.include <bsd.port.mk>
diff --git a/sysutils/munin-contrib/distinfo b/sysutils/munin-contrib/distinfo
index cf76403dccf3..b0241af99924 100644
--- a/sysutils/munin-contrib/distinfo
+++ b/sysutils/munin-contrib/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1488447628
-SHA256 (munin-monitoring-contrib-git.2017-03-01-893c3fa_GH0.tar.gz) = 413344a94db0a63f2f1879ab8e31a0888b985690d33be29905c2cb7159f99353
-SIZE (munin-monitoring-contrib-git.2017-03-01-893c3fa_GH0.tar.gz) = 4051566
+TIMESTAMP = 1515417396
+SHA256 (munin-monitoring-contrib-git.2017-10-05-1bba76b_GH0.tar.gz) = 52aed1565df5cc256110def2f81cc1119a4ae9d33ecc5c5b23635b9c6f1e65f2
+SIZE (munin-monitoring-contrib-git.2017-10-05-1bba76b_GH0.tar.gz) = 4390547