summaryrefslogtreecommitdiff
path: root/chat/konversation/Makefile
blob: 2dc3ca4b9da7920f0856f1ffff9a6716b262c504 (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
# $NetBSD: Makefile,v 1.4 2006/07/22 04:46:14 rillig Exp $
#

DISTNAME=	konversation-0.19
PKGREVISION=	1
CATEGORIES=	chat
MASTER_SITES=	http://download.berlios.de/konversation/
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	adrianp@NetBSD.org
HOMEPAGE=	http://konversation.kde.org/
COMMENT=	KDE IRC Client

GNU_CONFIGURE=	YES
USE_LIBTOOL=	YES
USE_TOOLS+=	gmake perl msgfmt
USE_LANGUAGES=	c c++
LANGS=		da en es et st it nl pt sv

USE_PKGLOCALEDIR=	YES
CONFIGURE_ENV+=		kde_htmldir=${PREFIX}/share/doc/kde/HTML
REPLACE_PERL+=		konversation/src/konversation-0.14-mainwindow.pl \
			konversation/src/konversation-0.19-colorcodes.pl \
			konversation/src/konversation-0.19-colors.pl \
			konversation/src/konversation-0.19-tabplacement.pl \
			konversation/src/konversation-0.19-notifylists.pl \
			konversation/src/konversation-0.19-sortorder.pl \
			konversation/src/konversation-0.19-custombrowser.pl \
			konversation/src/konversation-0.19-appearance.pl

.include "../../graphics/jpeg/buildlink3.mk"
.include "../../x11/kdelibs3/buildlink3.mk"
.include "../../x11/qt3-tools/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"

.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} == "none"
CONFIGURE_ARGS+=	--disable-threading
.endif

CONFIGURE_ARGS+=	--with-extra-includes=${BUILDLINK_PREFIX.jpeg}/include
CONFIGURE_ARGS+=	--datadir=${PREFIX}/share/kde

BUILDLINK_API_DEPENDS.kdelibs+=	kdelibs>=3.4.0

post-install:
.for f in ${LANGS}
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/kde/HTML/${f}/common
.endfor

.include "../../mk/x11.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"