summaryrefslogtreecommitdiff
path: root/devel/kdesdk4/Makefile
blob: 44f50fbefd10b86a7e57e661421d54a27fc3c29b (plain)
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
# $NetBSD: Makefile,v 1.48 2013/01/26 21:37:21 adam Exp $

DISTNAME=	kdesdk-${_KDE_VERSION}
PKGNAME=	${DISTNAME:S/-4/4-4/}
PKGREVISION=	9
CATEGORIES=	devel
COMMENT=	Support applications and tools used by KDE developers

CONFLICTS+=	cervisia-[0-9]*
CONFLICTS+=	umbrello-[0-9]*

.include "../../meta-pkgs/kde4/Makefile.kde4"

# BUILD_MAKE_FLAGS+= VERBOSE=1

CMAKE_ARGS+=	-DBUILD_kmtrace:BOOL=OFF

# disable for the moment till sort out -ldl
CMAKE_ARGS+=	-DBUILD_kstartperf:BOOL=OFF

REPLACE_BASH+= \
	scripts/create_makefile \
	scripts/create_svnignore \
	scripts/makeobj \
	scripts/package_crystalsvg \
	scripts/svnversions

REPLACE_PERL+= \
	cervisia/cervisia-change_repos_list.pl \
	cervisia/cervisia-normalize_cvsroot.pl \
	cervisia/change_colors.pl \
	kcachegrind/converters/dprof2calltree \
	kcachegrind/converters/memprof2calltree \
	kcachegrind/converters/op2calltree \
	kioslave/perldoc/pod2html.pl \
	scripts/colorcvs \
	scripts/colorsvn \
	scripts/cvs-clean \
	scripts/cvsblame \
	scripts/cvscheck \
	scripts/cvslastchange \
	scripts/cxxmetric \
	scripts/extend_dmalloc \
	scripts/extractattr \
	scripts/extractqml \
	scripts/extractrc \
	scripts/fixheaders \
	scripts/fixkdeincludes \
	scripts/fixuifiles \
	scripts/generate_string_table.pl \
	scripts/includemocs \
	scripts/kde-spellcheck.pl \
	scripts/kdemangen.pl \
	scripts/kdesrc-build \
	scripts/krazy-licensecheck \
	scripts/noncvslist \
	scripts/png2mng.pl \
	scripts/rc2kcfgxt.pl \
	scripts/svn-clean \
	scripts/svnintegrate \
	scripts/svnlastchange \
	umbrello/umbrello/headings/heading.pm

# REPLACE_PHP+= kcachegrind/converters/pprof2calltree
SUBST_CLASSES+=		php
SUBST_MESSAGE.php=	Fixing PHP path
SUBST_STAGE.php=	post-configure
SUBST_FILES.php=	kcachegrind/converters/pprof2calltree
SUBST_SED.php=		-e 's,/usr/bin/env php,${PREFIX}/bin/php,'

REPLACE_PYTHON+= \
	kcachegrind/converters/hotshot2calltree \
	lokalize/scripts/xliffmerge.py \
	scripts/kde-systemsettings-tree.py \
	scripts/kde_generate_export_header \
	scripts/kdelnk2desktop.py \
	scripts/rename_source_files \
	scripts/zonetab2pot.py \
	umbrello/umbrello/headings/heading.py

REPLACE_RUBY+= \
	umbrello/umbrello/headings/heading.rb

REPLACE_SH+= \
	scripts/build-progress.sh \
	scripts/cvsaddcurrentdir

INSTALLATION_DIRS+=	${PKGMANDIR}/man1

USE_TOOLS+=	gmake bash:run

BUILDLINK_DEPMETHOD.qt4-tools=	full
.include "../../meta-pkgs/kde4/kde4.mk"

.include "../../lang/php/phpversion.mk"
.include "${PHPPKGSRCDIR}/buildlink3.mk"

.include "../../devel/libltdl/buildlink3.mk"
.include "../../devel/subversion-base/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../lang/ruby/replace.mk"
.include "../../misc/kdepimlibs4/buildlink3.mk"
.include "../../security/qca2/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../textproc/hunspell/buildlink3.mk"
.include "../../x11/kdelibs4/buildlink3.mk"
.include "../../x11/kde-baseapps4/buildlink3.mk"
.include "../../x11/kde-runtime4/buildlink3.mk"
.include "../../x11/kde-workspace4/buildlink3.mk"

.include "../../mk/bsd.pkg.mk"