mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
b0627efe37
While here do not conditionnalize docs installation the avoid double .include and stage make sure DOCS is respected
38 lines
824 B
Makefile
38 lines
824 B
Makefile
# Created by: Grzegorz Blach <gblach@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ninja
|
|
PORTVERSION= 1.4.0
|
|
PORTREVISION= 1
|
|
PORTEPOCH= 1
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= gblach@FreeBSD.org
|
|
COMMENT= Ninja is a small build system closest in spirit to Make
|
|
|
|
LICENSE= APACHE20
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= martine
|
|
GH_TAGNAME= v${PORTVERSION}
|
|
GH_COMMIT= 63d5b10
|
|
|
|
CONFLICTS= irc/ninja-[0-9]*
|
|
USE_PYTHON_BUILD= yes
|
|
|
|
PLIST_FILES= bin/ninja
|
|
PORTDOCS= COPYING HACKING.md README manual.asciidoc
|
|
|
|
do-build:
|
|
@(cd ${WRKSRC} && \
|
|
CXX=${CXX} CFLAGS="${CXXFLAGS}" ${PYTHON_CMD} bootstrap.py --verbose)
|
|
|
|
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 <bsd.port.mk>
|