aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorcrees <crees@FreeBSD.org>2012-04-20 03:33:27 +0800
committercrees <crees@FreeBSD.org>2012-04-20 03:33:27 +0800
commit046c73027fad4ecf6bd3d0ab1ec69e73445ea1d6 (patch)
tree14ba53e092ae185184c372ef9ea4dc8a6495be4e /sysutils
parentc596c7637d42e53e12177261e8507ce177085755 (diff)
downloadfreebsd-ports-graphics-046c73027fad4ecf6bd3d0ab1ec69e73445ea1d6.tar.gz
freebsd-ports-graphics-046c73027fad4ecf6bd3d0ab1ec69e73445ea1d6.tar.zst
freebsd-ports-graphics-046c73027fad4ecf6bd3d0ab1ec69e73445ea1d6.zip
Update to 2.5.0
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/monitorix/Makefile26
-rw-r--r--sysutils/monitorix/distinfo4
-rw-r--r--sysutils/monitorix/pkg-plist2
3 files changed, 12 insertions, 20 deletions
diff --git a/sysutils/monitorix/Makefile b/sysutils/monitorix/Makefile
index 15d3c26e4e0..1c1df052f05 100644
--- a/sysutils/monitorix/Makefile
+++ b/sysutils/monitorix/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= monitorix
-PORTVERSION= 2.4.1
+PORTVERSION= 2.5.0
PORTREVISION?= 0
CATEGORIES= sysutils
MASTER_SITES= http://www.monitorix.org/ \
@@ -35,7 +35,7 @@ CGIDIR?= www/cgi-bin
CGIPATH?= /cgi-bin
WWW_OWNER?= ${WWWOWN}
WWW_GROUP?= ${WWWGRP}
-REPORT_LANG= ca de en it
+REPORT_LANG= ca de en it pl
WWWROOT= ${WWWDIR:S,/${PORTNAME}$,,}
SUB_FILES= pkg-message
@@ -49,14 +49,7 @@ WWW_FILES= logo_top.png \
logo_bot.png \
monitorixico.png
-PORTDOCS= COPYING \
- Changes \
- README \
- README.FreeBSD \
- README.OpenBSD \
- README.nginx \
- monitorix-alert.sh \
- monitorix-apache.conf
+PORTDOCS= *
pre-everything::
@${ECHO_MSG} ""
@@ -94,11 +87,10 @@ do-install:
.endfor
@${MKDIR} ${PREFIX}/${CGIDIR}
@${INSTALL_SCRIPT} ${WRKSRC}/monitorix.cgi ${PREFIX}/${CGIDIR}/
-.for m in ${MAN5}
- @${INSTALL_MAN} ${WRKSRC}/man/man5/$m ${MAN5PREFIX}/man/man5/
-.endfor
-.for m in ${MAN8}
- @${INSTALL_MAN} ${WRKSRC}/man/man8/$m ${MAN8PREFIX}/man/man8/
+.for c in 5 8
+. for m in ${MAN$c}
+ @${INSTALL_MAN} ${WRKSRC}/man/man$c/$m ${MAN$cPREFIX}/man/man$c/
+. endfor
.endfor
@${MKDIR} ${WWWDIR}/reports
.for l in ${REPORT_LANG}
@@ -107,8 +99,8 @@ do-install:
.endfor
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
-. for doc in ${PORTDOCS}
- @${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
+. for f in docs/* README README.FreeBSD README.nginx Changes
+ @${INSTALL_DATA} ${WRKSRC}/$f ${DOCSDIR}
. endfor
.endif
diff --git a/sysutils/monitorix/distinfo b/sysutils/monitorix/distinfo
index be7ff378a87..922f2779b97 100644
--- a/sysutils/monitorix/distinfo
+++ b/sysutils/monitorix/distinfo
@@ -1,2 +1,2 @@
-SHA256 (monitorix-2.4.1.tar.gz) = a0f32f4b16beb4a3ade1763cdef642753f4b8480dae0fd577fa50247a2620f5f
-SIZE (monitorix-2.4.1.tar.gz) = 118500
+SHA256 (monitorix-2.5.0.tar.gz) = 0350e873a0bae6db7d76ceb6decd86bd4f0f81f36e2658f44d93f539695a2d36
+SIZE (monitorix-2.5.0.tar.gz) = 125419
diff --git a/sysutils/monitorix/pkg-plist b/sysutils/monitorix/pkg-plist
index 0aa0c1c9826..0a4d7dc309c 100644
--- a/sysutils/monitorix/pkg-plist
+++ b/sysutils/monitorix/pkg-plist
@@ -1,4 +1,3 @@
-@stopdaemon monitorix
@exec mkdir -p %D/%%WWWDIR%%/imgs
@exec chown %%WWW_OWNER%%:%%WWW_GROUP%% %D/%%WWWDIR%%/imgs
@unexec if cmp -s %D/etc/monitorix.conf %D/etc/monitorix.conf.sample; then rm -f %D/etc/monitorix.conf; fi
@@ -15,6 +14,7 @@ bin/monitorix
%%WWWDIR%%/reports/de.html
%%WWWDIR%%/reports/en.html
%%WWWDIR%%/reports/it.html
+%%WWWDIR%%/reports/pl.html
@dirrm %%WWWDIR%%/reports
%%WWWDIR%%/logo_bot.png
%%WWWDIR%%/logo_top.png