mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
cf7ff585da
Reported by: rene
34 lines
551 B
Makefile
34 lines
551 B
Makefile
# $FreeBSD$
|
|
#
|
|
# Provide support to use Ninja
|
|
#
|
|
# MAINTAINER: portmgr@FreeBSD.org
|
|
#
|
|
# Feature: ninja
|
|
# Usage: USES=ninja
|
|
#
|
|
# User defined variables:
|
|
# NINJA_VERBOSE - Enable verbose output.
|
|
#
|
|
|
|
.if !defined(_INCLUDE_USES_NINJA_MK)
|
|
_INCLUDE_USES_NINJA_MK= yes
|
|
|
|
.if defined(ninja_ARGS)
|
|
IGNORE= Incorrect 'USES+= ninja:${ninja_ARGS}' ninja takes no arguments
|
|
.endif
|
|
|
|
.if defined(NINJA_VERBOSE)
|
|
MAKE_ARGS+= -v
|
|
.endif
|
|
|
|
BUILD_DEPENDS+= ninja:${PORTSDIR}/devel/ninja
|
|
|
|
CMAKE_ARGS+= -GNinja
|
|
MAKEFILE=
|
|
MAKE_CMD= ninja
|
|
MAKE_FLAGS=
|
|
_DESTDIR_VIA_ENV= yes
|
|
|
|
.endif
|