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 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup python 1.0 |
---|
6 | |
---|
7 | name py-tsk |
---|
8 | version 20140320 |
---|
9 | categories security |
---|
10 | platforms darwin |
---|
11 | maintainers nomaintainer |
---|
12 | license Apache-2 |
---|
13 | |
---|
14 | python.versions 24 25 26 27 |
---|
15 | python.default_version 27 |
---|
16 | |
---|
17 | description Python binding for the SleuthKit |
---|
18 | long_description ${description} |
---|
19 | |
---|
20 | homepage 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 |
---|
27 | master_sites https://googledrive.com/host/0B3fBvzttpiiScUxsUm54cG02RDA/ |
---|
28 | distname pytsk-${version} |
---|
29 | extract.suffix .tgz |
---|
30 | worksrcdir pytsk |
---|
31 | |
---|
32 | checksums rmd160 cffd655f8c1a73d6ed702863ceb279818bcf9ef2 \ |
---|
33 | sha256 afbd40edaf9bbe6763b435598c9b5c16e9bd9ccb942f1d6b10d6b6d7456da13f |
---|
34 | |
---|
35 | depends_lib-append port:talloc port:sleuthkit |
---|
36 | patchfiles patch-setup_py.diff |
---|
37 | |
---|
38 | build.env TSK_HEADERS_PATH=${prefix}/include |
---|
39 | destroot.env TSK_HEADERS_PATH=${prefix}/include |
---|
40 | |
---|
41 | livecheck.type regex |
---|
42 | livecheck.url [lindex ${master_sites} 0] |
---|
43 | livecheck.regex pytsk-(\[0-9.\]+)${extract.suffix} |
---|