blob: b1ee319240d8889d6e4ee7fa53cd846ca2ded55f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# 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>
|