Ticket #42687: patch-libewf-Portfile.diff

File patch-libewf-Portfile.diff, 3.1 KB (added by jul_bsd@…, 9 years ago)
  • security/libewf/Portfile

    old new  
    33
    44PortSystem 1.0
    55
    6 name            libewf
    7 version         20131230
    8 revision        1
    9 categories      security
    10 maintainers     nomaintainer
     6#PortGroup           github 1.0
     7
     8## Moved to github but no release at 20141116
     9#github.setup        libyal libewf 201410??
     10name        libewf
     11version        20140608
     12categories    security
     13maintainers    nomaintainer
    1114license             LGPL-3+
    12 description     Libewf is a library for support of the Expert Witness Compression Format
    13 homepage    http://libewf.sourceforge.net/
    14 platforms       darwin
    15 homepage        http://code.google.com/p/libewf/
     15platforms    darwin
     16description         Libewf and tooling to access the Expert Witness Compression Format (EWF).
     17long_description    Libewf is a library for support of the Expert Witness \
     18                    Compression Format (EWF), it support both the SMART \
     19                    format (EWF-S01) and the EnCase format (EWF-E01).  \
     20                    Libewf allows you to read and write media information within the EWF files.
     21homepage            https://code.google.com/p/libewf/
    1622
    1723depends_lib port:openssl path:lib/pkgconfig/fuse.pc:osxfuse
    1824
    19 long_description Libewf is a library for support of the Expert Witness \
    20                 Compression Format (EWF), it support both the SMART \
    21                 format (EWF-S01) and the EnCase format (EWF-E01).  \
    22                 Libewf allows you to read and write media information within the EWF files.
    23 
    2425master_sites        https://googledrive.com/host/0B3fBvzttpiiSMTdoaVExWWNsRjg/
    2526
    26 
    27 checksums           rmd160     3b9d24feba48a9db96576eeecf84e88942552406 \
    28                     sha256    e4ffe1b538cb496ca043ab0f738487828babe33285f29b4ce1cbe115af83a92d
     27checksums           md5     fdf615f23937fad8e02b60b9e3e5fb35 \
     28                    rmd160  bd86f502d9e196dde0de81753595b7b34daa545f \
     29                    sha256  d14030ce6122727935fbd676d0876808da1e112721f3cb108564a4d9bf73da71
     30
     31depends_lib port:openssl
     32
     33configure.args-append --disable-dependency-tracking
     34
     35default_variants +debug +python27
     36
     37variant debug description { enable debug } {
     38    configure.args-append --enable-verbose-output --enable-debug-output
     39}
     40
     41variant python27 description { Python Bindings using Python 2.7} {
     42    ## Enforce the right python config
     43    configure.env       PYTHON_CONFIG=${prefix}/bin/python2.7-config PYTHON_VERSION=2.7
     44
     45    depends_lib-append port:python27
     46    configure.args-append --enable-python \
     47                          --with-pyprefix=`${prefix}/bin/python2.7-config --prefix`
     48    post-destroot {
     49        xinstall -d ${destroot}${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/site-packages/
     50        foreach file [glob -nocomplain -directory ${destroot}/Library/Python/2.7/site-packages *] {
     51            move ${file} ${destroot}${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/site-packages/
     52        }
     53    }
     54}
     55
     56livecheck.type      regex
     57livecheck.url       [lindex ${master_sites} 0]
     58livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}