blob: 3a764ca52d494e2540317a36675d57c771ef7fbd (
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
|
# $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
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_BZIP2= yes
USES= cmake
USE_GMAKE= yes
MAKE_JOBS_UNSAFE= yes
OPTIONS_DEFINE= PHPDOCS NLS
OPTIONS_DEFAULT= ${OPTIONS_DEFINE}
PHPDOCS_DESC= Integrate with PHP.net documentation
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MPHPDOCS}
RUN_DEPENDS+= ${KDE4_PREFIX}/lib/kde4/kdevphpdocs.so:${PORTSDIR}/devel/kdevelop-php-docs
.endif
.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.else
CMAKE_ARGS+= -DBUILD_po:BOOL=Off
PLIST_SUB+= NLS="@comment "
.endif
.include <bsd.port.mk>
|