# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # Makefile # distinfo # pkg-descr # pkg-plist # echo x - Makefile sed 's/^X//' >Makefile << 'b67911656ef5d18c4ae36cb6741b7965' X# New ports collection makefile for: monitorix X# Date created: 19 May 2010 X# Whom: Michael Brune X# X# $FreeBSD$ X# X XPORTNAME= monitorix XPORTVERSION= 1.5.0 XCATEGORIES= sysutils XMASTER_SITES= http://monitorix.org/ X XMAINTAINER= admin@mjbrune.org XCOMMENT= A web based monitoring system. X XLIB_DEPENDS= rrd:${PORTSDIR}/databases/rrdtool XBUILD_DEPENDS= ${SITE_PERL}/LWP/Parallel.pm:${PORTSDIR}/www/p5-ParallelUA X XMAN5= monitorix.conf.5 XMANCOMPRESSED= yes XNO_BUILD= yes X XCGIDIR?= ${PREFIX}/www/cgi-bin XDATADIR?= /var/db/ XWWWDIR?= ${PREFIX}/www/ X Xpre-everything:: X @${ECHO_MSG} "" X @${ECHO_MSG} "You may set following options:" X @${ECHO_MSG} "" X @${ECHO_MSG} "DATADIR=${DATADIR} Where do you put RRD databases?" X @${ECHO_MSG} "CGIDIR=${CGIDIR} Where do you put cgi?" X @${ECHO_MSG} "WWWDIR=${WWWDIR} Where do you put httpd's document root?" X @${ECHO_MSG} "" X Xpost-patch: X @${REINPLACE_CMD} -e "s./usr/local/lib.${DATADIR}." ${WRKSRC}/install.sh X @${REINPLACE_CMD} -e "s./usr/local/lib.${DATADIR}." ${WRKSRC}/monitorix.conf X @${REINPLACE_CMD} -e "s./usr/local/www/apache22/data.${WWWDIR}." ${WRKSRC}/install.sh X @${REINPLACE_CMD} -e "s./usr/local/www/apache22/data.${WWWDIR}." ${WRKSRC}/monitorix.conf X @${REINPLACE_CMD} -e "s./usr/local/www/apache22/cgi-bin.${CGIDIR}." ${WRKSRC}/install.sh X @${REINPLACE_CMD} -e "s./usr/local.${PREFIX}." ${WRKSRC}/install.sh X @${REINPLACE_CMD} -e "s./usr/local.${PREFIX}." ${WRKSRC}/monitorix.conf X @${REINPLACE_CMD} -e "s./usr/local/lib/.${DATADIR}." ${WRKSRC}/ports/FreeBSD/monitorix.init X Xdo-install: X cd ${WRKSRC}; ./install.sh X X.include b67911656ef5d18c4ae36cb6741b7965 echo x - distinfo sed 's/^X//' >distinfo << '57677d168a5ec21bdf22c9501f075a8f' XMD5 (monitorix-1.5.0.tar.gz) = fecf3552771c23548df2f3d19a736a7c XSHA256 (monitorix-1.5.0.tar.gz) = c01893f397f783a701f4cf7920211f6633476b319eef26a6d00054cfd2db706b XSIZE (monitorix-1.5.0.tar.gz) = 140673 57677d168a5ec21bdf22c9501f075a8f echo x - pkg-descr sed 's/^X//' >pkg-descr << '7f9555c3c1089940396b503dd37f3979' XMonitorix is a free, open source, lightweight system monitoring tool Xdesigned to monitorize as many services as possible. At this time it Xmonitors from the CPU load and temperatures to the users using the system. XNetwork devices activity, network services demand and even the devices' Xinterrupt activity are also monitored, and more. The current status of any Xcorporate server with Monitorix installed can be accessed via a web browser. X XWWW: http://www.monitorix.org/ 7f9555c3c1089940396b503dd37f3979 echo x - pkg-plist sed 's/^X//' >pkg-plist << '842cde48cf18b70a11b15515ca566742' Xsbin/monitorix.pl Xetc/rc.d/monitorix X%%PORTDOCS%%%%DOCSDIR%%/COPYING X%%PORTDOCS%%%%DOCSDIR%%/Changes X%%PORTDOCS%%%%DOCSDIR%%/README X%%PORTDOCS%%%%DOCSDIR%%/README.FreeBSD X%%PORTDOCS%%%%DOCSDIR%%/README.Slackware X%%PORTDOCS%%%%DOCSDIR%%/README.nginx X%%PORTDOCS%%%%DOCSDIR%%/TODO X%%PORTDOCS%%%%DOCSDIR%%/monitorix-alert.sh X%%PORTDOCS%%%%DOCSDIR%%/monitorix-apache.conf X%%PORTDOCS%%%%DOCSDIR%%/monitorix.spec X%%WWWDIR%%/monitorix/logo_bot.png X%%WWWDIR%%/monitorix/logo_top.png X%%WWWDIR%%/monitorix/monitorixico.png X%%WWWDIR%%/cgi-bin/monitorix.cgi X@dirrm %%WWWDIR%%/monitorix/imgs X@dirrm %%WWWDIR%%/monitorix X@dirrm %%PORTDOCS%%%%DOCSDIR%%/ 842cde48cf18b70a11b15515ca566742 exit