Ticket #53505: Portfile-libpointing.3.diff

File Portfile-libpointing.3.diff, 1.4 KB (added by casiez (Géry Casiez), 8 years ago)
  • Portfile

    old new  
    44PortGroup           cxx11 1.0
    55PortGroup           github 1.0
    66
    7 github.setup        INRIA libpointing 1.0.2 v
     7github.setup        INRIA libpointing 1.0.5 v
    88categories          devel
    99platforms           darwin
    10 maintainers         inria.fr:izzatbek.mukhanov openmaintainer
     10maintainers         univ-lille1.fr:gery.casiez gmail.com:christian.frisson gmail.com:izzatbek openmaintainer
    1111license             GPL-2+
    1212
    1313description         An open-source cross-platform library to get raw events \
     
    2222distname            ${name}-mac-${version}
    2323worksrcdir          ${name}-${version}
    2424
    25 checksums           rmd160  f65ba44f6d04d522887ae254e5451c7a55f83c34 \
    26                     sha256  4f4234581772bace7e811da1643d53922d8e29efdb52a5a6d7aaa13c937159f1
     25checksums           rmd160  87bd7763f1c264cfbecb8de8c87c9916767d732a \
     26                    sha256  8060c542322b659968b8eabc42d9c620fdbb4fb28c67c870721734f7241bdd1a
    2727
    2828patchfiles          patch-Makefile.diff
    2929
     
    3737                    PREFIX=${prefix}
    3838
    3939destroot.env        PREFIX=${prefix}
     40
     41pre-fetch {
     42    if {${os.platform} eq "darwin" && ${os.major} < 13} {
     43        ui_error "${name} requires macOS 10.9 or above."
     44        return -code error "incompatible Mac OS X version"
     45    }
     46}