View | Details | Raw Unified | Return to bug 212701
Collapse All | Expand All

(-)Makefile (-2 / +6 lines)
Lines 4-9 Link Here
4
PORTNAME=	ninja
4
PORTNAME=	ninja
5
PORTVERSION=	1.7.1
5
PORTVERSION=	1.7.1
6
DISTVERSIONPREFIX=	v
6
DISTVERSIONPREFIX=	v
7
PORTREVISION=	1
7
PORTEPOCH=	2
8
PORTEPOCH=	2
8
CATEGORIES=	devel
9
CATEGORIES=	devel
9
10
Lines 14-23 Link Here
14
LICENSE_FILE=	${WRKSRC}/COPYING
15
LICENSE_FILE=	${WRKSRC}/COPYING
15
16
16
USE_GITHUB=	yes
17
USE_GITHUB=	yes
17
GH_ACCOUNT=	martine
18
GH_ACCOUNT=	ninja-build
18
19
19
CONFLICTS=	irc/ninja-[0-9]*
20
CONFLICTS=	irc/ninja-[0-9]*
20
USES=		python:build
21
USES=		python
21
22
22
PLIST_FILES=	bin/ninja
23
PLIST_FILES=	bin/ninja
23
PORTDOCS=	HACKING.md README manual.asciidoc
24
PORTDOCS=	HACKING.md README manual.asciidoc
Lines 38-41 Link Here
38
	    ${INSTALL_DATA} HACKING.md README doc/manual.asciidoc \
39
	    ${INSTALL_DATA} HACKING.md README doc/manual.asciidoc \
39
	    ${STAGEDIR}${DOCSDIR})
40
	    ${STAGEDIR}${DOCSDIR})
40
41
42
do-test: build
43
	cd ${WRKSRC} && ./ninja ninja_test && ./ninja_test
44
41
.include <bsd.port.mk>
45
.include <bsd.port.mk>
(-)distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (martine-ninja-v1.7.1_GH0.tar.gz) = 51581de53cf4705b89eb6b14a85baa73288ad08bff256e7d30d529155813be19
1
TIMESTAMP = 1473939709
2
SIZE (martine-ninja-v1.7.1_GH0.tar.gz) = 179717
2
SHA256 (ninja-build-ninja-v1.7.1_GH0.tar.gz) = 51581de53cf4705b89eb6b14a85baa73288ad08bff256e7d30d529155813be19
3
SIZE (ninja-build-ninja-v1.7.1_GH0.tar.gz) = 179717
(-)files/patch-configure.py (+11 lines)
Line 0 Link Here
1
--- configure.py.orig	2016-09-15 12:26:28 UTC
2
+++ configure.py
3
@@ -98,7 +98,7 @@ class Platform(object):
4
         return self._platform in ('freebsd', 'openbsd', 'bitrig')
5
 
6
     def supports_ppoll(self):
7
-        return self._platform in ('linux', 'openbsd', 'bitrig')
8
+        return self._platform in ('freebsd', 'linux', 'openbsd', 'bitrig')
9
 
10
     def supports_ninja_browse(self):
11
         return (not self.is_windows()
(-)pkg-descr (-1 / +1 lines)
Lines 8-11 Link Here
8
from custom non-recursive Makefiles) can take ten seconds to start building
8
from custom non-recursive Makefiles) can take ten seconds to start building
9
after changing one file. Ninja is under a second.
9
after changing one file. Ninja is under a second.
10
10
11
WWW: https://github.com/martine/ninja
11
WWW: https://ninja-build.org/

Return to bug 212701