1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/devel/kdevelop-kde4/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

42 lines
1.3 KiB
Makefile

# Created by: Golyashov Sergei <svvord@mail.ru>
# $FreeBSD$
PORTNAME= kdevelop
DISTVERSION= ${KDEVELOP_VERSION}
CATEGORIES= devel kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= ${KDEVELOP_BRANCH}/kdevelop/${DISTVERSION}/src
DIST_SUBDIR= KDE/kdevelop/${KDEVELOP_VERSION}
MAINTAINER= kde@FreeBSD.org
COMMENT= Plugin extensible IDE for KDE
LIB_DEPENDS= libkdevplatforminterfaces.so:${PORTSDIR}/devel/kdevplatform
RUN_DEPENDS= gmake:${PORTSDIR}/devel/gmake
USE_KDE4= kdelibs kdeprefix workspace automoc4
USE_QT4= qmake_build moc_build uic_build rcc_build \
corelib declarative gui help script webkit xml
USES= cmake:outsource compiler:c++11-lib gmake shared-mime-info tar:xz
OPTIONS_DEFINE= OKTETA PHP NLS
OPTIONS_DEFAULT= OKTETA PHP
OPTIONS_SUB= yes
OKTETA_DESC= Hex editing support via Okteta
OKTETA_LIB_DEPENDS= libokteta1core.so:${PORTSDIR}/devel/okteta
OKTETA_CMAKE_OFF= -DWITH_LibOktetaKasten:BOOL=OFF
OKTETA_CMAKE_ON= -DWITH_LibOktetaKasten:BOOL=ON
PHP_DESC= PHP support for KDevelop
PHP_RUN_DEPENDS= ${KDE4_PREFIX}/lib/kde4/kdevphplanguagesupport.so:${PORTSDIR}/devel/kdevelop-php
NLS_USES= gettext
NLS_CMAKE_OFF= -DBUILD_po:BOOL=FALSE
post-patch:
${REINPLACE_CMD} -e '/^update_xdg_mimetypes/ d; /SharedMimeInfo/ d' \
${PATCH_WRKSRC}/app/CMakeLists.txt
.include <bsd.port.mk>