aboutsummaryrefslogtreecommitdiff
path: root/devel/ninja
diff options
context:
space:
mode:
authorChris Rees <crees@FreeBSD.org>2012-09-19 20:20:18 +0000
committerChris Rees <crees@FreeBSD.org>2012-09-19 20:20:18 +0000
commit181fda19ad2b4856419f2316f2ab37e7a489ba15 (patch)
tree95bedc875fb813efe89a79b11f74ceb34eb81d7d /devel/ninja
parent368e46b2087db7fd2b7cef85477437cdb609ea47 (diff)
downloadports-181fda19ad2b4856419f2316f2ab37e7a489ba15.tar.gz
ports-181fda19ad2b4856419f2316f2ab37e7a489ba15.zip
Notes
Diffstat (limited to 'devel/ninja')
-rw-r--r--devel/ninja/Makefile34
-rw-r--r--devel/ninja/distinfo4
2 files changed, 19 insertions, 19 deletions
diff --git a/devel/ninja/Makefile b/devel/ninja/Makefile
index 9df26544567b..f95d5e09f10b 100644
--- a/devel/ninja/Makefile
+++ b/devel/ninja/Makefile
@@ -1,40 +1,40 @@
-# New ports collection makefile for: ninja
-# Date created: 08 February 2011
-# Whom: Grzegorz Blach <magik@roorback.net>
-#
+# Created by: Grzegorz Blach <magik@roorback.net>
# $FreeBSD$
-#
PORTNAME= ninja
-PORTVERSION= 20120619
+PORTVERSION= 1.0.0
+PORTEPOCH= 1
CATEGORIES= devel
-MASTER_SITES= https://github.com/MagikBSD/ninja/tarball/${DISTVERSION}/
-DISTNAME= MagikBSD-${PORTNAME}-${DISTVERSION}-0-g${GITVERSION}
MAINTAINER= magik@roorback.net
COMMENT= Ninja is a small build system closest in spirit to Make
LICENSE= AL2
+USE_GITHUB= yes
+GH_ACCOUNT= martine
+GH_TAGNAME= v${PORTVERSION}
+GH_COMMIT= 7096bf1
+
CONFLICTS= irc/ninja-[0-9]*
USE_PYTHON= yes
-GITVERSION= b3d63db
-FETCH_ARGS= -pRr
-WRKSRC= ${WRKDIR}/MagikBSD-${PORTNAME}-${GITVERSION}
-
PLIST_FILES= bin/ninja
-PORTDOCS= COPYING HACKING README manual.asciidoc
+PORTDOCS= COPYING HACKING.md README manual.asciidoc
+
+.include <bsd.port.options.mk>
do-build:
- @(cd ${WRKSRC}; CXX=${CXX} CFLAGS="${CXXFLAGS}" ./bootstrap.py --verbose)
+ @(cd ${WRKSRC} && \
+ CXX=${CXX} CFLAGS="${CXXFLAGS}" ./bootstrap.py --verbose)
do-install:
@${INSTALL} -m 755 ${WRKSRC}/ninja ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
- @(cd ${WRKSRC}; ${INSTALL} -m 644 COPYING HACKING README ${DOCSDIR})
- @(cd ${WRKSRC}/doc; ${INSTALL} -m 644 manual.asciidoc ${DOCSDIR})
+ @(cd ${WRKSRC} && \
+ ${INSTALL_DATA} COPYING HACKING.md README doc/manual.asciidoc \
+ ${DOCSDIR})
.endif
.include <bsd.port.mk>
diff --git a/devel/ninja/distinfo b/devel/ninja/distinfo
index bee95bb7cfad..e7de1e16ab92 100644
--- a/devel/ninja/distinfo
+++ b/devel/ninja/distinfo
@@ -1,2 +1,2 @@
-SHA256 (MagikBSD-ninja-20120619-0-gb3d63db.tar.gz) = f56dac4779beb45627d71a3623b0c19b1fac401f9d85d0c9e95483e255afe7dc
-SIZE (MagikBSD-ninja-20120619-0-gb3d63db.tar.gz) = 114544
+SHA256 (ninja-1.0.0.tar.gz) = 43a25892fe4d2da8eb5075490a900bbb48d6ff63308f1327260f51cb6b84657a
+SIZE (ninja-1.0.0.tar.gz) = 127934