2013-06-04 21:04:59 +02:00
|
|
|
# Created by: Jim Mock <jim@FreeBSD.org>
|
2006-10-14 11:09:13 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2007-05-03 08:52:13 +02:00
|
|
|
PORTNAME?= libpurple
|
2017-03-18 13:37:40 +01:00
|
|
|
PORTVERSION= 2.12.0
|
|
|
|
PORTREVISION?= 0
|
2006-10-14 11:09:13 +02:00
|
|
|
CATEGORIES?= net-im
|
2009-08-22 02:32:25 +02:00
|
|
|
MASTER_SITES= SF/pidgin/Pidgin/${PORTVERSION}
|
2007-05-27 22:47:25 +02:00
|
|
|
DISTNAME= pidgin-${PORTVERSION}
|
2006-10-14 11:09:13 +02:00
|
|
|
|
2006-10-31 03:49:59 +01:00
|
|
|
MAINTAINER?= marcus@FreeBSD.org
|
2007-05-03 08:52:13 +02:00
|
|
|
COMMENT?= Backend library for the Pidgin multi-protocol messaging client
|
2006-10-14 11:09:13 +02:00
|
|
|
|
2016-11-24 22:02:34 +01:00
|
|
|
USES+= cpe gettext gmake libtool pathfix pkgconfig tar:bzip2
|
2014-11-29 19:22:32 +01:00
|
|
|
USE_GNOME?= gnomeprefix intltool glib20 libxml2
|
2006-10-14 11:09:13 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2006-10-31 03:49:59 +01:00
|
|
|
CONFIGURE_ARGS?=--disable-gtkui \
|
|
|
|
--disable-consoleui \
|
2014-02-21 16:26:23 +01:00
|
|
|
--with-dynamic-prpls=${PRPL_MODULES:S/,$//} \
|
2011-07-25 00:10:15 +02:00
|
|
|
--enable-static \
|
2008-05-19 08:16:08 +02:00
|
|
|
--disable-nm
|
2014-05-27 23:13:42 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2014-06-11 16:49:59 +02:00
|
|
|
LIBS+= -L${LOCALBASE}/lib
|
2014-05-20 23:12:35 +02:00
|
|
|
INSTALL_TARGET= install-strip
|
2006-10-14 11:09:13 +02:00
|
|
|
|
2007-05-03 08:52:13 +02:00
|
|
|
.if !defined(PIDGIN_SLAVE)
|
|
|
|
# Pidgin slave ports that require the following functionality, must explicitly
|
2006-10-31 03:49:59 +01:00
|
|
|
# set these macros themselves.
|
2014-11-29 19:22:32 +01:00
|
|
|
USES+= iconv python
|
2006-10-31 03:49:59 +01:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
WANT_GNOME= yes
|
|
|
|
|
|
|
|
.if defined(PACKAGE_BUILDING)
|
|
|
|
.undef WITHOUT_GNOME
|
|
|
|
WITH_GNOME= yes
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.endif
|
|
|
|
|
2009-01-14 03:29:06 +01:00
|
|
|
PRPL_MODULES=
|
2006-10-14 11:09:13 +02:00
|
|
|
|
2014-10-24 03:58:25 +02:00
|
|
|
CPE_VENDOR= pidgin
|
|
|
|
|
2016-04-15 20:44:54 +02:00
|
|
|
OPTIONS_DEFINE= BONJOUR DBUS GNUTLS NSS SASL GSTREAMER VV IDN PERL TCLTK
|
|
|
|
OPTIONS_GROUP= PROTOCOLS
|
2017-03-18 13:37:40 +01:00
|
|
|
OPTIONS_GROUP_PROTOCOLS=GG SAMETIME SILC IRC JABBER \
|
|
|
|
NOVELL OSCAR QQ SIMPLE ZEPHYR
|
|
|
|
OPTIONS_DEFAULT= BONJOUR DBUS NSS GSTREAMER VV IDN GG IRC JABBER \
|
|
|
|
NOVELL OSCAR QQ SIMPLE ZEPHYR
|
2013-06-04 21:04:59 +02:00
|
|
|
BONJOUR_DESC= mDNS support
|
|
|
|
GNUTLS_DESC= Use GNUTLS for encryption support
|
|
|
|
NSS_DESC= Use Mozilla NSS for encryption support
|
|
|
|
SASL_DESC= Cyrus SASL support (for jabberd)
|
|
|
|
GSTREAMER_DESC= Use GStreamer for playing sounds
|
|
|
|
VV_DESC= Video and voice support
|
|
|
|
SAMETIME_DESC= The Lotus Sametime chat protocol
|
|
|
|
SILC_DESC= The Secure Internet Live Conferencing protocol
|
|
|
|
GG_DESC= The Gadu-Gadu chat protocol
|
|
|
|
IRC_DESC= The Internet Relay Chat protocol
|
|
|
|
JABBER_DESC= The Jabber/XMPP/Google Talk protocol
|
|
|
|
NOVELL_DESC= The Novell GroupWise chat protocol
|
|
|
|
OSCAR_DESC= The AIM/ICQ/Oscar protocol
|
|
|
|
QQ_DESC= The Tercent QQ chat protocol
|
|
|
|
SIMPLE_DESC= The SIMPLE chat protocol
|
|
|
|
ZEPHYR_DESC= The Zephyr chat protocol
|
2006-10-31 03:49:59 +01:00
|
|
|
|
|
|
|
.if defined(WITH_GTKUI)
|
2013-06-04 21:04:59 +02:00
|
|
|
OPTIONS_DEFINE+= GTKSPELL CAP
|
|
|
|
OPTIONS_DEFAULT+= GTKSPELL CAP
|
|
|
|
GTKSPELL_DESC= Spell checking support
|
|
|
|
CAP_DESC= Contact Availability Prediction plugin
|
2014-02-04 06:31:32 +01:00
|
|
|
PLIST_SUB+= GTKUI=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= GTKUI="@comment not installed: "
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_CONSOLEUI)
|
2015-12-19 22:40:41 +01:00
|
|
|
OPTIONS_DEFINE+=NCURSES
|
|
|
|
NCURSES_DESC= Build with ncurses from ports
|
2014-02-04 06:31:32 +01:00
|
|
|
PLIST_SUB+= CONSOLEUI=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= CONSOLEUI="@comment not installed: "
|
2006-10-31 03:49:59 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
CONFIGURE_ARGS+=--disable-doxygen
|
2006-10-14 11:09:13 +02:00
|
|
|
|
2011-09-27 22:19:28 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2013-06-04 21:04:59 +02:00
|
|
|
.if ${PORT_OPTIONS:MTCLTK}
|
2014-01-17 11:33:08 +01:00
|
|
|
USES+= tk
|
|
|
|
CFLAGS+= -I${TK_INCLUDEDIR} -I${TCL_INCLUDEDIR}
|
|
|
|
CONFIGURE_ARGS+= --with-tclconfig=${TCL_LIBDIR} \
|
|
|
|
--with-tkconfig=${TK_LIBDIR}
|
2011-09-27 22:19:28 +02:00
|
|
|
PLIST_SUB+= TCL:=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-tcl
|
|
|
|
PLIST_SUB+= TCL:="@comment not installed: "
|
|
|
|
.endif
|
|
|
|
|
2015-12-19 22:40:41 +01:00
|
|
|
.if ${PORT_OPTIONS:MNCURSES}
|
|
|
|
USES+= ncurses:port
|
|
|
|
CONFIGURE_ARGS+=--with-ncurses-headers=${LOCALBASE}/include/ncurses/
|
|
|
|
.else
|
|
|
|
USES+= ncurses
|
|
|
|
.endif
|
|
|
|
|
2016-01-05 21:43:49 +01:00
|
|
|
.if ${PORT_OPTIONS:MPERL}
|
|
|
|
USES+= perl5
|
|
|
|
CONFIGURE_ARGS+= --with-perl-lib=site
|
|
|
|
PLIST_SUB+= PERL:=""
|
|
|
|
.if !defined(PIDGIN_SLAVE) || defined(WITH_GTKUI)
|
|
|
|
PLIST_SUB+= PERLMAN:=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= PERLMAN:="@comment not installed: "
|
|
|
|
.endif
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-perl
|
|
|
|
PLIST_SUB+= PERL:="@comment not installed: " \
|
|
|
|
PERLMAN:="@comment not installed: "
|
|
|
|
.endif
|
|
|
|
|
2007-05-03 08:52:13 +02:00
|
|
|
.if !defined(PIDGIN_SLAVE)
|
2006-10-31 03:49:59 +01:00
|
|
|
USE_GNOME+= gconf2
|
2007-05-03 08:52:13 +02:00
|
|
|
GCONF_SCHEMAS= purple.schemas
|
2006-10-31 03:49:59 +01:00
|
|
|
.endif
|
|
|
|
|
Presenting GNOME 2.30.1 for FreeBSD. The offical release notes for this
release can be found at http://library.gnome.org/misc/release-notes/2.30/ .
This release brings initial PackageKit support, Upower (replaces power
management part of hal), cuse4bsd integration with HAL and cheese, and a
faster Evolution.
Sadly GNOME 2.30.x will be the last release with FreeBSD 6.X support. This
will also be the last of the 2.x releases. The next release will be the
highly-anticipated GNOME 3.0 which will bring with it a new UI experience.
Currently, there are a few bugs with GNOME 2.30 that may be of note for our
users. Be sure to consult the UPGRADING note or the 2.30 upgrade FAQ at
http://www.freebsd.org/gnome/docs/faq230.html for specific upgrading
instructions, and the up-to-date list of known issues.
This release features commits by avl, ahze, bland, marcus, mezz, and myself.
The FreeBSD GNOME Team would like to thank Anders F Bjorklund for doing the
initual packagekit porting.
And the following contributors & testers for there help with this release:
Eric L. Chen
Vladimir Grebenschikov
Sergio de Almeida Lenzi
DomiX
walder
crsd
Kevin Oberman
Michal Varga
Pavel Plesov
Bapt
kevin
and ITetcu for two exp-run
PR: ports/143852
ports/145347
ports/144980
ports/145830
ports/145511
2010-05-10 23:19:08 +02:00
|
|
|
#.if defined(WITH_GTKUI) && ${HAVE_GNOME:Mevolutiondataserver}!=""
|
|
|
|
#USE_GNOME+= evolutiondataserver
|
|
|
|
#PLIST_SUB+= EVO=""
|
|
|
|
#CONFIGURE_ARGS+= --enable-gevolution
|
|
|
|
#.else
|
2006-10-14 11:09:13 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-gevolution
|
|
|
|
PLIST_SUB+= EVO="@comment not installed: "
|
Presenting GNOME 2.30.1 for FreeBSD. The offical release notes for this
release can be found at http://library.gnome.org/misc/release-notes/2.30/ .
This release brings initial PackageKit support, Upower (replaces power
management part of hal), cuse4bsd integration with HAL and cheese, and a
faster Evolution.
Sadly GNOME 2.30.x will be the last release with FreeBSD 6.X support. This
will also be the last of the 2.x releases. The next release will be the
highly-anticipated GNOME 3.0 which will bring with it a new UI experience.
Currently, there are a few bugs with GNOME 2.30 that may be of note for our
users. Be sure to consult the UPGRADING note or the 2.30 upgrade FAQ at
http://www.freebsd.org/gnome/docs/faq230.html for specific upgrading
instructions, and the up-to-date list of known issues.
This release features commits by avl, ahze, bland, marcus, mezz, and myself.
The FreeBSD GNOME Team would like to thank Anders F Bjorklund for doing the
initual packagekit porting.
And the following contributors & testers for there help with this release:
Eric L. Chen
Vladimir Grebenschikov
Sergio de Almeida Lenzi
DomiX
walder
crsd
Kevin Oberman
Michal Varga
Pavel Plesov
Bapt
kevin
and ITetcu for two exp-run
PR: ports/143852
ports/145347
ports/144980
ports/145830
ports/145511
2010-05-10 23:19:08 +02:00
|
|
|
#.endif
|
2006-10-14 11:09:13 +02:00
|
|
|
|
2013-06-04 21:04:59 +02:00
|
|
|
.if ${PORT_OPTIONS:MGSTREAMER}
|
2016-12-24 00:15:59 +01:00
|
|
|
USE_GSTREAMER1+=core good
|
2006-10-31 03:49:59 +01:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-gstreamer
|
|
|
|
.endif
|
|
|
|
|
2013-06-04 21:04:59 +02:00
|
|
|
.if ${PORT_OPTIONS:MVV} && ${PORT_OPTIONS:MGSTREAMER}
|
2016-04-01 16:16:16 +02:00
|
|
|
LIB_DEPENDS+= libfarstream-0.2.so:net-im/farstream
|
2016-12-24 00:15:59 +01:00
|
|
|
USE_GSTREAMER1+=v4l2
|
2009-09-08 23:23:33 +02:00
|
|
|
PLIST_SUB+= VV=""
|
2009-08-20 22:41:32 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-vv
|
2009-09-08 23:23:33 +02:00
|
|
|
PLIST_SUB+= VV="@comment "
|
2009-08-20 22:41:32 +02:00
|
|
|
.endif
|
|
|
|
|
2013-06-04 21:04:59 +02:00
|
|
|
.if ${PORT_OPTIONS:MIDN}
|
2016-04-01 16:16:16 +02:00
|
|
|
LIB_DEPENDS+= libidn.so:dns/libidn
|
2009-08-20 23:30:36 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-idn
|
|
|
|
.endif
|
|
|
|
|
2013-06-04 21:04:59 +02:00
|
|
|
.if ${PORT_OPTIONS:MCAP}
|
2016-04-01 16:16:16 +02:00
|
|
|
LIB_DEPENDS+= libsqlite3.so:databases/sqlite3
|
2008-05-19 08:16:08 +02:00
|
|
|
CONFIGURE_ARGS+=--enable-cap
|
2006-10-31 03:49:59 +01:00
|
|
|
PLIST_SUB+= CAP=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-cap
|
|
|
|
PLIST_SUB+= CAP="@comment not installed: "
|
|
|
|
.endif
|
|
|
|
|
2013-06-04 21:04:59 +02:00
|
|
|
.if ${PORT_OPTIONS:MGNUTLS}
|
2016-04-01 16:16:16 +02:00
|
|
|
LIB_DEPENDS+= libgnutls.so:security/gnutls
|
2006-10-14 11:09:13 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-gnutls=yes
|
2009-01-14 03:29:06 +01:00
|
|
|
PLIST_SUB+= GNUTLS=""
|
2006-10-14 11:09:13 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --enable-gnutls=no
|
2009-01-14 03:29:06 +01:00
|
|
|
PLIST_SUB+= GNUTLS="@comment "
|
2006-10-14 11:09:13 +02:00
|
|
|
.endif
|
|
|
|
|
2013-06-04 21:04:59 +02:00
|
|
|
.if ${PORT_OPTIONS:MNSS}
|
2016-04-01 16:16:16 +02:00
|
|
|
LIB_DEPENDS+= libnss3.so:security/nss
|
2006-10-14 11:09:13 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-nss=yes \
|
|
|
|
--with-nspr-includes=${LOCALBASE}/include/nspr \
|
|
|
|
--with-nspr-libs=${LOCALBASE}/lib \
|
|
|
|
--with-nss-includes=${LOCALBASE}/include/nss/nss \
|
Presenting GNOME 2.18 for FreeBSD. GNOME 2.18 is a departure from recent GNOME
releases in that it focuses more on stability and functionality than on
new features. Not that it doesn't have its share of new and exciting
items. See http://www.gnome.org/start/2.18/ for all the goodies in
this release.
GNOME 2.18 for FreeBSD would not have been possible without the hard work
of the FreeBSD GNOME Team and our intrepid band of testers including
J. W. Ballantine, Pawel Worach, Yasuda Keisuke, Pascal Hofstee, miwi,
Yoshihiro Ota, Vladimir Grebenschikov, Jukka A. Ukkonen,
Phillip Neumann, Franz Klammer, and Neal Delmonico.
2007-03-19 06:14:07 +01:00
|
|
|
--with-nss-libs=${LOCALBASE}/lib/nss
|
2008-12-22 08:35:22 +01:00
|
|
|
PLIST_SUB+= NSS=""
|
2006-10-14 11:09:13 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --enable-nss=no
|
2008-12-22 08:35:22 +01:00
|
|
|
PLIST_SUB+= NSS="@comment "
|
2006-10-14 11:09:13 +02:00
|
|
|
.endif
|
|
|
|
|
2013-06-04 21:04:59 +02:00
|
|
|
.if ${PORT_OPTIONS:MSASL}
|
2016-04-01 16:16:16 +02:00
|
|
|
LIB_DEPENDS+= libsasl2.so:security/cyrus-sasl2
|
2006-10-14 11:09:13 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-cyrus-sasl
|
|
|
|
.endif
|
|
|
|
|
2013-06-04 21:04:59 +02:00
|
|
|
.if ${PORT_OPTIONS:MBONJOUR}
|
2016-04-01 16:16:16 +02:00
|
|
|
LIB_DEPENDS+= libavahi-client.so:net/avahi-app
|
2006-10-31 03:49:59 +01:00
|
|
|
PLIST_SUB+= BONJOUR=""
|
2009-01-14 03:29:06 +01:00
|
|
|
PRPL_MODULES:= bonjour,${PRPL_MODULES}
|
2006-10-14 11:09:13 +02:00
|
|
|
.else
|
2008-05-21 02:08:14 +02:00
|
|
|
CONFIGURE_ARGS+=--disable-avahi
|
2006-10-31 03:49:59 +01:00
|
|
|
PLIST_SUB+= BONJOUR="@comment not installed: "
|
2006-10-14 11:09:13 +02:00
|
|
|
.endif
|
|
|
|
|
2013-06-04 21:04:59 +02:00
|
|
|
.if ${PORT_OPTIONS:MGTKSPELL}
|
2016-04-01 16:16:16 +02:00
|
|
|
LIB_DEPENDS+= libgtkspell.so:textproc/gtkspell
|
2009-01-14 03:29:06 +01:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-gtkspell
|
|
|
|
.endif
|
|
|
|
|
2013-06-04 21:04:59 +02:00
|
|
|
.if ${PORT_OPTIONS:MDBUS}
|
2016-04-01 16:16:16 +02:00
|
|
|
LIB_DEPENDS+= libdbus-glib-1.so:devel/dbus-glib
|
2007-05-03 08:52:13 +02:00
|
|
|
.if !defined(PIDGIN_SLAVE)
|
2016-04-01 16:16:16 +02:00
|
|
|
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/dbus/__init__.py:devel/py-dbus
|
2006-10-31 03:49:59 +01:00
|
|
|
.endif
|
|
|
|
CONFIGURE_ARGS+= --enable-dbus
|
|
|
|
PLIST_SUB+= DBUS=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-dbus
|
|
|
|
PLIST_SUB+= DBUS="@comment not installed: "
|
|
|
|
.endif
|
|
|
|
|
2013-06-04 21:04:59 +02:00
|
|
|
.if ${PORT_OPTIONS:MSAMETIME}
|
2016-04-01 16:16:16 +02:00
|
|
|
LIB_DEPENDS+= libmeanwhile.so:net-im/meanwhile
|
2009-01-14 03:29:06 +01:00
|
|
|
PLIST_SUB+= SAMETIME=""
|
|
|
|
PRPL_MODULES:= sametime,${PRPL_MODULES}
|
2006-10-31 03:49:59 +01:00
|
|
|
.else
|
2009-01-14 03:29:06 +01:00
|
|
|
PLIST_SUB+= SAMETIME="@comment not installed: "
|
|
|
|
CONFIGURE_ARGS+=--disable-meanwhile
|
|
|
|
.endif
|
|
|
|
|
2013-06-04 21:04:59 +02:00
|
|
|
.if ${PORT_OPTIONS:MSILC}
|
2016-04-01 16:16:16 +02:00
|
|
|
LIB_DEPENDS+= libsilcclient.so:devel/silc-toolkit
|
2009-01-14 03:29:06 +01:00
|
|
|
CONFIGURE_ARGS+= --with-silc-includes=${LOCALBASE}/include/silc \
|
|
|
|
--with-silc-libs=${LOCALBASE}/lib
|
|
|
|
PLIST_SUB+= SILC=""
|
|
|
|
PRPL_MODULES:= silc,${PRPL_MODULES}
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= SILC="@comment not installed: "
|
|
|
|
.endif
|
|
|
|
|
2013-06-04 21:04:59 +02:00
|
|
|
.if ${PORT_OPTIONS:MGG}
|
2009-01-14 03:29:06 +01:00
|
|
|
PLIST_SUB+= GG=""
|
|
|
|
PRPL_MODULES:= gg,${PRPL_MODULES}
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= GG="@comment not installed: "
|
|
|
|
.endif
|
|
|
|
|
2013-06-04 21:04:59 +02:00
|
|
|
.if ${PORT_OPTIONS:MIRC}
|
2009-01-14 03:29:06 +01:00
|
|
|
PLIST_SUB+= IRC=""
|
|
|
|
PRPL_MODULES:= irc,${PRPL_MODULES}
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= IRC="@comment not installed: "
|
|
|
|
.endif
|
|
|
|
|
2013-06-04 21:04:59 +02:00
|
|
|
.if ${PORT_OPTIONS:MJABBER}
|
2009-01-14 03:29:06 +01:00
|
|
|
PLIST_SUB+= JABBER=""
|
|
|
|
PRPL_MODULES:= jabber,${PRPL_MODULES}
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= JABBER="@comment not installed: "
|
|
|
|
.endif
|
|
|
|
|
2013-06-04 21:04:59 +02:00
|
|
|
.if ${PORT_OPTIONS:MNOVELL}
|
2009-01-14 03:29:06 +01:00
|
|
|
PLIST_SUB+= NOVELL=""
|
|
|
|
PRPL_MODULES:= novell,${PRPL_MODULES}
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= NOVELL="@comment not installed: "
|
|
|
|
.endif
|
|
|
|
|
2013-06-04 21:04:59 +02:00
|
|
|
.if ${PORT_OPTIONS:MOSCAR}
|
2009-01-14 03:29:06 +01:00
|
|
|
PLIST_SUB+= OSCAR=""
|
|
|
|
PRPL_MODULES:= oscar,${PRPL_MODULES}
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= OSCAR="@comment not installed: "
|
|
|
|
.endif
|
|
|
|
|
2013-06-04 21:04:59 +02:00
|
|
|
#.if ${PORT_OPTIONS:MQQ}
|
2011-06-19 23:17:03 +02:00
|
|
|
#PLIST_SUB+= QQ=""
|
|
|
|
#PRPL_MODULES:= qq,${PRPL_MODULES}
|
|
|
|
#.else
|
|
|
|
#PLIST_SUB+= QQ="@comment not installed: "
|
|
|
|
#.endif
|
2009-01-14 03:29:06 +01:00
|
|
|
|
2013-06-04 21:04:59 +02:00
|
|
|
.if ${PORT_OPTIONS:MSIMPLE}
|
2009-01-14 03:29:06 +01:00
|
|
|
PLIST_SUB+= SIMPLE=""
|
|
|
|
PRPL_MODULES:= simple,${PRPL_MODULES}
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= SIMPLE="@comment not installed: "
|
|
|
|
.endif
|
|
|
|
|
2013-06-04 21:04:59 +02:00
|
|
|
.if ${PORT_OPTIONS:MZEPHYR}
|
2009-01-14 03:29:06 +01:00
|
|
|
PLIST_SUB+= ZEPHYR=""
|
|
|
|
PRPL_MODULES:= zephyr,${PRPL_MODULES}
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= ZEPHYR="@comment not installed: "
|
2006-10-31 03:49:59 +01:00
|
|
|
.endif
|
|
|
|
|
2006-10-14 11:09:13 +02:00
|
|
|
pre-everything::
|
2013-06-04 21:04:59 +02:00
|
|
|
.if ! ${PORT_OPTIONS:MGNUTLS} && ! ${PORT_OPTIONS:MNSS}
|
2006-10-14 11:09:13 +02:00
|
|
|
@${ECHO_MSG} "WARNING: In order to use MSN, you must enable the GNUTLS and/or NSS options."
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
2014-05-20 21:41:32 +02:00
|
|
|
@${REINPLACE_CMD} \
|
2015-03-24 19:19:23 +01:00
|
|
|
-e 's|-lpthread $$LIBDL|-lpthread ${ICONV_LIB}|' \
|
|
|
|
${WRKSRC}/configure
|
2007-05-03 08:52:13 +02:00
|
|
|
.if defined(PIDGIN_SLAVE)
|
2006-10-31 03:49:59 +01:00
|
|
|
@${FIND} ${BUILD_WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
|
2014-05-17 18:57:14 +02:00
|
|
|
's|$$(top_builddir)/libpurple/libpurple.la|-lpurple|'
|
2016-02-07 20:43:56 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|gconftool-2|gconftool-disabled|g' \
|
|
|
|
${WRKSRC}/configure
|
2006-10-31 03:49:59 +01:00
|
|
|
.endif
|
2006-10-14 11:09:13 +02:00
|
|
|
|
2014-12-20 00:26:47 +01:00
|
|
|
.if !defined(PIDGIN_SLAVE) && ${PORT_OPTIONS:MPERL}
|
2016-12-02 12:58:21 +01:00
|
|
|
post-install:
|
2014-12-20 00:26:47 +01:00
|
|
|
@${SED} -i '' -e 's|^${STAGEDIR}||g' \
|
|
|
|
${STAGEDIR}${PREFIX}/lib/purple-2/perl/auto/Purple/.packlist
|
|
|
|
.endif
|
|
|
|
|
2016-02-07 20:43:56 +01:00
|
|
|
.include <bsd.port.mk>
|