blob: 1da4e34500d1e24432cd97d3764effb1b7f93196 (
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
|
# Created by: pauls
# $FreeBSD$
PORTNAME= afterglow
PORTVERSION= 1.6.2
PORTREVISION= 1
CATEGORIES= security graphics net-mgmt
MASTER_SITES= SF/${PORTNAME}/AfterGlow%201.x/${PORTVERSION}
MAINTAINER= bofh@FreeBSD.org
COMMENT= Collection of graph-generating scripts
LICENSE= GPLv2 # or later
LICENSE_FILE= ${WRKSRC}/GPL
RUN_DEPENDS= dot:${PORTSDIR}/graphics/graphviz \
p5-Text-CSV>=0:${PORTSDIR}/textproc/p5-Text-CSV \
p5-Crypt-Rijndael>=0:${PORTSDIR}/security/p5-Crypt-Rijndael \
p5-IP-Anonymous>=0:${PORTSDIR}/net/p5-IP-Anonymous
USES= shebangfix
SHEBANG_FILES= data/generate.pl \
src/perl/charts/*.pl \
src/perl/graph/afterglow.pl \
src/perl/loganalysis/*.pl \
src/perl/loganalysis/*.sh \
src/perl/parsers/*.pl
PORTSCOUT= skipv:2.0
NO_BUILD= yes
NO_ARCH= yes
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}/data
${MKDIR} ${STAGEDIR}${DATADIR}/charts
${MKDIR} ${STAGEDIR}${DATADIR}/graph
${MKDIR} ${STAGEDIR}${DATADIR}/loganalysis
${MKDIR} ${STAGEDIR}${DATADIR}/parsers
(cd ${WRKSRC}/data/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${DATADIR}/data "! -name generate.pl")
(cd ${WRKSRC}/data/ && ${COPYTREE_BIN} \* ${STAGEDIR}${DATADIR}/data "-name generate.pl")
(cd ${WRKSRC}/src/perl/charts/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${DATADIR}/charts "! -name *\.pl")
(cd ${WRKSRC}/src/perl/charts/ && ${COPYTREE_BIN} \* ${STAGEDIR}${DATADIR}/charts "-name *\.pl")
(cd ${WRKSRC}/src/perl/graph/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${DATADIR}/graph "! -name *\.pl")
(cd ${WRKSRC}/src/perl/graph/ && ${COPYTREE_BIN} \* ${STAGEDIR}${DATADIR}/graph "-name *\.pl")
(cd ${WRKSRC}/src/perl/loganalysis/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${DATADIR}/loganalysis "! ( -name *\.pl -or -name *\.sh )")
(cd ${WRKSRC}/src/perl/loganalysis/ && ${COPYTREE_BIN} \* ${STAGEDIR}${DATADIR}/loganalysis "( -name *\.pl -or -name *\.sh )")
(cd ${WRKSRC}/src/perl/parsers/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${DATADIR}/parsers "! -name *\.pl")
(cd ${WRKSRC}/src/perl/parsers/ && ${COPYTREE_BIN} \* ${STAGEDIR}${DATADIR}/parsers "-name *\.pl")
.include <bsd.port.mk>
|