Ticket #50898: Portfile-box2d.diff

File Portfile-box2d.diff, 1.8 KB (added by port@…, 9 years ago)

Diff of the portfiles

  • Portfile

    old new  
    11# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
    2 # $Id$
     2# $Id: Portfile 120593 2014-06-02 19:09:39Z stromnov@macports.org $
    33
    44PortSystem          1.0
     5PortGroup           github 1.0
    56PortGroup           cmake 1.0
    67PortGroup           conflicts_build 1.0
    78
     9github.setup        erincatto Box2D v2.3.1
     10
    811name                box2d
    912version             2.3.1
    1013categories          devel
    1114
     15checksums           sha256 d323141a9bb202e37f9860568ca0769be67e4758e6bbccb4f190fdf50cc7bf4e \
     16                    rmd160 4cc7cf8918ab19a552ee1939c345aa061cd818a3
     17
    1218maintainers         stromnov openmaintainer
    1319
    1420description         Box2D Physics Engine
     
    1824platforms           darwin
    1925
    2026homepage            http://box2d.org/
    21 master_sites        googlecode:box2d
    2227
    23 fetch.type          svn
    24 svn.url             http://box2d.googlecode.com/svn/tags/v${version}
     28worksrcdir          ${workpath}/Box2D-v${version}/Box2D/
    2529
    26 worksrcdir          ${workpath}/build
     30cmake.out_of_source yes
    2731
    28 post-extract {
    29     file mkdir ${worksrcpath}
    30 }
     32cmake.build_dir     ${worksrcdir}/Build
    3133
    3234conflicts_build     ${name}
    3335
    34 configure.args-append ../v${version}/Box2D \
    35                     -DBOX2D_INSTALL=ON \
     36configure.args-append -DBOX2D_INSTALL=ON \
    3637                    -DBOX2D_INSTALL_DOC=ON \
    3738                    -DBOX2D_BUILD_SHARED=ON \
    3839                    -DBOX2D_BUILD_STATIC=ON \
    39                     -DBOX2D_BUILD_EXAMPLES=OFF
    40 
    41 livecheck.type      regex
    42 livecheck.url       http://box2d.googlecode.com/svn/tags
    43 livecheck.regex     {v(\d+(?:\.\d+)*)}
     40                    -DBOX2D_BUILD_EXAMPLES=OFF