Ticket #50898: Portfile-box2d.diff
File Portfile-box2d.diff, 1.8 KB (added by port@…, 9 years ago) |
---|
-
Portfile
old new 1 1 # -*- 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 $ 3 3 4 4 PortSystem 1.0 5 PortGroup github 1.0 5 6 PortGroup cmake 1.0 6 7 PortGroup conflicts_build 1.0 7 8 9 github.setup erincatto Box2D v2.3.1 10 8 11 name box2d 9 12 version 2.3.1 10 13 categories devel 11 14 15 checksums sha256 d323141a9bb202e37f9860568ca0769be67e4758e6bbccb4f190fdf50cc7bf4e \ 16 rmd160 4cc7cf8918ab19a552ee1939c345aa061cd818a3 17 12 18 maintainers stromnov openmaintainer 13 19 14 20 description Box2D Physics Engine … … 18 24 platforms darwin 19 25 20 26 homepage http://box2d.org/ 21 master_sites googlecode:box2d22 27 23 fetch.type svn 24 svn.url http://box2d.googlecode.com/svn/tags/v${version} 28 worksrcdir ${workpath}/Box2D-v${version}/Box2D/ 25 29 26 worksrcdir ${workpath}/build 30 cmake.out_of_source yes 27 31 28 post-extract { 29 file mkdir ${worksrcpath} 30 } 32 cmake.build_dir ${worksrcdir}/Build 31 33 32 34 conflicts_build ${name} 33 35 34 configure.args-append ../v${version}/Box2D \ 35 -DBOX2D_INSTALL=ON \ 36 configure.args-append -DBOX2D_INSTALL=ON \ 36 37 -DBOX2D_INSTALL_DOC=ON \ 37 38 -DBOX2D_BUILD_SHARED=ON \ 38 39 -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