Hi ports@, Hi Matthew,

simple ninja update. Tested @amd64 with some ports in the last days.

Port highlights:

- switch to new github repo (official)
- new HOMEPAGE
- add post-install to compile ninja_syntax.py
- cleanup do-install tabs

Kind regards,

Rafael Sadowski


Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/ninja/Makefile,v
retrieving revision 1.19
diff -u -p -u -p -r1.19 Makefile
--- Makefile    12 May 2016 07:14:15 -0000      1.19
+++ Makefile    13 Nov 2016 19:50:57 -0000
@@ -7,14 +7,12 @@ NOT_FOR_ARCHS=                m88k
 
 COMMENT =              small build system with a focus on speed
 
-V =                    1.7.1
-GH_ACCOUNT =           martine
+GH_ACCOUNT =           ninja-build
 GH_PROJECT =           ninja
-GH_TAGNAME =           v$V
-DISTNAME =             ${GH_PROJECT}-$V
+GH_TAGNAME =           v1.7.2
 
 CATEGORIES =           devel
-HOMEPAGE =             http://martine.github.io/ninja/
+HOMEPAGE =             https://ninja-build.org/
 MAINTAINER =           Matthew Dempsky <[email protected]>
 
 # Apache License v2.0
@@ -39,8 +37,8 @@ MAKE_ENV =            CXX="${CXX}"
 
 do-build:
        @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
-           ${MODPY_BIN} ./configure.py --bootstrap \
-           --verbose --with-python=${MODPY_BIN}
+               ${MODPY_BIN} ./configure.py --bootstrap \
+               --verbose --with-python=${MODPY_BIN}
 
 do-install:
        ${INSTALL_PROGRAM} ${WRKBUILD}/ninja ${PREFIX}/bin
@@ -52,5 +50,9 @@ do-install:
        ${INSTALL_DATA} ${WRKSRC}/misc/ninja.vim ${PREFIX}/share/ninja
        ${INSTALL_DATA} ${WRKSRC}/misc/ninja_syntax.py ${PREFIX}/share/ninja
        ${INSTALL_DATA} ${WRKSRC}/misc/zsh-completion ${PREFIX}/share/ninja
+
+post-install:
+       ${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py \
+               ${PREFIX}/share/ninja/ninja_syntax.py
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/ninja/distinfo,v
retrieving revision 1.8
diff -u -p -u -p -r1.8 distinfo
--- distinfo    12 May 2016 07:14:15 -0000      1.8
+++ distinfo    13 Nov 2016 19:50:57 -0000
@@ -1,2 +1,2 @@
-SHA256 (ninja-1.7.1.tar.gz) = UVgd5Tz0cFuJ62sUqFuqcyiK0Iv/JW59MNUpFVgTvhk=
-SIZE (ninja-1.7.1.tar.gz) = 179717
+SHA256 (ninja-1.7.2.tar.gz) = Lt2gpUIazjz0KDCSEScHct01qRr2DJb5P5Dfa8QbFtk=
+SIZE (ninja-1.7.2.tar.gz) = 180611
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/devel/ninja/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 PLIST
--- pkg/PLIST   14 Jun 2013 16:39:39 -0000      1.2
+++ pkg/PLIST   13 Nov 2016 19:50:57 -0000
@@ -7,4 +7,5 @@ share/ninja/bash-completion
 share/ninja/ninja-mode.el
 share/ninja/ninja.vim
 share/ninja/ninja_syntax.py
+share/ninja/ninja_syntax.pyc
 share/ninja/zsh-completion


Reply via email to