Ignore:
Timestamp:
Sep 29, 2014, 6:58:31 PM (5 years ago)
Author:
cal@…
Message:

libevt: update to 20140731, fix "no files matched glob pattern '*'", closes #42789

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/security/libevt/Portfile

    r117733 r125926  
    55
    66name                libevt
    7 version             20140112
     7version             20140731
    88categories-append   security
    99platforms           darwin
     
    2121worksrcdir          ${name}-${version}
    2222
    23 checksums           md5     4a0040f9b941689362b8f48e56ad48e7 \
    24                     rmd160  4e40a30f70a053b456619e7d9b9da8a6dddb3079 \
    25                     sha256  51499e3e847230333c28ae58290e1a3dbb4ec34aeba2d31a35f3aaed3d64e778
     23checksums           rmd160  f825de315408a9d289409fb3da4fe641b56252fa \
     24                    sha256  66fecfc8044a3e6b0a68faee294e14d1072de81a79449ff499c7b48a6567eb26
    2625
    2726depends_lib         port:gettext
    2827
     28variant universal {}
     29configure.cflags-append "${configure.cflags} [get_canonical_archflags cc]"
    2930
     31post-destroot {
     32    xinstall -d ${destroot}${prefix}/share/docs/${name}
     33    foreach f { AUTHORS COPYING NEWS README } {
     34        xinstall ${worksrcpath}/${f} ${destroot}${prefix}/share/docs/${name}/
     35    }
     36}
    3037
    31 ## => do the manual way, in post-destroot ...
    32 #post-configure {
    33 #   ## FIXME! NOK, tons of other file
    34 #   reinplace "s|PYTHON_PACKAGE_DIR = /Library/Python/2.7/site-packages|PYTHON_PACKAGE_DIR = ${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/site-packages|" ${worksrcpath}/Makefile
    35 #
    36 #}
     38## https://code.google.com/p/libevt/wiki/Testing
    3739
    38 
    39 ## FIXME: a way to split in two packages: lib and python bindings?
    40 
    41 default_variants +debug +python
     40default_variants +debug +python27
    4241
    4342variant debug description {Enable verbose and debug output} {
     
    4544}
    4645
    47 ## FIXME: howto point specific python?
    48 variant python description {Use python 2.7} {
     46variant python27 description {Python Bindings using Python 2.7} {
     47    ## Enforce the right python config
     48    configure.env       PYTHON_CONFIG=${prefix}/bin/python2.7-config PYTHON_VERSION=2.7
     49
    4950    depends_lib-append port:python27
    5051    configure.args-append --enable-python \
     
    5253    post-destroot {
    5354        xinstall -d ${destroot}${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/site-packages/
    54         foreach file [glob -directory ${destroot}/Library/Python/2.7/site-packages *] {
     55        foreach file [glob -nocomplain -directory ${destroot}/Library/Python/2.7/site-packages *] {
    5556            move ${file} ${destroot}${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/site-packages/
    5657        }
Note: See TracChangeset for help on using the changeset viewer.