summaryrefslogtreecommitdiff
path: root/chat/gaim-gtk1/Makefile.common
blob: e4ea1e49072bbcd7bf669585884c8bf5126110a8 (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
# $NetBSD: Makefile.common,v 1.8 2004/03/08 19:40:36 jmmv Exp $
#

DISTNAME=	gaim-0.59.8
PKGREVISION=	5
CATEGORIES=	chat x11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=gaim/} \
		ftp://ftp.marko.net/pub/gaim/

MAINTAINER=	rafal@NetBSD.org
HOMEPAGE=	http://gaim.sourceforge.net/
COMMENT=	GTK1-based client for the AOL Instant Messenger chat system

DISTINFO_FILE=	${.CURDIR}/../gaim-gtk1/distinfo
FILESDIR=	${.CURDIR}/../gaim-gtk1/files
PATCHDIR=	${.CURDIR}/../gaim-gtk1/patches
PKGDIR=		${.CURDIR}/../gaim-gtk1
PLIST_SRC=      ${.CURDIR}/../gaim-gtk1/PLIST.common

DEPENDS+=	gnome1-dirs>=1.5:../../misc/gnome1-dirs

USE_GNU_TOOLS+=		make
USE_X11BASE=		YES
USE_PKGLOCALEDIR=	YES
USE_LIBTOOL=		YES

GNU_CONFIGURE=		YES
CONFIGURE_ARGS+=	--disable-artsc
CONFIGURE_ARGS+=	--disable-nas
CONFIGURE_ARGS+=	--disable-perl
CONFIGURE_ARGS+=	--with-libiconv-prefix=${BUILDLINK_PREFIX.libiconv}

CONFIGURE_ARGS+=	--enable-esd
CONFIGURE_ARGS+=	--enable-perl
CONFIGURE_ARGS+=	--enable-pixbuf

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

.if !exists(${X11BASE}/include/X11/extensions/scrnsaver.h)
CONFIGURE_ARGS+=	--disable-screensaver
.endif

# Newer versions of gaim use gettext checks that gettext-lib/buildlink2.mk
# can't currently handle.
#
CONFIGURE_ARGS+=	--without-included-gettext
CONFIGURE_ENV+=		gt_cv_func_gnugettext1_libc=yes

.include "../../converters/libiconv/buildlink2.mk"