# -*- 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 # $Id: Portfile 119218 2014-04-20 23:07:50Z jeremyhu@macports.org $ PortSystem 1.0 name libewf version 20140608 categories security maintainers nomaintainer license LGPL-3+ platforms darwin description Libewf and tooling to access the Expert Witness Compression Format (EWF). long_description Libewf is a library for support of the Expert Witness \ Compression Format (EWF), it support both the SMART \ format (EWF-S01) and the EnCase format (EWF-E01). \ Libewf allows you to read and write media information within the EWF files. homepage https://code.google.com/p/libewf/ depends_lib port:openssl path:lib/pkgconfig/fuse.pc:osxfuse master_sites https://googledrive.com/host/0B3fBvzttpiiSMTdoaVExWWNsRjg/ checksums md5 fdf615f23937fad8e02b60b9e3e5fb35 \ rmd160 bd86f502d9e196dde0de81753595b7b34daa545f \ sha256 d14030ce6122727935fbd676d0876808da1e112721f3cb108564a4d9bf73da71 depends_lib port:openssl configure.args-append --disable-dependency-tracking default_variants +debug +python27 variant debug description { enable debug } { configure.args-append --enable-verbose-output --enable-debug-output } variant python27 description { Python Bindings using Python 2.7} { ## Enforce the right python config configure.env PYTHON_CONFIG=${prefix}/bin/python2.7-config PYTHON_VERSION=2.7 depends_lib-append port:python27 configure.args-append --enable-python \ --with-pyprefix=`${prefix}/bin/python2.7-config --prefix` post-destroot { if [file exists ${destroot}/Library/Python/2.7/site-packages/pyewf.a ] { xinstall -d ${destroot}${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/site-packages/ foreach file [glob -directory ${destroot}/Library/Python/2.7/site-packages *] { move ${file} ${destroot}${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/site-packages/ } } } } livecheck.type regex livecheck.url [lindex ${master_sites} 0] livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}