aboutsummaryrefslogtreecommitdiffstats
path: root/devel/kdevelop-php/Makefile
blob: cf846b3f44e9b2eff883b580e0ff086469f57181 (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
# $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=    kdevplatforminterfaces:${PORTSDIR}/devel/kdevplatform
BUILD_DEPENDS=  ${KDE4_PREFIX}/bin/kdev-pg-qt:${PORTSDIR}/devel/kdevelop-pg-qt

USE_KDE4=   kdehier kdelibs kdeprefix automoc4
USE_QT4=    moc_build qmake_build rcc_build uic_build
USE_XZ=     yes
USES=       cmake gmake
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>