summaryrefslogtreecommitdiff
path: root/chat/libpurple/Makefile.common
blob: d8caa4e0cf8790e768c7388c2e9559f75a3f4b8b (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
# $NetBSD: Makefile.common,v 1.46 2016/01/13 22:25:38 wiz Exp $
#
# used by chat/finch/Makefile
# used by chat/libpurple/Makefile
# used by chat/pidgin/Makefile
# used by chat/pidgin-sametime/Makefile
# used by chat/pidgin-silc/Makefile

PIDGIN_VERSION=	2.10.12
DISTNAME=	pidgin-${PIDGIN_VERSION}
CATEGORIES=	chat
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=pidgin/}
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.pidgin.im/
LICENSE=	gnu-gpl-v2

USE_LIBTOOL=		yes
USE_PKGLOCALEDIR=	yes
USE_TOOLS+=		pkg-config gmake
GNU_CONFIGURE=		yes

PATCHDIR=		${.CURDIR}/../../chat/libpurple/patches
DISTINFO_FILE?=		${.CURDIR}/../../chat/libpurple/distinfo

CONFIGURE_ARGS+=	--disable-gevolution
CONFIGURE_ARGS+=	--disable-gtkui
CONFIGURE_ARGS+=	--disable-consoleui
CONFIGURE_ARGS+=	--disable-meanwhile
CONFIGURE_ARGS+=	--disable-farstream
CONFIGURE_ARGS+=	--disable-gstreamer
CONFIGURE_ARGS+=	--disable-avahi
CONFIGURE_ARGS+=	--disable-perl
CONFIGURE_ARGS+=	--disable-tcl
CONFIGURE_ARGS+=	--disable-tk
CONFIGURE_ARGS+=	--disable-gnutls
CONFIGURE_ARGS+=	--disable-nss
CONFIGURE_ARGS+=	--disable-dbus
CONFIGURE_ARGS+=	--disable-cyrus-sasl
CONFIGURE_ARGS+=	--disable-debug
CONFIGURE_ARGS+=	--disable-nm
CONFIGURE_ARGS+=	--disable-vv

CPPFLAGS.SunOS+=	-D__EXTENSIONS__
CFLAGS.SunOS+=		-Wno-error=implicit-function-declaration

PKGCONFIG_OVERRIDE+=	finch/finch.pc.in
PKGCONFIG_OVERRIDE+=	finch/libgnt/gnt.pc.in
PKGCONFIG_OVERRIDE+=	gaim.pc.in
PKGCONFIG_OVERRIDE+=	libpurple/data/purple.pc.in
PKGCONFIG_OVERRIDE+=	libpurple/data/purple-2.pc.in
PKGCONFIG_OVERRIDE+=	pidgin/data/pidgin.pc.in
PKGCONFIG_OVERRIDE+=	pidgin/data/pidgin-2.pc.in