aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorcrees <crees@FreeBSD.org>2012-09-20 04:20:18 +0800
committercrees <crees@FreeBSD.org>2012-09-20 04:20:18 +0800
commitccbed5f96553e8641b28185471ab938704c7a72c (patch)
tree95bedc875fb813efe89a79b11f74ceb34eb81d7d /devel
parent96dbcfb1c9f97c616af94e4feeaac7350737b716 (diff)
downloadfreebsd-ports-gnome-ccbed5f96553e8641b28185471ab938704c7a72c.tar.gz
freebsd-ports-gnome-ccbed5f96553e8641b28185471ab938704c7a72c.tar.zst
freebsd-ports-gnome-ccbed5f96553e8641b28185471ab938704c7a72c.zip
Update to 1.0.0
Use USE_GITHUB PR: ports/171790 Submitted by: maintainer (Grzegorz Blach <magik@roorback.net>)
Diffstat (limited to 'devel')
-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