blob: 9c609ab253e229a0368b12589d5de3c7092ff405 (
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
|
# New ports collection makefile for: afterglow
# Date created: 1 Aug 2007
# Whom: pauls
#
# $FreeBSD$
#
PORTNAME= afterglow
PORTVERSION= 1.5
PORTREVISION= 1
CATEGORIES= security graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= afterglow
MAINTAINER= pauls@utdallas.edu
COMMENT= A collection of graph-generating scripts
RUN_DEPENDS= dot:${PORTSDIR}/graphics/graphviz
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
DB_SCRIPTS= attackchains.pl deltacalc2.pl deltacalc.pl iptolong.pl \
snortalert.pl snortdirection.pl snortservice.pl subquery.pl \
tcpdump2sql.pl
GRAPH_SCRIPTS= afterglow-lgl.pl afterglow-lgl2.pl afterglow-walrus.pl afterglow.pl
PARSERS= pf2csv.pl sendmail_parser.pl tcpdump2csv.pl
do-install:
${MKDIR} ${DATADIR}
${MKDIR} ${DATADIR}/data
${MKDIR} ${DATADIR}/database
${MKDIR} ${DATADIR}/graph
${MKDIR} ${DATADIR}/parsers
(cd ${WRKSRC}/data/ && ${COPYTREE_SHARE} \* ${DATADIR}/data "! -name generate.pl")
(cd ${WRKSRC}/src/perl/database/ && ${COPYTREE_SHARE} \* ${DATADIR}/database "! -name *\.pl")
(cd ${WRKSRC}/src/perl/graph/ && ${COPYTREE_SHARE} \* ${DATADIR}/graph "! -name *\.pl")
(cd ${WRKSRC}/src/perl/parsers/ && ${COPYTREE_SHARE} \* ${DATADIR}/parsers "! -name *\.pl")
${INSTALL_SCRIPT} ${WRKSRC}/data/generate.pl ${DATADIR}/data/
.for f in ${DB_SCRIPTS}
${INSTALL_SCRIPT} ${WRKSRC}/src/perl/database/${f} ${DATADIR}/database/${f}
.endfor
.for f in ${GRAPH_SCRIPTS}
${INSTALL_SCRIPT} ${WRKSRC}/src/perl/graph/${f} ${DATADIR}/graph/${f}
.endfor
.for f in ${PARSERS}
${INSTALL_SCRIPT} ${WRKSRC}/src/perl/parsers/${f} ${DATADIR}/parsers/${f}
.endfor
.include <bsd.port.mk>
|