2 |
|
# Date created: 16 Oct 2007 |
3 |
|
# Whom: Lucas Holt <luke@MidnightBSD.org> |
4 |
|
# |
5 |
< |
# $MidnightBSD: mports/net-im/pidgin/Makefile,v 1.6 2008/04/13 01:44:29 laffer1 Exp $ |
6 |
< |
# |
5 |
> |
# $MidnightBSD: mports/net-im/pidgin/Makefile,v 1.23 2010/12/15 01:03:19 laffer1 Exp $ |
6 |
|
|
7 |
|
PORTNAME= pidgin |
8 |
< |
PORTVERSION= 2.4.2 |
8 |
> |
PORTVERSION= 2.8.0 |
9 |
|
CATEGORIES= net-im |
10 |
+ |
MASTER_SITES= SF/pidgin/Pidgin/${PORTVERSION} |
11 |
+ |
DISTNAME= pidgin-${PORTVERSION} |
12 |
|
|
13 |
|
MAINTAINER= ports@MidnightBSD.org |
14 |
|
COMMENT= Pidgin multi-protocol messaging client (GTK+ UI) |
18 |
|
|
19 |
|
CONFLICTS= libpurple-[0-9*] gaim-1* |
20 |
|
|
21 |
< |
WITH_GTKUI= yes |
21 |
> |
FAKE_OPTS= trueprefix |
22 |
> |
|
23 |
> |
#gstreamer support seems to cause segfaults |
24 |
|
WITHOUT_GSTREAMER= yes |
25 |
|
|
26 |
|
USE_LDCONFIG= yes |
24 |
– |
USE_GNOME= gnomeprefix gnomehack intlhack gtk20 libxml2 |
25 |
– |
WANT_GNOME= yes |
26 |
– |
|
27 |
– |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
28 |
– |
MASTER_SITE_SUBDIR= pidgin |
29 |
– |
DISTNAME= pidgin-${PORTVERSION} |
30 |
– |
|
27 |
|
USE_BZIP2= yes |
28 |
|
USE_GMAKE= yes |
29 |
+ |
USE_XORG= xext sm |
30 |
+ |
USE_GNOME= gnomeprefix gnomehack intlhack gtk20 libxml2 gnomelibs |
31 |
+ |
WANT_GNOME= yes |
32 |
|
INSTALL_ICONS= yes |
33 |
|
GNU_CONFIGURE= yes |
34 |
< |
CONFIGURE_ARGS+=--disable-gtkui \ |
34 |
> |
USE_AUTOTOOLS= automake |
35 |
> |
CONFIGURE_ARGS+= \ |
36 |
|
--disable-consoleui \ |
37 |
|
--with-dynamic_prpls=${PRPL_MODULES} \ |
38 |
|
--disable-nm \ |
39 |
< |
--datarootdir=${FAKE_DESTDIR}${PREFIX}/share |
40 |
< |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ |
39 |
> |
--disable-doxygen \ |
40 |
> |
--disable-vv \ |
41 |
> |
--disable-screensaver \ |
42 |
> |
--program-prefix='' \ |
43 |
> |
--disable-idn |
44 |
> |
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ |
45 |
|
LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \ |
46 |
|
PTHREAD_LIB="${PTHREAD_LIBS}" |
47 |
|
|
48 |
< |
PRPL_MODULES= gg,irc,jabber,msn,novell,oscar,qq,simple,yahoo,zephyr |
48 |
> |
PRPL_MODULES= gg,irc,jabber,msn,novell,oscar,simple,yahoo,zephyr |
49 |
|
|
50 |
|
OPTIONS= SILC "Secure Internet Live Conferencing support" off \ |
51 |
|
GNUTLS "GNUTLS encryption support" on \ |
55 |
|
PERL "Perl scripting" off \ |
56 |
|
BONJOUR "Enable mDNS support" on \ |
57 |
|
SAMETIME "Enable Sametime client support" off \ |
58 |
< |
TCLTK "Tcl/Tk scripting" off |
59 |
< |
|
56 |
< |
.if defined(WITH_GTKUI) |
57 |
< |
OPTIONS+= GTKSPELL "Spell checking support" on \ |
58 |
> |
TCLTK "Tcl/Tk scripting" off \ |
59 |
> |
GTKSPELL "Spell checking support" on \ |
60 |
|
GSTREAMER "Use GStreamer for playing sounds" on \ |
61 |
|
CAP "Enable Contact Availability Prediction plugin" on |
60 |
– |
.endif |
62 |
|
|
62 |
– |
CONFIGURE_ARGS+=--disable-doxygen |
63 |
– |
|
63 |
|
.include <bsd.port.pre.mk> |
64 |
|
|
65 |
< |
.if defined(WITH_GTKUI) && ${HAVE_GNOME:Mevolutiondataserver}!="" |
65 |
> |
.if ${HAVE_GNOME:Mevolutiondataserver}!="" |
66 |
|
USE_GNOME+= evolutiondataserver |
67 |
|
PLIST_SUB+= EVO="" |
68 |
|
CONFIGURE_ARGS+= --enable-gevolution |
71 |
|
PLIST_SUB+= EVO="@comment not installed: " |
72 |
|
.endif |
73 |
|
|
74 |
< |
.if defined(WITH_GTKUI) && !defined(WITHOUT_GSTREAMER) |
74 |
> |
.if !defined(WITHOUT_GSTREAMER) |
75 |
|
USE_GSTREAMER+= core good |
76 |
|
.else |
77 |
|
CONFIGURE_ARGS+=--disable-gstreamer |
78 |
|
.endif |
79 |
|
|
80 |
< |
.if defined(WITH_GTKUI) && !defined(WITHOUT_CAP) |
80 |
> |
.if !defined(WITHOUT_CAP) |
81 |
|
LIB_DEPENDS+= sqlite3.8:${PORTSDIR}/databases/sqlite3 |
82 |
< |
CONIFGURE_ARGS+= --enable-cap |
82 |
> |
CONFIGURE_ARGS+= --enable-cap |
83 |
|
PLIST_SUB+= CAP="" |
84 |
|
.else |
85 |
|
CONFIGURE_ARGS+=--disable-cap |
100 |
|
--with-nspr-libs=${LOCALBASE}/lib \ |
101 |
|
--with-nss-includes=${LOCALBASE}/include/nss/nss \ |
102 |
|
--with-nss-libs=${LOCALBASE}/lib/nss |
103 |
+ |
PLIST_SUB+= NSS="" |
104 |
|
.else |
105 |
|
CONFIGURE_ARGS+= --enable-nss=no |
106 |
+ |
PLIST_SUB+= NSS="@comment " |
107 |
|
.endif |
108 |
|
|
109 |
|
.if defined(WITH_SASL) |
122 |
|
.endif |
123 |
|
|
124 |
|
.if !defined(WITHOUT_BONJOUR) |
125 |
< |
LIB_DEPENDS+= avahi-core.5:${PORTSDIR}/net/avahi |
125 |
> |
LIB_DEPENDS+= avahi-client.3:${PORTSDIR}/net/avahi-app |
126 |
|
PLIST_SUB+= BONJOUR="" |
127 |
|
PRPL_MODULES:= ${PRPL_MODULES},bonjour |
128 |
+ |
CONFIGURE_ARGS+= --enable-avahi |
129 |
|
.else |
130 |
|
CONFIGURE_ARGS+= --disable-avahi |
131 |
|
PLIST_SUB+= BONJOUR="@comment not installed: " |
174 |
|
PLIST_SUB+= PERL:="@comment not installed: " |
175 |
|
.endif |
176 |
|
|
177 |
< |
.if defined(WITH_GTKUI) && !defined(WITHOUT_GTKSPELL) |
177 |
> |
.if !defined(WITHOUT_GTKSPELL) |
178 |
|
LIB_DEPENDS+= gtkspell.0:${PORTSDIR}/textproc/gtkspell |
179 |
|
.else |
180 |
|
CONFIGURE_ARGS+= --disable-gtkspell |