Ticket #51713: Portfile.diff

File Portfile.diff, 1.7 KB (added by slewsys (Andrew L. Moore), 8 years ago)

Portfile diff

  • Portfile

     
    55PortGroup           github 1.0
    66
    77epoch               1
    8 github.setup        ninja-build ninja 1.6.0 v
     8github.setup        ninja-build ninja 1.7.1 v
    99categories          devel
    1010platforms           darwin
    1111maintainers         uuid-mail.com:521E328E-2A13-4749-826A-E4EF4F22A0F1 openmaintainer
     
    2929
    3030homepage            http://martine.github.com/ninja/
    3131
    32 checksums           rmd160  2bf0352fde5b1288c446c11d8e3f26e04e205b7a \
    33                     sha256  b3d075d1a25aab133fcf69343de5df4d66052b367917f262a9c047a7a1ecc0b4
     32checksums           rmd160  16a67643cf07dd695c3c68b29e058a62e8e06cb5 \
     33                    sha256  e8d7aca6141d7fb79efa757b86e8e20f3f40f8f55b7986de4af18a0064e3763e
    3434
    35 patchfiles          bootstrap.py-use-system-python.diff \
    36                     configure.py-use-system-python.diff
     35patchfiles          configure.py-use-system-python.diff \
     36                    configure.py-bootstrap-only.diff \
     37                    configure.diff
    3738
    38 use_configure       no
    3939
    4040variant universal {}
    4141
    42 build.cmd           ./bootstrap.py
     42depends_build       port:re2c
     43
     44configure.cxx      "${configure.cxx} [get_canonical_archflags cxx]"
     45
     46build.cmd           ./ninja
    4347build.target
    44 build.args          --verbose
     48build.args
    4549build.env           CXX="${configure.cxx} [get_canonical_archflags cxx]"
    4650
     51post-patch {
     52    file attributes ${worksrcpath}/configure -permissions +x
     53}
     54
    4755destroot {
    4856    xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin
    4957    xinstall -d ${destroot}${prefix}/etc/bash_completion.d