svn commit: r422215 - head/devel/ninja
Grzegorz Blach
gblach at FreeBSD.org
Thu Sep 15 16:26:01 UTC 2016
Author: gblach
Date: Thu Sep 15 16:26:00 2016
New Revision: 422215
URL: https://svnweb.freebsd.org/changeset/ports/422215
Log:
- Switch GH_ACCOUNT to ninja-build
- Use python also at runtime (needed by 'browse' tool)
- Add do-test section
- Change WWW to https://ninja-build.org/
- Bump PORTREVISION
PR: 212701
Submitted by: gahr
Modified:
head/devel/ninja/Makefile
head/devel/ninja/distinfo
head/devel/ninja/pkg-descr
Modified: head/devel/ninja/Makefile
==============================================================================
--- head/devel/ninja/Makefile Thu Sep 15 16:16:22 2016 (r422214)
+++ head/devel/ninja/Makefile Thu Sep 15 16:26:00 2016 (r422215)
@@ -4,6 +4,7 @@
PORTNAME= ninja
PORTVERSION= 1.7.1
DISTVERSIONPREFIX= v
+PORTREVISION= 1
PORTEPOCH= 2
CATEGORIES= devel
@@ -14,10 +15,10 @@ LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/COPYING
USE_GITHUB= yes
-GH_ACCOUNT= martine
+GH_ACCOUNT= ninja-build
CONFLICTS= irc/ninja-[0-9]*
-USES= python:build
+USES= python
PLIST_FILES= bin/ninja
PORTDOCS= HACKING.md README manual.asciidoc
@@ -38,4 +39,7 @@ do-install:
${INSTALL_DATA} HACKING.md README doc/manual.asciidoc \
${STAGEDIR}${DOCSDIR})
+do-test: build
+ cd ${WRKSRC} && ./ninja ninja_test && ./ninja_test
+
.include <bsd.port.mk>
Modified: head/devel/ninja/distinfo
==============================================================================
--- head/devel/ninja/distinfo Thu Sep 15 16:16:22 2016 (r422214)
+++ head/devel/ninja/distinfo Thu Sep 15 16:26:00 2016 (r422215)
@@ -1,2 +1,3 @@
-SHA256 (martine-ninja-v1.7.1_GH0.tar.gz) = 51581de53cf4705b89eb6b14a85baa73288ad08bff256e7d30d529155813be19
-SIZE (martine-ninja-v1.7.1_GH0.tar.gz) = 179717
+TIMESTAMP = 1473955296
+SHA256 (ninja-build-ninja-v1.7.1_GH0.tar.gz) = 51581de53cf4705b89eb6b14a85baa73288ad08bff256e7d30d529155813be19
+SIZE (ninja-build-ninja-v1.7.1_GH0.tar.gz) = 179717
Modified: head/devel/ninja/pkg-descr
==============================================================================
--- head/devel/ninja/pkg-descr Thu Sep 15 16:16:22 2016 (r422214)
+++ head/devel/ninja/pkg-descr Thu Sep 15 16:26:00 2016 (r422215)
@@ -8,4 +8,4 @@ over 30,000 source files and whose other
from custom non-recursive Makefiles) can take ten seconds to start building
after changing one file. Ninja is under a second.
-WWW: https://github.com/martine/ninja
+WWW: https://ninja-build.org/
More information about the svn-ports-all
mailing list