freebsd-ports/devel/kdevelop-php/Makefile
Alonso Schaich 2bc850a1ec Fix build of kdevelop on FreeBSD8 and 9
devel/kdevplatform requires a c++11 conformant compiler and runtime
libraries. Further, it exposes these requirements to its consumer
PORTS by exposing c++11 stl interfaces in its header files.

Also, devel/kdevelop requires a c++11 runtime library by its usage of
initializer lists on top of its kdevplatform consumage.

Have the kdevplatform, kdevelop and kdevelop-php PORTS require a
corresponsing toolchain by USEing compiler:c++11-lib

While here, add cmake:outsource to these ports.

PR:		195742
Approved by:	rakuco (mentor)
2014-12-09 07:39:50 +00:00

31 lines
929 B
Makefile

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