Ticket #45643: patch-libevt-Portfile.diff

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

    old new  
    33
    44PortSystem          1.0
    55
    6 name                libevt
    7 version             20140731
     6PortGroup           github 1.0
     7
     8github.setup        libyal libevt 20141026
    89categories-append   security
    910platforms           darwin
    1011maintainers         nomaintainer
    1112license             LGPL-3+
    12 
    1313description         Library and tooling to access the Windows Event Log (EVT) format
    14 
    1514long_description    ${description}
    1615
    17 homepage            https://code.google.com/p/libevt/
    18 master_sites        https://googledrive.com/host/0B3fBvzttpiiSYm01VnUtLXNUZ2M/
    19 
     16## Note: We want "release source"not source code
     17master_sites        https://github.com/libyal/${name}/releases/download/${version}/
    2018distname            ${name}-alpha-${version}
    2119worksrcdir          ${name}-${version}
    2220
    23 checksums           rmd160  f825de315408a9d289409fb3da4fe641b56252fa \
    24                     sha256  66fecfc8044a3e6b0a68faee294e14d1072de81a79449ff499c7b48a6567eb26
    25 
    26 depends_lib         port:gettext
     21checksums           rmd160  edf8c012c586af0b6515fbc4e99658e6f4392687 \
     22                    sha256  e0e8d40b1d70965cd2e192edd05c9fca19f1c3f7f01a9fad68178ce5444de380
    2723
    28 variant universal {}
    29 configure.cflags-append "${configure.cflags} [get_canonical_archflags cc]"
     24depends_lib         port:gettext \
     25                    port:libcstring \
     26                    port:libcerror \
     27                    port:libcthreads \
     28                    port:libcdata \
     29                    port:libclocale \
     30                    port:libcnotify \
     31                    port:libcsplit \
     32                    port:libuna \
     33                    port:libcfile \
     34                    port:libcpath \
     35                    port:libbfio \
     36                    port:libfcache \
     37                    port:libfdata \
     38                    port:libfdatetime \
     39                    port:libfguid \
     40                    port:libfvalue \
     41                    port:libfwnt \
     42                    port:libfwevt \
     43                    port:libexe \
     44                    port:libregf \
     45                    port:libwrc \
     46                    port:libcdirectory \
     47                    port:libcsystem
    3048
    3149post-destroot {
    3250    xinstall -d ${destroot}${prefix}/share/docs/${name}
     
    5876    }
    5977}
    6078
    61 livecheck.type      regex
    62 livecheck.url       [lindex ${master_sites} 0]
    63 livecheck.regex     ${name}-alpha-(\[0-9.\]+)${extract.suffix}