1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/devel/ninja/Makefile
Pawel Pekala 86f8cde1da Fix installation with PORTSDOCS
PR:		ports/160942
Submitted by:	Grzegorz Blach <magik@roorback.net> (maintainer)
Approved by:	miwi, wen (mentors implicit)
2011-09-23 21:38:40 +00:00

42 lines
1005 B
Makefile

# New ports collection makefile for: ninja
# Date created: 08 February 2011
# Whom: Grzegorz Blach <magik@roorback.net>
#
# $FreeBSD$
#
PORTNAME= ninja
PORTVERSION= 20110922
PORTREVISION= 1
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= d342acd
FETCH_ARGS= -pRr
WRKSRC= ${WRKDIR}/Roorback-${PORTNAME}-${GITVERSION}
PLIST_FILES= bin/ninja
PORTDOCS= COPYING HACKING README manual.asciidoc
do-build:
@(cd ${WRKSRC}; CXX=${CXX} ./bootstrap.sh)
do-install:
@${INSTALL} -m 755 ${WRKSRC}/ninja ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@(cd ${WRKSRC}; ${INSTALL} -m 644 COPYING HACKING README ${DOCSDIR})
@(cd ${WRKSRC}/doc; ${INSTALL} -m 644 manual.asciidoc ${DOCSDIR})
.endif
.include <bsd.port.mk>