summaryrefslogtreecommitdiff
path: root/devel/kdesdk3/Makefile
blob: 6a73df343ad5296bab13bae5fab39d780b3da99e (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
# $NetBSD: Makefile,v 1.71 2010/06/13 22:44:05 wiz Exp $

DISTNAME=	kdesdk-${_KDE_VERSION}
PKGREVISION=	8
CATEGORIES=	devel
COMMENT=	Support applications and tools used by KDE developers

PKG_DESTDIR_SUPPORT=	user-destdir

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

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

BDB_ACCEPTED=		db4 db5
USE_TOOLS+=		lex perl:run
CONFIGURE_ARGS+=	--with-db-dir=${BDBBASE}
CONFIGURE_ARGS+=	--with-db-include=${BDB_TYPE}/db.h
#CONFIGURE_ARGS+=	--with-db-include-dir=${BDBBASE}/include/${BDB_TYPE}
CONFIGURE_ARGS+=	--with-db-name=${BDB_TYPE}

REPLACE_PERL+=	cervisia/change_colors.pl \
		cervisia/move_repositories.pl \
		cervisia/cervisia-change_repos_list.pl \
		cervisia/cervisia-normalize_cvsroot.pl \
		kapptemplate/admin/am_edit \
		kapptemplate/admin/bcheck.pl \
		kapptemplate/admin/debianrules \
		kapptemplate/admin/nmcheck \
		kcachegrind/converters/dprof2calltree \
		kcachegrind/converters/memprof2calltree \
		kcachegrind/converters/op2calltree \
		scripts/authors2xml.pl \
		scripts/check_licenses \
		scripts/colorcvs \
		scripts/cvs-clean \
		scripts/cvsblame \
		scripts/cvscheck \
		scripts/cvslastchange \
		scripts/cvslastreferenced \
		scripts/cxxmetric \
		scripts/extend_dmalloc \
		scripts/extractattr \
		scripts/extractrc \
		scripts/fixheaders \
		scripts/fixkdeincludes \
		scripts/fixuifiles \
		scripts/includemocs \
		scripts/kde-spellcheck.pl \
		scripts/kdemangen.pl \
		scripts/kdesvn-build \
		scripts/licensecheck \
		scripts/noncvslist \
		scripts/png2mng.pl \
		scripts/rc2kcfgxt.pl \
		kunittest/kunittest_debughelper

REPLACE_INTERPRETER+=	bash
REPLACE.bash.old=	/bin/bash
REPLACE.bash.new=	${SH}
REPLACE_FILES.bash=	scripts/cvs2dist scripts/makeobj \
		scripts/package_crystalsvg \
		kunittest/kunittest \
		kunittest/kunittestmod

.include "../../mk/bsd.prefs.mk"

PLIST_SRC=	# empty
.if ${OPSYS} == "Linux"
PLIST_SRC+=	${PKGDIR}/PLIST.kmtrace
.endif
PLIST_SRC+=	${PKGDIR}/PLIST

.include "options.mk"

# Makefile{,.am,.in} weren't supposed to be installed so clean up
post-install:
	${RM} ${DESTDIR}${KDEDIR}/share/kde/apps/kapptemplate/admin/Makefile
	${RM} ${DESTDIR}${KDEDIR}/share/kde/apps/kapptemplate/admin/Makefile.am
	${RM} ${DESTDIR}${KDEDIR}/share/kde/apps/kapptemplate/admin/Makefile.in

.include "../../meta-pkgs/kde3/kde3.mk"

.include "../../devel/libltdl/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../x11/kdebase3/buildlink3.mk"
.include "../../x11/kdelibs3/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bdb.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"