1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/net/cricket/scripts/configure
Torsten Blum 93aa7b5018 Cricket is a high performance, extremely flexible system for monitoring
trends in time-series data. Cricket was expressly developed to help network
managers visualize and understand the traffic on their networks, but it can
be used all kinds of other jobs, as well. It's similar to mrtg, but takes
a different approach, is faster and more flexible.
2000-02-13 21:00:09 +00:00

24 lines
821 B
Bash

#!/bin/sh
#
# $FreeBSD$
echo var set to ${PERL5} >/tmp/debug1
FILES_PERLPATH="util/dump-targets util/generate-statics util/listInterfaces \
compile util/newsstats util/pmlines.pl util/rrd-dump util/rrd-tune \
util/test-url util/usrModemUsage collect-subtrees collector \
grapher.cgi mini-graph.cgi"
FILES_PREFIX="sample-config/news-server/Defaults collect-subtrees collector \
compile grapher.cgi mini-graph.cgi util/dump-targets \
util/generate-statics util/listInterfaces util/rrd-dump \
util/rrd-tune util/usrModemUsage"
for f in $FILES_PERLPATH ; do
mv ${WRKSRC}/${f} ${WRKSRC}/$f.bak && sed <${WRKSRC}/${f}.bak \
s+%%PATHPERLBIN%%+${PERL5}+g >${WRKSRC}/${f}
done
for f in $FILES_PREFIX ; do
mv ${WRKSRC}/${f} ${WRKSRC}/$f.bak && sed <${WRKSRC}/${f}.bak \
s+%%PREFIX%%+${PREFIX}+g >${WRKSRC}/${f}
done