aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/empathy/Makefile
blob: cfd83a072cbc65a8ea1b22b74304f6af03805df8 (plain) (blame)
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# New ports collection makefile for:    empathy
# Date created:     2007-10-29
# Whom:         Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
#    $MCom: ports/net-im/empathy/Makefile,v 1.49 2009/11/18 18:26:02 kwm Exp $

PORTNAME=   empathy
PORTVERSION=    2.28.2
PORTREVISION=   2
CATEGORIES= net-im gnome
MASTER_SITES=   GNOME

MAINTAINER= gnome@FreeBSD.org
COMMENT=    GNOME IM client based around telepathy

BUILD_DEPENDS=  ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes \
            ${LOCALBASE}/libexec/mission-control-5:${PORTSDIR}/net-im/telepathy-mission-control
LIB_DEPENDS=    aspell.16:${PORTSDIR}/textproc/aspell \
        telepathy.2:${PORTSDIR}/net-im/libtelepathy \
        telepathy-glib.0:${PORTSDIR}/net-im/telepathy-glib \
        telepathy-farsight.0:${PORTSDIR}/net-im/telepathy-farsight \
        unique-1.0.2:${PORTSDIR}/x11-toolkits/unique \
        canberra-gtk.0:${PORTSDIR}/audio/libcanberra
RUN_DEPENDS=    ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes \
            ${LOCALBASE}/libexec/mission-control-5:${PORTSDIR}/net-im/telepathy-mission-control

USE_GMAKE=  yes
USE_BZIP2=  yes
USE_GETTEXT=    yes
USE_LDCONFIG=   yes
USE_GNOME=  evolutiondataserver gnomehack gnomeprefix pygtk2 ltverhack \
        gnomepanel
USE_GSTREAMER=  yes
USE_AUTOTOOLS=  libtool:22
INSTALLS_OMF=   yes
INSTALLS_ICONS= yes
USE_PYTHON= yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

GCONF_SCHEMAS=  GNOME_Megaphone_Applet.schemas empathy.schemas

MAN1=       empathy.1

OPTIONS=    JABBER  "Enable jabber (XMPP) client support" on \
        MSN "Enable MSN client support" on \
        IRC "Enable IRC client support" on \
        SALUT   "Enable link-local (serverless) XMPP support" off \
        HAZE    "Enable libpurple protocol integration" off \
        WEBKIT  "Enable Adium Message Style themes" on \
        MAP "Enable graphical map support" on

.include <bsd.port.pre.mk>

.if defined(WITH_JABBER)
RUN_DEPENDS+=   ${LOCALBASE}/libexec/telepathy-gabble:${PORTSDIR}/net-im/telepathy-gabble
.endif

.if defined(WITH_MSN)
RUN_DEPENDS+=   ${LOCALBASE}/libexec/telepathy-butterfly:${PORTSDIR}/net-im/telepathy-butterfly
.endif

.if defined(WITH_IRC)
RUN_DEPENDS+=   ${LOCALBASE}/libexec/telepathy-idle:${PORTSDIR}/net-im/telepathy-idle
.endif

.if !defined(WITHOUT_SALUT)
RUN_DEPENDS+=   ${LOCALBASE}/libexec/telepathy-salut:${PORTSDIR}/net-im/telepathy-salut
.endif

.if !defined(WITHOUT_HAZE)
RUN_DEPENDS+=   ${LOCALBASE}/libexec/telepathy-haze:${PORTSDIR}/net-im/telepathy-haze
.endif

.if defined(WITH_WEBKIT)
LIB_DEPENDS+=   webkit-1.0.13:${PORTSDIR}/www/webkit-gtk2
CONFIGURE_ARGS+=--enable-webkit
PLIST_SUB+= ADIUM=""
.else
CONFIGURE_ARGS+=--disable-webkit
PLIST_SUB+= ADIUM="@comment "
.endif

.if !defined(WITHOUT_MAP)
LIB_DEPENDS+=   champlain-0.4.1:${PORTSDIR}/graphics/libchamplain
CONFIGURE_ARGS+=--enable-map
PLIST_SUB+= MAP=""
.else
CONFIGURE_ARGS+=--disable-map
PLIST_SUB+= MAP="@comment "
.endif

post-patch:
    @${REINPLACE_CMD} -e 's|$${datadir}/gtk-doc/html|${DOCSDIR}|g ; \
        s|-Werror||g' ${WRKSRC}/configure

.include <bsd.port.post.mk>
* - Reconvert to USE_XORGmiwi2008-09-051-3/+5 * - Update to qt 4.4.1miwi2008-08-053-772/+822 * Bump portrevision due to upgrade of devel/gettext.edwin2008-06-061-1/+1 * - Remove unneeded dependency from gtk12/gtk20 [1]miwi2008-04-201-3/+5 * Some more include search path massaging for the WITH_CUPS case.lofi2008-04-011-1/+1 * Update to Qt 4.3.4lofi2008-03-144-35/+7 * Update to Qt 4.3.1.lofi2007-09-023-9/+6 * - bsd.qt.mk:lofi2007-08-032-2/+3 * Fix various format string vulnerabilities in Qt3 and Qt4.lofi2007-07-312-1/+31 * The bug that makes gcc 3.4 choke on some amd64 inline assembler does notlofi2007-07-271-4/+0 * Fix build on amd64.lofi2007-07-211-1/+5 * Update to Qt 4.3.0, introduce bsd.qt.mk.lofi2007-07-163-29/+53 * Avoid picking up qt33 headerslofi2007-06-021-1/+1 * - Welcome X.org 7.2 \o/.flz2007-05-201-1/+1 * Fix/remove bogus paths pointing to the build directory from pkgconfig files,lofi2007-05-011-1/+5 * Rename all binaries in qt4 which conflict with binaries installed bylofi2007-04-201-4/+4 * Update to 4.2.3lofi2007-03-253-8/+8 * From the "who gave this guy a commit bit" dept.:lofi2007-02-061-1/+0 * Post-import bugfixorama:lofi2007-02-061-0/+1