1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00

Update to 2.5.0

This commit is contained in:
Chris Rees 2012-04-19 19:33:27 +00:00
parent 65bce5ba7f
commit 05267381e7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=295126
3 changed files with 12 additions and 20 deletions

View File

@ -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

View File

@ -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

View File

@ -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