aboutsummaryrefslogtreecommitdiffstats
path: root/devel/kdevelop-kde4/Makefile
blob: 015a75c25300674c56bd2e3c5bb32d98037b33e7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# New ports collection makefile for:    kdevelop
# Date created:     Sun Aug 23 17:14:39 UTC 2009
# Whom:         Golyashov Sergei <svvord@mail.ru>
#
# $FreeBSD$

PORTNAME=   kdevelop
DISTVERSION=    ${KDEVELOP_VERSION}
PORTREVISION=   2
CATEGORIES= devel kde
MASTER_SITES=   ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= ${KDEVELOP_BRANCH}/kdevelop/${DISTVERSION}/src
DIST_SUBDIR=    KDE

MAINTAINER= kde@FreeBSD.org
COMMENT=    Opensource IDE based on KDevPlatform, KDE, and Qt libraries

LIB_DEPENDS+=   kdevplatforminterfaces.5:${PORTSDIR}/devel/kdevplatform

USE_BZIP2=  yes
USE_CMAKE=  yes
USE_GMAKE=  yes
USE_KDE4=   automoc4 kdehier kdelibs kdeprefix workspace
USE_QT4=    qmake_build moc_build uic_build rcc_build
MAKE_JOBS_SAFE= yes

OPTIONS=    OKTETA  "Install Okteta plugin" on \
        PHP "Install PHP support" on

LATEST_LINK=    ${PORTNAME}-kde4

.include <bsd.port.options.mk>

.ifndef(WITHOUT_OKTETA)
LIB_DEPENDS+=   okteta1core:${PORTSDIR}/devel/kdesdk4
PLIST_SUB+= OKTETA=""
.else
CMAKE_ARGS+=    WITH_LibOkteta:BOOL=FALSE
PLIST_SUB+= OKTETA="@comment "
.endif

.ifndef(WITHOUT_PHP)
RUN_DEPENDS+=   ${PREFIX}/lib/kde4/kdevphplanguagesupport.so:${PORTSDIR}/devel/kdevelop-php
.endif

.include <bsd.port.mk>