Ticket #43420: Portfile

File Portfile, 5.4 KB (added by jul_bsd@…, 10 years ago)
Line 
1# $Id: Portfile 117001 2014-02-12 10:07:53Z ryandesign@macports.org $
2
3PortSystem          1.0
4PortGroup           perl5 1.0
5
6name                log2timeline
7version             0.65
8categories          security
9platforms           darwin
10maintainers         yahoo.fr:jul_bsd openmaintainer
11license             GPL-3+
12
13description         framework for automatic creation of a super timeline
14
15long_description    ${name} provides a single tool to parse \
16                    various log files and artifacts found on suspect systems \
17                    (and supporting systems, such as network equipment) and \
18                    produces a timeline that can be analysed by forensic \
19                    investigators/analysts.
20
21homepage            https://code.google.com/p/log2timeline/
22master_sites        googlecode
23extract.suffix      .tgz
24distname            ${name}_${version}
25
26checksums           sha1    99bb6f68a417aaa840a7957be9918586d1918a33 \
27                    rmd160  c9dad4035bad1dbbf87e82f123aa014f03aa647f
28
29supported_archs     noarch
30
31configure.pre_args
32
33post-destroot {
34    eval delete [glob ${destroot}${prefix}/lib/perl5/*/*/perllocal.pod]
35}
36
37livecheck.type      regex
38livecheck.url       ${homepage}downloads/list
39## FIXME! port version empty ?!
40livecheck.regex     ${name}_(\\d+(\\.\[0-9a-z\]+)+)${extract.suffix}
41
42default_variants    +perl5_16
43
44variant perl5_12 conflicts perl5_18 perl5_16 description { Perl bindings with perl 5.12} {
45    depends_lib         port:perl5.12 \
46                        port:p5.12-archive-zip \
47                        port:p5.12-carp-assert \
48                        port:p5.12-datetime-format-strptime \
49                        port:p5.12-datetime-timezone \
50                        port:p5.12-dbd-sqlite \
51                        port:p5.12-dbi \
52                        port:p5.12-digest-crc \
53                        port:p5.12-gtk2 \
54                        port:p5.12-html-parser \
55                        port:p5.12-html-scrubber \
56                        port:p5.12-image-exiftool \
57                        port:p5.12-libwww-perl \
58                        port:p5.12-net-pcap \
59                        port:p5.12-netpacket \
60                        port:p5.12-xml-libxml \
61                        port:p5.12-datemanip \
62                        port:p5.12-parse-win32registry \
63                        port:p5.12-file-mork \
64                        port:p5.12-data-hexify \
65                        port:p5.12-version \
66                        port:p5.12-params-validate \
67                        port:p5.12-xml-entities \
68                        port:p5.12-mac-propertylist
69    configure.cmd       ${prefix}/bin/perl5.12 Makefile.PL
70
71    notes "
72tool is ${prefix}/libexec/perl5.12/sitebin/log2timeline
73"
74}
75
76variant perl5_16 conflicts perl5_18 perl5_12 description { Perl bindings with perl 5.16} {
77    depends_lib         port:perl5.16 \
78                        port:p5.16-archive-zip \
79                        port:p5.16-carp-assert \
80                        port:p5.16-datetime-format-strptime \
81                        port:p5.16-datetime-timezone \
82                        port:p5.16-dbd-sqlite \
83                        port:p5.16-dbi \
84                        port:p5.16-digest-crc \
85                        port:p5.16-gtk2 \
86                        port:p5.16-html-parser \
87                        port:p5.16-html-scrubber \
88                        port:p5.16-image-exiftool \
89                        port:p5.16-libwww-perl \
90                        port:p5.16-net-pcap \
91                        port:p5.16-netpacket \
92                        port:p5.16-xml-libxml \
93                        port:p5.16-datemanip \
94                        port:p5.16-parse-win32registry \
95                        port:p5.16-file-mork \
96                        port:p5.16-data-hexify \
97                        port:p5.16-version \
98                        port:p5.16-params-validate \
99                        port:p5.16-xml-entities \
100                        port:p5.16-mac-propertylist
101    configure.cmd       ${prefix}/bin/perl5.16 Makefile.PL
102
103    notes "
104tool is ${prefix}/libexec/perl5.16/sitebin/log2timeline
105"
106}
107
108variant perl5_18 conflicts perl5_16 perl5_12 description { Perl bindings with perl 5.18} {
109    depends_lib         port:perl5.18 \
110                        port:p5.18-archive-zip \
111                        port:p5.18-carp-assert \
112                        port:p5.18-datetime-format-strptime \
113                        port:p5.18-datetime-timezone \
114                        port:p5.18-dbd-sqlite \
115                        port:p5.18-dbi \
116                        port:p5.18-digest-crc \
117                        port:p5.18-gtk2 \
118                        port:p5.18-html-parser \
119                        port:p5.18-html-scrubber \
120                        port:p5.18-image-exiftool \
121                        port:p5.18-libwww-perl \
122                        port:p5.18-net-pcap \
123                        port:p5.18-netpacket \
124                        port:p5.18-xml-libxml \
125                        port:p5.18-datemanip \
126                        port:p5.18-parse-win32registry \
127                        port:p5.18-file-mork \
128                        port:p5.18-data-hexify \
129                        port:p5.18-version \
130                        port:p5.18-params-validate \
131                        port:p5.18-xml-entities \
132                        port:p5.18-mac-propertylist
133    configure.cmd       ${prefix}/bin/perl5.18 Makefile.PL
134
135    notes "
136tool is ${prefix}/libexec/perl5.18/sitebin/log2timeline
137"
138}