# Created by: Grzegorz Blach # $FreeBSD$ PORTNAME= ninja PORTVERSION= 1.5.3 DISTVERSIONPREFIX= v PORTEPOCH= 1 CATEGORIES= devel MAINTAINER= ports@FreeBSD.org COMMENT= Ninja is a small build system closest in spirit to Make LICENSE= APACHE20 USE_GITHUB= yes GH_ACCOUNT= martine CONFLICTS= irc/ninja-[0-9]* USES= python:build PLIST_FILES= bin/ninja PORTDOCS= COPYING HACKING.md README manual.asciidoc OPTIONS_DEFINE= DOCS do-build: @(cd ${WRKSRC} && \ CXX="${CXX}" CFLAGS="${CXXFLAGS}" ${PYTHON_CMD} configure.py --bootstrap) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/ninja ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && \ ${INSTALL_DATA} COPYING HACKING.md README doc/manual.asciidoc \ ${STAGEDIR}${DOCSDIR}) .include