summaryrefslogtreecommitdiff
path: root/devel/kdesdk4/Makefile
blob: 1a2b31bf17a7355c637821f77a71d252c3e67c56 (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# New ports collection Makefile for:	kdesdk
# Date created:				2008-01-31
# Whom:					Martin Wilke <miwi@FreeBSD.org>
#
# $FreeBSD$

PORTNAME=	kdesdk
PORTVERSION=	${KDE4_VERSION}
CATEGORIES=	devel kde
MASTER_SITES=	${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR=	${KDE4_BRANCH}/${PORTVERSION}/src
DIST_SUBDIR=	KDE

MAINTAINER=	kde@FreeBSD.org
COMMENT=	KDE Software Development Kit

BUILD_DEPENDS=	${LOCALBASE}/include/ltdl.h:${PORTSDIR}/devel/libltdl22 \
		${LOCALBASE}/share/xml/docbook/4.2/docbookx.dtd:${PORTSDIR}/textproc/docbook-xml
RUN_DEPENDS=	bash:${PORTSDIR}/shells/bash
LIB_DEPENDS=	svn_client-1.0:${PORTSDIR}/devel/subversion \
		boost_thread.4:${PORTSDIR}/devel/boost-libs \
		hunspell-1.2.0:${PORTSDIR}/hungarian/hunspell

LATEST_LINK=	${PORTNAME}4

CONFLICTS=	kdebase-4.4.[1-5]

USE_BZIP2=	yes
USE_KDE4=	kdelibs pimlibs kdeprefix kdehier \
		automoc4 akonadi kdebase
KDE4_BUILDENV=	yes
USE_QT_VER=	4
QT_COMPONENTS=	network gui svg qt3support \
		qmake_build moc_build rcc_build uic_build \
		porting_build uic3_build
USE_GMAKE=	yes
MAKE_JOBS_SAFE=	yes
CMAKE_ARGS+=	-DCMAKE_REQUIRED_INCLUDES:STRING="${LOCALBASE}/include"

OPTIONS+=	ANTLR	"Support for po2xml and swappo tools"	OFF

MAN1=	adddebug.1 \
	cervisia.1 \
	cheatmake.1 \
	create_cvsignore.1 \
	create_makefile.1 \
	create_makefiles.1 \
	cvscheck.1 \
	cvslastchange.1 \
	cvslastlog.1 \
	cvsrevertlast.1 \
	cxxmetric.1 \
	demangle.1 \
	extend_dmalloc.1 \
	extractrc.1 \
	fixincludes.1 \
	kate.1 \
	po2xml.1 \
	pruneemptydirs.1 \
	qtdoc.1 \
	reportview.1 \
	split2po.1 \
	swappo.1 \
	transxx.1 \
	xml2pot.1 \
	zonetab2pot.py.1

.include <bsd.port.options.mk>

.if defined(WITH_ANTLR)
BUILD_DEPENDS+=	antlr:${PORTSDIR}/devel/antlr
RUN_DEPENDS+=	antlr:${PORTSDIR}/devel/antlr
PLIST_SUB+=	ANTLR=""
.else
CMAKE_ARGS+=	-DWITH_Antlr2:BOOL=off
PLIST_SUB+=	ANTLR="@comment "
.endif

.include <bsd.port.mk>