summaryrefslogtreecommitdiffstats
path: root/net-im/gaim/Makefile
blob: 7a5e6e776000ae50b4397bdd8881a4ada0ace6f4 (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
# New ports collection makefile for:	gaim
# Date created:			26 Mar 1999
# Whom:				Jim Mock <jim@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=		gaim
PORTVERSION=		0.10.1
PORTREVISION=		1
CATEGORIES=		net
MASTER_SITES=		ftp://ftp.marko.net/pub/gaim/ \
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=		jim@FreeBSD.org

LIB_DEPENDS=		gtk12.2:${PORTSDIR}/x11-toolkits/gtk12

.if defined(WITH_GNOME)
LIB_DEPENDS+=		gnome.4:${PORTSDIR}/x11/gnomelibs
.endif

GLIB_CONFIG?=		${LOCALBASE}/bin/glib12-config
GTK_CONFIG?=		${X11BASE}/bin/gtk12-config

GNU_CONFIGURE=		yes
USE_BZIP2=		yes
USE_GMAKE=		yes
USE_X_PREFIX=		yes
CONFIGURE_ARGS=		--disable-esd

.if defined(WITH_GNOME)
CONFIGURE_ARGS+=	--enable-gnome
.else
CONFIGURE_ARGS+=	--disable-gnome
.endif

CONFIGURE_ENV=		GTK_CONFIG="${GTK_CONFIG}" \
			GLIB_CONFIG="${GLIB_CONFIG}"

do-install:
	@${INSTALL_PROGRAM} ${WRKSRC}/src/gaim ${PREFIX}/bin
	@${MKDIR} ${PREFIX}/share/gaim/pixmaps && ${CHMOD} a+rx ${PREFIX}/share/gaim/pixmaps
	@${ECHO} "===>   Installing pixmaps"
	@${INSTALL_DATA} ${WRKSRC}/pixmaps/*.xpm ${PREFIX}/share/gaim/pixmaps

.include <bsd.port.mk>
OpenPOWER on IntegriCloud