Ticket #42392: Portfile

File Portfile, 1.5 KB (added by jul_bsd@…, 10 years ago)
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 111353 2013-09-19 07:21:56Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-tsk
8version             20140320
9categories          security
10platforms           darwin
11maintainers         nomaintainer
12license             Apache-2
13
14python.versions     24 25 26 27
15python.default_version     27
16
17description         Python binding for the SleuthKit
18long_description    ${description}
19
20homepage            https://code.google.com/p/pytsk/
21#master_sites        googlecode
22### https://code.google.com/p/pytsk/wiki/Building
23#fetch.type          hg
24#hg.url              ${homepage}
25### FIXME! there is no source tar available and no browsing of mercurial repository. only guessing tag
26##hg.tag              20140201
27master_sites        https://googledrive.com/host/0B3fBvzttpiiScUxsUm54cG02RDA/
28distname            pytsk-${version}
29extract.suffix      .tgz
30worksrcdir          pytsk
31
32checksums           rmd160  cffd655f8c1a73d6ed702863ceb279818bcf9ef2 \
33                    sha256  afbd40edaf9bbe6763b435598c9b5c16e9bd9ccb942f1d6b10d6b6d7456da13f
34
35depends_lib-append  port:talloc port:sleuthkit
36patchfiles          patch-setup_py.diff
37
38build.env           TSK_HEADERS_PATH=${prefix}/include
39destroot.env        TSK_HEADERS_PATH=${prefix}/include
40
41livecheck.type      regex
42livecheck.url       [lindex ${master_sites} 0]
43livecheck.regex     pytsk-(\[0-9.\]+)${extract.suffix}