svn commit: r304545 - head/devel/ninja

Chris Rees crees at FreeBSD.org
Wed Sep 19 20:20:19 UTC 2012


Author: crees
Date: Wed Sep 19 20:20:18 2012
New Revision: 304545
URL: http://svn.freebsd.org/changeset/ports/304545

Log:
  Update to 1.0.0
  
  Use USE_GITHUB
  
  PR:		ports/171790
  Submitted by:	maintainer (Grzegorz Blach <magik at roorback.net>)

Modified:
  head/devel/ninja/Makefile
  head/devel/ninja/distinfo

Modified: head/devel/ninja/Makefile
==============================================================================
--- head/devel/ninja/Makefile	Wed Sep 19 20:00:34 2012	(r304544)
+++ head/devel/ninja/Makefile	Wed Sep 19 20:20:18 2012	(r304545)
@@ -1,40 +1,40 @@
-# New ports collection makefile for:	ninja
-# Date created:				08 February 2011
-# Whom:					Grzegorz Blach <magik at roorback.net>
-#
+# Created by: Grzegorz Blach <magik at 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 at 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>

Modified: head/devel/ninja/distinfo
==============================================================================
--- head/devel/ninja/distinfo	Wed Sep 19 20:00:34 2012	(r304544)
+++ head/devel/ninja/distinfo	Wed Sep 19 20:20:18 2012	(r304545)
@@ -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



More information about the svn-ports-all mailing list