freebsd-ports/devel/ninja/Makefile
Julien Laffaye 19318a66ac Update to 20110620
Fixes build with clang

PR:		ports/158143
Submitted by:	"Grzegorz Blach" <magik@roorback.net> (maintainer)
Approved by:	tabthorpe (mentor)
2011-06-27 13:27:27 +00:00

39 lines
987 B
Makefile

# New ports collection makefile for: ninja
# Date created: 08 February 2011
# Whom: Grzegorz Blach <magik@roorback.net>
#
# $FreeBSD$
#
PORTNAME= ninja
PORTVERSION= 20110620
CATEGORIES= devel
MASTER_SITES= https://github.com/Roorback/ninja/tarball/${DISTVERSION}/
DISTNAME= Roorabck-${PORTNAME}-${DISTVERSION}-0-g${GITVERSION}
MAINTAINER= magik@roorback.net
COMMENT= Ninja is a small build system closest in spirit to Make
LICENSE= ASL
CONFLICTS= irc/ninja-[0-9]*
USE_PYTHON= yes
GITVERSION= ed48ae5
FETCH_ARGS= -pRr
WRKSRC= ${WRKDIR}/Roorback-${PORTNAME}-${GITVERSION}
PLIST_FILES= bin/ninja
PORTDOCS= COPYING HACKING README manual.asciidoc todo
do-build:
@(cd ${WRKSRC}; ./bootstrap.sh)
do-install:
@${INSTALL} -m 755 ${WRKSRC}/ninja ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@(cd ${WRKSRC}; ${INSTALL} -m 644 COPYING HACKING README todo ${DOCSDIR})
@(cd ${WRKSRC}/doc; ${INSTALL} -m 644 manual.asciidoc ${DOCSDIR})
.endif
.include <bsd.port.mk>