summaryrefslogtreecommitdiff
path: root/chat/konversation-kde3/Makefile
blob: d285ed5463a722b9ac184241d55c9296bad11b10 (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
# $NetBSD: Makefile,v 1.12 2012/06/14 07:45:03 sbd Exp $
#

DISTNAME=	konversation-1.1
PKGREVISION=	15
CATEGORIES=	chat kde
MASTER_SITES=	http://download.berlios.de/konversation/
EXTRACT_SUFX=	.tar.bz2

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

PKG_DESTDIR_SUPPORT=	user-destdir

GNU_CONFIGURE=	YES
USE_LIBTOOL=	YES
USE_TOOLS+=	gmake perl msgfmt
USE_LANGUAGES=	c c++

REPLACE_PERL+=		konversation/src/konversation-0.19-appearance.pl \
			konversation/src/konversation-0.19-colorcodes.pl \
			konversation/src/konversation-0.19-colors.pl \
			konversation/src/konversation-0.19-custombrowser.pl \
			konversation/src/konversation-0.19-notifylists.pl \
			konversation/src/konversation-0.19-sortorder.pl \
			konversation/src/konversation-0.19-tabplacement.pl \
			konversation/src/konversation-0.20-customfonts.pl \
			konversation/src/konversation-0.20-quickbuttons.pl \
			konversation/scripts/cmd \
			konversation/scripts/fortune \
			konversation/scripts/uptime

REPLACE_PYTHON+=	konversation/scripts/media \
			konversation/scripts/weather

REPLACE_BASH+=		konversation/scripts/mail \
			konversation/scripts/gauge \
			konversation/scripts/tinyurl
USE_TOOLS+=		bash:run

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

.if ${OPSYS} != "Linux"
DEPENDS+=		psmisc>=20.1:../../sysutils/psmisc
.endif

.include "../../meta-pkgs/kde3/kde3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../x11/kdelibs3/buildlink3.mk"
.include "../../x11/libSM/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"

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

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