[Midnightbsd-cvs] mports [15881] trunk/devel/ninja: ninja 1.4.0

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Fri Feb 21 15:33:10 EST 2014


Revision: 15881
          http://svnweb.midnightbsd.org/mports/?rev=15881
Author:   laffer1
Date:     2014-02-21 15:33:09 -0500 (Fri, 21 Feb 2014)
Log Message:
-----------
ninja 1.4.0

Modified Paths:
--------------
    trunk/devel/ninja/Makefile
    trunk/devel/ninja/distinfo
    trunk/devel/ninja/files/patch-platform_helper.py

Removed Paths:
-------------
    trunk/devel/ninja/files/patch-src__manifest_parser.cc

Modified: trunk/devel/ninja/Makefile
===================================================================
--- trunk/devel/ninja/Makefile	2014-02-21 20:25:41 UTC (rev 15880)
+++ trunk/devel/ninja/Makefile	2014-02-21 20:33:09 UTC (rev 15881)
@@ -1,7 +1,7 @@
 # $MidnightBSD$
 
 PORTNAME=	ninja
-PORTVERSION=	1.3.4
+PORTVERSION=	1.4.0
 CATEGORIES=	devel
 
 MAINTAINER=	ports at MidnightBSD.org
@@ -12,10 +12,10 @@
 USE_GITHUB=	yes
 GH_ACCOUNT=	martine
 GH_TAGNAME=	v${PORTVERSION}
-GH_COMMIT=	045d008
+GH_COMMIT=	63d5b10
 
 CONFLICTS=	irc/ninja-[0-9]*
-USE_PYTHON=	yes
+USE_PYTHON_BUILD=	yes
 
 PLIST_FILES=	bin/ninja
 PORTDOCS=	COPYING HACKING.md README manual.asciidoc
@@ -24,15 +24,13 @@
 
 do-build:
 	@(cd ${WRKSRC} && \
-		CXX=${CXX} CFLAGS="${CXXFLAGS}" ./bootstrap.py --verbose)
+		CXX=${CXX} CFLAGS="${CXXFLAGS}" ${PYTHON_CMD} bootstrap.py --verbose)
 
 do-install:
-	@${INSTALL_PROGRAM} ${WRKSRC}/ninja ${PREFIX}/bin
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	@(cd ${WRKSRC} && \
+	${INSTALL_PROGRAM} ${WRKSRC}/ninja ${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	(cd ${WRKSRC} && \
 	    ${INSTALL_DATA} COPYING HACKING.md README doc/manual.asciidoc \
 	    ${DOCSDIR})
-.endif
 
 .include <bsd.port.mk>

Modified: trunk/devel/ninja/distinfo
===================================================================
--- trunk/devel/ninja/distinfo	2014-02-21 20:25:41 UTC (rev 15880)
+++ trunk/devel/ninja/distinfo	2014-02-21 20:33:09 UTC (rev 15881)
@@ -1,2 +1,2 @@
-SHA256 (ninja-1.3.4.tar.gz) = 592bc2f520da09fc5975539caf2786557f5c5a7fdb999b02ca821e1db1340b2c
-SIZE (ninja-1.3.4.tar.gz) = 148792
+SHA256 (ninja-1.4.0.tar.gz) = 3f4bf2053613438c07b0d4c56f5bb12ab6fc4044ce02398bdd49c88a02fc73a6
+SIZE (ninja-1.4.0.tar.gz) = 152426

Modified: trunk/devel/ninja/files/patch-platform_helper.py
===================================================================
--- trunk/devel/ninja/files/patch-platform_helper.py	2014-02-21 20:25:41 UTC (rev 15880)
+++ trunk/devel/ninja/files/patch-platform_helper.py	2014-02-21 20:33:09 UTC (rev 15881)
@@ -1,5 +1,5 @@
---- platform_helper.py.orig	2013-06-04 14:47:31.000000000 -0400
-+++ platform_helper.py	2013-09-18 21:39:49.000000000 -0400
+--- platform_helper.py.orig	2013-09-11 22:15:28.000000000 -0400
++++ platform_helper.py	2014-02-21 15:28:18.130559482 -0500
 @@ -18,7 +18,7 @@
  import sys
  
@@ -6,7 +6,7 @@
  def platforms():
 -    return ['linux', 'darwin', 'freebsd', 'openbsd', 'solaris', 'sunos5',
 +    return ['linux', 'darwin', 'freebsd', 'midnightbsd', 'openbsd', 'solaris', 'sunos5',
-             'mingw', 'msvc', 'gnukfreebsd8']
+             'mingw', 'msvc', 'gnukfreebsd8', 'bitrig']
  
  class Platform( object ):
 @@ -33,6 +33,8 @@
@@ -18,7 +18,7 @@
          elif self._platform.startswith('openbsd'):
              self._platform = 'openbsd'
          elif self._platform.startswith('solaris'):
-@@ -64,6 +66,9 @@
+@@ -65,6 +67,9 @@
      def is_freebsd(self):
          return self._platform == 'freebsd'
  

Deleted: trunk/devel/ninja/files/patch-src__manifest_parser.cc
===================================================================
--- trunk/devel/ninja/files/patch-src__manifest_parser.cc	2014-02-21 20:25:41 UTC (rev 15880)
+++ trunk/devel/ninja/files/patch-src__manifest_parser.cc	2014-02-21 20:33:09 UTC (rev 15881)
@@ -1,10 +0,0 @@
---- ./src/manifest_parser.cc.orig	2013-06-04 20:47:31.000000000 +0200
-+++ ./src/manifest_parser.cc	2013-09-06 16:58:05.243065037 +0200
-@@ -15,6 +15,7 @@
- #include "manifest_parser.h"
- 
- #include <stdio.h>
-+#include <stdlib.h>
- #include <vector>
- 
- #include "graph.h"



More information about the Midnightbsd-cvs mailing list