[146731] trunk/dports/devel/box2d/Portfile

stromnov at macports.org stromnov at macports.org
Wed Mar 16 04:51:38 PDT 2016


Revision: 146731
          https://trac.macports.org/changeset/146731
Author:   stromnov at macports.org
Date:     2016-03-16 04:51:38 -0700 (Wed, 16 Mar 2016)
Log Message:
-----------
box2d: switch to github (#50898)

Modified Paths:
--------------
    trunk/dports/devel/box2d/Portfile

Modified: trunk/dports/devel/box2d/Portfile
===================================================================
--- trunk/dports/devel/box2d/Portfile	2016-03-16 10:04:56 UTC (rev 146730)
+++ trunk/dports/devel/box2d/Portfile	2016-03-16 11:51:38 UTC (rev 146731)
@@ -3,41 +3,35 @@
 
 PortSystem          1.0
 PortGroup           cmake 1.0
+PortGroup           github 1.0
 PortGroup           conflicts_build 1.0
 
+github.setup        erincatto Box2D 2.3.1 v
+
 name                box2d
-version             2.3.1
 categories          devel
+platforms           darwin
+license             BSD
 
 maintainers         stromnov openmaintainer
 
 description         Box2D Physics Engine
-
 long_description    ${description}
 
-platforms           darwin
-
 homepage            http://box2d.org/
-master_sites        googlecode:box2d
 
-fetch.type          svn
-svn.url             http://box2d.googlecode.com/svn/tags/v${version}
+checksums           rmd160  4cc7cf8918ab19a552ee1939c345aa061cd818a3 \
+                    sha256  d323141a9bb202e37f9860568ca0769be67e4758e6bbccb4f190fdf50cc7bf4e
 
-worksrcdir          ${workpath}/build
+conflicts_build     ${name}
 
-post-extract {
-    file mkdir ${worksrcpath}
-}
+cmake.out_of_source yes
 
-conflicts_build     ${name}
+worksrcdir          Box2D-${version}/Box2D
 
-configure.args-append ../v${version}/Box2D \
+configure.args-append \
                     -DBOX2D_INSTALL=ON \
                     -DBOX2D_INSTALL_DOC=ON \
                     -DBOX2D_BUILD_SHARED=ON \
                     -DBOX2D_BUILD_STATIC=ON \
                     -DBOX2D_BUILD_EXAMPLES=OFF
-
-livecheck.type      regex
-livecheck.url       http://box2d.googlecode.com/svn/tags
-livecheck.regex     {v(\d+(?:\.\d+)*)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160316/0e969bab/attachment.html>


More information about the macports-changes mailing list