blob: 05e6b41d5729a57fd9c5464843298ae918fe3a5a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# New ports collection makefile for: afterglow
# Date created: 1 Aug 2007
# Whom: pauls
#
# $FreeBSD$
#
PORTNAME= afterglow
PORTVERSION= 1.6.0
PORTREVISION= 1
CATEGORIES= security graphics
MASTER_SITES= SF/${PORTNAME}/AfterGlow%201.x/${PORTVERSION}
MAINTAINER= pauls@utdallas.edu
COMMENT= A collection of graph-generating scripts
RUN_DEPENDS= dot:${PORTSDIR}/graphics/graphviz \
${SITE_PERL}/Text/CSV.pm:${PORTSDIR}/textproc/p5-Text-CSV \
p5-Crypt-Rijndael>=0:${PORTSDIR}/security/p5-Crypt-Rijndael \
p5-IP-Anonymous>=0:${PORTSDIR}/net/p5-IP-Anonymous
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
CHARTS_SCRIPTS= bar.pl bar2.pl boxplot.pl bubble.pl scatter.pl trendline.pl trendline2.pl
GRAPH_SCRIPTS= afterglow.pl afterglow-lgl.pl
LOGANALYSIS_SCRIPTS= anonymize.pl capper.pl merge_logs.pl overview.sh random_logs.pl
PARSERS= argus2csv.pl ipfw2csv.pl pf2csv.pl sendmail_parser.pl snortalert2csv.pl tcpdump2csv.pl
do-install:
${MKDIR} ${DATADIR}/data
${MKDIR} ${DATADIR}/charts
${MKDIR} ${DATADIR}/graph/Text
${MKDIR} ${DATADIR}/loganalysis
${MKDIR} ${DATADIR}/parsers
(cd ${WRKSRC}/data/ && ${COPYTREE_SHARE} \* ${DATADIR}/data "! -name generate.pl")
(cd ${WRKSRC}/src/perl/charts/ && ${COPYTREE_SHARE} \* ${DATADIR}/charts "! -name *\.pl")
(cd ${WRKSRC}/src/perl/graph/ && ${COPYTREE_SHARE} \* ${DATADIR}/graph "! -name *\.pl")
(cd ${WRKSRC}/src/perl/loganalysis/ && ${COPYTREE_SHARE} \* ${DATADIR}/loganalysis "! ( -name *\.pl -or -name *\.sh )")
(cd ${WRKSRC}/src/perl/parsers/ && ${COPYTREE_SHARE} \* ${DATADIR}/parsers "! -name *\.pl")
${INSTALL_SCRIPT} ${WRKSRC}/data/generate.pl ${DATADIR}/data/
.for f in ${CHARTS_SCRIPTS}
${INSTALL_SCRIPT} ${WRKSRC}/src/perl/charts/${f} ${DATADIR}/charts/${f}
.endfor
.for f in ${GRAPH_SCRIPTS}
${INSTALL_SCRIPT} ${WRKSRC}/src/perl/graph/${f} ${DATADIR}/graph/${f}
.endfor
.for f in ${LOGANALYSIS_SCRIPTS}
${INSTALL_SCRIPT} ${WRKSRC}/src/perl/loganalysis/${f} ${DATADIR}/loganalysis/${f}
.endfor
.for f in ${PARSERS}
${INSTALL_SCRIPT} ${WRKSRC}/src/perl/parsers/${f} ${DATADIR}/parsers/${f}
.endfor
.include <bsd.port.mk>
|