Revision: 149580 https://trac.macports.org/changeset/149580 Author: mf2k@macports.org Date: 2016-06-27 06:26:49 -0700 (Mon, 27 Jun 2016) Log Message: ----------- ninja: Update to version 1.7.1. (#51713) Modified Paths: -------------- trunk/dports/devel/ninja/Portfile Added Paths: ----------- trunk/dports/devel/ninja/files/patch-configure.py-use-system-python.diff Removed Paths: ------------- trunk/dports/devel/ninja/files/bootstrap.py-use-system-python.diff trunk/dports/devel/ninja/files/configure.py-use-system-python.diff Modified: trunk/dports/devel/ninja/Portfile =================================================================== --- trunk/dports/devel/ninja/Portfile 2016-06-27 13:08:35 UTC (rev 149579) +++ trunk/dports/devel/ninja/Portfile 2016-06-27 13:26:49 UTC (rev 149580) @@ -5,7 +5,7 @@ PortGroup github 1.0 epoch 1 -github.setup ninja-build ninja 1.6.0 v +github.setup ninja-build ninja 1.7.1 v categories devel platforms darwin maintainers nomaintainer @@ -29,21 +29,30 @@ homepage http://martine.github.com/ninja/ -checksums rmd160 2bf0352fde5b1288c446c11d8e3f26e04e205b7a \ - sha256 b3d075d1a25aab133fcf69343de5df4d66052b367917f262a9c047a7a1ecc0b4 +checksums rmd160 16a67643cf07dd695c3c68b29e058a62e8e06cb5 \ + sha256 e8d7aca6141d7fb79efa757b86e8e20f3f40f8f55b7986de4af18a0064e3763e -patchfiles bootstrap.py-use-system-python.diff \ - configure.py-use-system-python.diff +patchfiles patch-configure.py-use-system-python.diff \ + patch-configure.py-bootstrap-only.diff \ + patch-configure.diff -use_configure no variant universal {} -build.cmd ./bootstrap.py +depends_build-append \ + port:re2c + +configure.cxx "${configure.cxx} [get_canonical_archflags cxx]" + +build.cmd ./ninja build.target -build.args --verbose +build.args build.env CXX="${configure.cxx} [get_canonical_archflags cxx]" +post-patch { + file attributes ${worksrcpath}/configure -permissions +x +} + destroot { xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin xinstall -d ${destroot}${prefix}/etc/bash_completion.d Deleted: trunk/dports/devel/ninja/files/bootstrap.py-use-system-python.diff =================================================================== --- trunk/dports/devel/ninja/files/bootstrap.py-use-system-python.diff 2016-06-27 13:08:35 UTC (rev 149579) +++ trunk/dports/devel/ninja/files/bootstrap.py-use-system-python.diff 2016-06-27 13:26:49 UTC (rev 149580) @@ -1,8 +0,0 @@ ---- bootstrap.py.orig 2013-09-15 20:54:11.000000000 +0200 -+++ bootstrap.py 2013-09-15 20:54:20.000000000 +0200 -@@ -1,4 +1,4 @@ --#!/usr/bin/env python -+#!/usr/bin/python - # Copyright 2011 Google Inc. All Rights Reserved. - # - # Licensed under the Apache License, Version 2.0 (the "License"); Deleted: trunk/dports/devel/ninja/files/configure.py-use-system-python.diff =================================================================== --- trunk/dports/devel/ninja/files/configure.py-use-system-python.diff 2016-06-27 13:08:35 UTC (rev 149579) +++ trunk/dports/devel/ninja/files/configure.py-use-system-python.diff 2016-06-27 13:26:49 UTC (rev 149580) @@ -1,8 +0,0 @@ ---- configure.py.orig 2013-09-15 20:54:06.000000000 +0200 -+++ configure.py 2013-09-15 20:54:33.000000000 +0200 -@@ -1,4 +1,4 @@ --#!/usr/bin/env python -+#!/usr/bin/python - # - # Copyright 2001 Google Inc. All Rights Reserved. - # Copied: trunk/dports/devel/ninja/files/patch-configure.py-use-system-python.diff (from rev 149579, trunk/dports/devel/ninja/files/configure.py-use-system-python.diff) =================================================================== --- trunk/dports/devel/ninja/files/patch-configure.py-use-system-python.diff (rev 0) +++ trunk/dports/devel/ninja/files/patch-configure.py-use-system-python.diff 2016-06-27 13:26:49 UTC (rev 149580) @@ -0,0 +1,8 @@ +--- configure.py.orig 2013-09-15 20:54:06.000000000 +0200 ++++ configure.py 2013-09-15 20:54:33.000000000 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/python + # + # Copyright 2001 Google Inc. All Rights Reserved. + #