Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Sep 2012 19:03:23 GMT
From:      Grzegorz Blach <magik@roorback.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/171790: devel/ninja: Update to 1.0.0
Message-ID:  <201209191903.q8JJ3NVW088845@red.freebsd.org>
Resent-Message-ID: <201209191910.q8JJA3EQ067415@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         171790
>Category:       ports
>Synopsis:       devel/ninja: Update to 1.0.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 19 19:10:03 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Grzegorz Blach
>Release:        9.1-RC1
>Organization:
>Environment:
FreeBSD silver.nine 9.1-RC1 FreeBSD 9.1-RC1 #7 r240316: Mon Sep 10 19:53:24 CEST 2012     magik@silver.nine:/usr/obj/usr/src/sys/SILVER  amd64

>Description:
- Port devel/ninja: update to 1.0.0
- Switch to USE_GITHUB=yes

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN devel/ninja/Makefile devel/ninja/Makefile
--- devel/ninja/Makefile	2012-06-27 15:50:51.000000000 +0200
+++ devel/ninja/Makefile	2012-09-14 16:59:20.000000000 +0200
@@ -6,25 +6,25 @@
 #
 
 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
 
 do-build:
 	@(cd ${WRKSRC}; CXX=${CXX} CFLAGS="${CXXFLAGS}" ./bootstrap.py --verbose)
@@ -33,7 +33,7 @@
 	@${INSTALL} -m 755 ${WRKSRC}/ninja ${PREFIX}/bin
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
-	@(cd ${WRKSRC}; ${INSTALL} -m 644 COPYING HACKING README ${DOCSDIR})
+	@(cd ${WRKSRC}; ${INSTALL} -m 644 COPYING HACKING.md README ${DOCSDIR})
 	@(cd ${WRKSRC}/doc; ${INSTALL} -m 644 manual.asciidoc ${DOCSDIR})
 .endif
 
diff -ruN devel/ninja/distinfo devel/ninja/distinfo
--- devel/ninja/distinfo	2012-06-27 15:50:51.000000000 +0200
+++ devel/ninja/distinfo	2012-09-14 16:59:20.000000000 +0200
@@ -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


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209191903.q8JJ3NVW088845>