freebsd-ports/devel/kdevelop-php/Makefile
Tobias C. Berner 5e373eaa92 Make ninja opt-out in cmake.mk
Using ninja instead of make (1) can lead to significant speed ups while building.
Therefore switch from having the ninja generator opt-in to having it opt-out.

Previously cmake-ports that wanted to use ninja could set
    CMAKE_NINJA=yes
now, ports that do not work with ninja can set
    cmake:<existing args>,noninja
Note, that needing this should be an exception and most often points to a broken
cmake of the port.

The ports using cmake were modified
* removed USES=gmake, if ninja is used
* removed MAKE_ARGS, if ninja is used
* added the cmake-argument noninja if necessary

PR:		219629
PR:		213331
Exp-run by:	antoine
Reviewed by:	rakuco
Differential Revision:	https://reviews.freebsd.org/D10748
2017-06-25 21:07:58 +00:00

31 lines
857 B
Makefile

# $FreeBSD$
PORTNAME= kdevelop-php
PORTVERSION= ${KDEVELOP_VERSION:S/4./1./}
PORTREVISION= 2
CATEGORIES= devel kde
MASTER_SITES= KDE/${KDEVELOP_BRANCH}/kdevelop/${KDEVELOP_VERSION}
DIST_SUBDIR= KDE/kdevelop/${KDEVELOP_VERSION}
MAINTAINER= kde@FreeBSD.org
COMMENT= PHP support for KDevelop
LIB_DEPENDS= libkdevplatforminterfaces.so:devel/kdevplatform
BUILD_DEPENDS= ${KDE_PREFIX}/bin/kdev-pg-qt:devel/kdevelop-pg-qt
USES= cmake:outsource compiler:c++11-lib kde:4 tar:xz
USE_KDE= kdelibs automoc4
USE_QT4= moc_build qmake_build rcc_build uic_build
MAKE_JOBS_UNSAFE= yes
OPTIONS_DEFINE= PHPDOCS NLS
OPTIONS_DEFAULT= PHPDOCS
OPTIONS_SUB= yes
PHPDOCS_DESC= Integrate with PHP.net documentation
PHPDOCS_RUN_DEPENDS= ${KDE_PREFIX}/lib/kde4/kdevphpdocs.so:devel/kdevelop-php-docs
NLS_USES= gettext
NLS_CMAKE_OFF= -DBUILD_po:BOOL=Off
.include <bsd.port.mk>