summaryrefslogtreecommitdiff
path: root/x11/kdelibs2/Makefile
blob: cff9509209626a4fd4872191ab520310de635b28 (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
# $NetBSD: Makefile,v 1.4 2001/05/24 22:18:22 skrll Exp $
#

DISTNAME=	kdelibs-2.1
PKGNAME=	${DISTNAME}nb1
CATEGORIES=	x11 kde
.include "../../x11/kde2/Makefile.part1"
COMMENT=	Support libraries for the KDE integrated X11 desktop

DEPENDS+=		tiff-*:../../graphics/tiff
DEPENDS+=		qt2-libs>=2.2.4:../../x11/qt2-libs
DEPENDS+=		libaudiofile-*:../../audio/libaudiofile
DEPENDS+=		jade>=1.2.1:../../textproc/jade
.include "../../x11/kde2/Makefile.part2"

USE_LTDL=		yes
LTCONFIG_OVERRIDE+=	${WRKSRC}/ksgmltools/ltconfig

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

.if (defined(KJS_USE_PCRE) && ${KJS_USE_PCRE} == yes)
DEPENDS+=		pcre>=3.4:../../devel/pcre
.endif

CONFIGURE_ENV+=		LIBS="-Wl,--export-dynamic" \
			KJS_USE_PCRE="${KJS_USE_PCRE}"

MKDIRS=	share/kde/icons/locolor/32x32/actions/kde \
	share/kde/icons/locolor/22x22/mimetypes \
	share/kde/icons/locolor/22x22/filesystems \
	share/kde/icons/locolor/22x22/actions/kde \
	share/kde/icons/hicolor/22x22/mimetypes \
	share/kde/icons/hicolor/22x22/filesystems

post-install:
	for d in ${MKDIRS}; do \
		${INSTALL_DATA_DIR} ${PREFIX}/$$d; \
	done

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