1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

Update to 2.5.4.

* Add OPTIONS for all of the dynamic chat protocol modules
* Add plist support for WITHOUT_GNUTLS
* Add the myspace chat protocol
* Install the man pages

See http://developer.pidgin.im/wiki/ChangeLog for a list of release
changes.

PR:		130488
Submitted by:	dougb
This commit is contained in:
Joe Marcus Clarke 2009-01-14 02:29:06 +00:00
parent 50197f07a0
commit abf9f73c7f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=226008
6 changed files with 165 additions and 67 deletions

View File

@ -27,4 +27,9 @@ USE_LDCONFIG= yes
CONFIGURE_ARGS= --disable-gtkui \
--disable-nm
MAN1= finch.1
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/finch.1 ${MAN1PREFIX}/man/man1
.include "${MASTERDIR}/Makefile"

View File

@ -7,7 +7,7 @@
#
PORTNAME?= libpurple
PORTVERSION= 2.5.3
PORTVERSION= 2.5.4
PORTREVISION?= 0
CATEGORIES?= net-im
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
@ -23,7 +23,7 @@ USE_GNOME?= gnomeprefix gnomehack intlhack glib20 libxml2
GNU_CONFIGURE= yes
CONFIGURE_ARGS?=--disable-gtkui \
--disable-consoleui \
--with-dynamic_prpls=${PRPL_MODULES} \
--with-dynamic_prpls=${PRPL_MODULES:S/,$//} \
--disable-nm
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
@ -43,21 +43,30 @@ USE_PYTHON= yes
WITH_GNOME= yes
.endif
MAN1= pidgin.1 finch.1
.endif
PRPL_MODULES= gg,irc,jabber,msn,novell,oscar,qq,simple,yahoo,zephyr
PRPL_MODULES=
OPTIONS= SILC "Secure Internet Live Conferencing support" off \
OPTIONS= BONJOUR "Enable mDNS support" on \
DBUS "Enable DBUS bindings" on \
GNUTLS "GNUTLS encryption support" on \
NSS "Mozilla NSS encryption support" off \
SASL "Cyrus SASL support (for jabberd)" off \
DBUS "Enable DBUS bindings" on \
PERL "Perl scripting" off \
BONJOUR "Enable mDNS support" on \
SAMETIME "Enable Sametime client support" off \
TCLTK "Tcl/Tk scripting" off
TCLTK "Tcl/Tk scripting" off \
SAMETIME "The Lotus Sametime chat protocol" off \
SILC "The Secure Internet Live Conferencing protocol" off \
GG "The Gadu-Gadu chat protocol" on \
IRC "The Internet Relay Chat protocol" on \
JABBER "The Jabber/XMPP/Google Talk protocol" on \
MSN "The MSN Messenger protocol" on \
MYSPACE "The MySpaceIM protocol" on \
NOVELL "The Novell GroupWise chat protocol" on \
OSCAR "The AIM/ICQ/Oscar protocol" on \
QQ "The Tercent QQ chat protocol" on \
SIMPLE "The SIMPLE chat protocol" on \
YAHOO "The Yahoo! Messenger protocol" on \
ZEPHYR "The Zephyr chat protocol" on
.if defined(WITH_GTKUI)
OPTIONS+= GTKSPELL "Spell checking support" on \
@ -107,8 +116,10 @@ PLIST_SUB+= CAP="@comment not installed: "
.if !defined(WITHOUT_GNUTLS)
LIB_DEPENDS+= gnutls:${PORTSDIR}/security/gnutls
CONFIGURE_ARGS+= --enable-gnutls=yes
PLIST_SUB+= GNUTLS=""
.else
CONFIGURE_ARGS+= --enable-gnutls=no
PLIST_SUB+= GNUTLS="@comment "
.endif
.if defined(WITH_NSS)
@ -129,34 +140,15 @@ LIB_DEPENDS+= sasl2:${PORTSDIR}/security/cyrus-sasl2
CONFIGURE_ARGS+= --enable-cyrus-sasl
.endif
.if defined(WITH_SILC)
LIB_DEPENDS+= silcclient-1.1:${PORTSDIR}/devel/silc-toolkit
CONFIGURE_ARGS+= --with-silc-includes=${LOCALBASE}/include/silc \
--with-silc-libs=${LOCALBASE}/lib
PLIST_SUB+= SILC=""
PRPL_MODULES:= ${PRPL_MODULES},silc
.else
PLIST_SUB+= SILC="@comment not installed: "
.endif
.if !defined(WITHOUT_BONJOUR)
LIB_DEPENDS+= avahi-client.3:${PORTSDIR}/net/avahi-app
PLIST_SUB+= BONJOUR=""
PRPL_MODULES:= ${PRPL_MODULES},bonjour
PRPL_MODULES:= bonjour,${PRPL_MODULES}
.else
CONFIGURE_ARGS+=--disable-avahi
PLIST_SUB+= BONJOUR="@comment not installed: "
.endif
.if defined(WITH_SAMETIME)
LIB_DEPENDS+= meanwhile.1:${PORTSDIR}/net-im/meanwhile
PLIST_SUB+= SAMETIME=""
PRPL_MODULES:= ${PRPL_MODULES},sametime
.else
PLIST_SUB+= SAMETIME="@comment not installed: "
CONFIGURE_ARGS+=--disable-meanwhile
.endif
.if defined(WITH_TCLTK)
TCLTK_VER?= 8.4 # user can override it
TCLTK_VER_NODOT= ${TCLTK_VER:S/.//}
@ -173,6 +165,12 @@ CONFIGURE_ARGS+= --disable-tcl
PLIST_SUB+= TCL:="@comment not installed: "
.endif
.if defined(WITH_GTKUI) && !defined(WITHOUT_GTKSPELL)
LIB_DEPENDS+= gtkspell.0:${PORTSDIR}/textproc/gtkspell
.else
CONFIGURE_ARGS+= --disable-gtkspell
.endif
.if !defined(WITHOUT_DBUS)
LIB_DEPENDS+= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
.if !defined(PIDGIN_SLAVE)
@ -198,10 +196,100 @@ CONFIGURE_ARGS+= --disable-perl
PLIST_SUB+= PERL:="@comment not installed: "
.endif
.if defined(WITH_GTKUI) && !defined(WITHOUT_GTKSPELL)
LIB_DEPENDS+= gtkspell.0:${PORTSDIR}/textproc/gtkspell
.if defined(WITH_SAMETIME)
LIB_DEPENDS+= meanwhile.1:${PORTSDIR}/net-im/meanwhile
PLIST_SUB+= SAMETIME=""
PRPL_MODULES:= sametime,${PRPL_MODULES}
.else
CONFIGURE_ARGS+= --disable-gtkspell
PLIST_SUB+= SAMETIME="@comment not installed: "
CONFIGURE_ARGS+=--disable-meanwhile
.endif
.if defined(WITH_SILC)
LIB_DEPENDS+= silcclient-1.1:${PORTSDIR}/devel/silc-toolkit
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
.if !defined(WITHOUT_GG)
PLIST_SUB+= GG=""
PRPL_MODULES:= gg,${PRPL_MODULES}
.else
PLIST_SUB+= GG="@comment not installed: "
.endif
.if !defined(WITHOUT_IRC)
PLIST_SUB+= IRC=""
PRPL_MODULES:= irc,${PRPL_MODULES}
.else
PLIST_SUB+= IRC="@comment not installed: "
.endif
.if !defined(WITHOUT_JABBER)
PLIST_SUB+= JABBER=""
PRPL_MODULES:= jabber,${PRPL_MODULES}
.else
PLIST_SUB+= JABBER="@comment not installed: "
.endif
.if !defined(WITHOUT_MSN)
PLIST_SUB+= MSN=""
PRPL_MODULES:= msn,${PRPL_MODULES}
.else
PLIST_SUB+= MSN="@comment not installed: "
.endif
.if !defined(WITHOUT_MYSPACE)
PLIST_SUB+= MYSPACE=""
PRPL_MODULES:= myspace,${PRPL_MODULES}
.else
PLIST_SUB+= MYSPACE="@comment not installed: "
.endif
.if !defined(WITHOUT_NOVELL)
PLIST_SUB+= NOVELL=""
PRPL_MODULES:= novell,${PRPL_MODULES}
.else
PLIST_SUB+= NOVELL="@comment not installed: "
.endif
.if !defined(WITHOUT_OSCAR)
PLIST_SUB+= OSCAR=""
PRPL_MODULES:= oscar,${PRPL_MODULES}
.else
PLIST_SUB+= OSCAR="@comment not installed: "
.endif
.if !defined(WITHOUT_QQ)
PLIST_SUB+= QQ=""
PRPL_MODULES:= qq,${PRPL_MODULES}
.else
PLIST_SUB+= QQ="@comment not installed: "
.endif
.if !defined(WITHOUT_SIMPLE)
PLIST_SUB+= SIMPLE=""
PRPL_MODULES:= simple,${PRPL_MODULES}
.else
PLIST_SUB+= SIMPLE="@comment not installed: "
.endif
.if !defined(WITHOUT_YAHOO)
PLIST_SUB+= YAHOO=""
PRPL_MODULES:= yahoo,${PRPL_MODULES}
.else
PLIST_SUB+= YAHOO="@comment not installed: "
.endif
.if !defined(WITHOUT_ZEPHYR)
PLIST_SUB+= ZEPHYR=""
PRPL_MODULES:= zephyr,${PRPL_MODULES}
.else
PLIST_SUB+= ZEPHYR="@comment not installed: "
.endif
pre-everything::

View File

@ -1,3 +1,3 @@
MD5 (pidgin-2.5.3.tar.bz2) = 4abc4ce9e1ad62bbf098f05f305147d7
SHA256 (pidgin-2.5.3.tar.bz2) = 912c934425fc40535fc79eb9082f6f823808d8ea8ecdd370d0b8ceec4b97ad82
SIZE (pidgin-2.5.3.tar.bz2) = 8393073
MD5 (pidgin-2.5.4.tar.bz2) = 295fe533288c821342b660b6fc83bc11
SHA256 (pidgin-2.5.4.tar.bz2) = c6bebef97b8b337cd2bc8107b3714dedf60d02db70487d0aafdd8b5b7ada1b63
SIZE (pidgin-2.5.4.tar.bz2) = 8398610

View File

@ -71,40 +71,42 @@ lib/purple-2/idle.la
lib/purple-2/idle.so
lib/purple-2/joinpart.la
lib/purple-2/joinpart.so
lib/purple-2/libaim.la
lib/purple-2/libaim.so
lib/purple-2/libicq.la
lib/purple-2/libicq.so
%%OSCAR%%lib/purple-2/libaim.la
%%OSCAR%%lib/purple-2/libaim.so
%%OSCAR%%lib/purple-2/libicq.la
%%OSCAR%%lib/purple-2/libicq.so
%%BONJOUR%%lib/purple-2/libbonjour.la
%%BONJOUR%%lib/purple-2/libbonjour.so
lib/purple-2/libgg.la
lib/purple-2/libgg.so
lib/purple-2/libirc.la
lib/purple-2/libirc.so
lib/purple-2/libjabber.la
lib/purple-2/libjabber.so
lib/purple-2/libjabber.so.0
lib/purple-2/libmsn.la
lib/purple-2/libmsn.so
lib/purple-2/libnovell.la
lib/purple-2/libnovell.so
lib/purple-2/liboscar.la
lib/purple-2/liboscar.so
lib/purple-2/liboscar.so.0
%%GG%%lib/purple-2/libgg.la
%%GG%%lib/purple-2/libgg.so
%%IRC%%lib/purple-2/libirc.la
%%IRC%%lib/purple-2/libirc.so
%%JABBER%%lib/purple-2/libjabber.la
%%JABBER%%lib/purple-2/libjabber.so
%%JABBER%%lib/purple-2/libjabber.so.0
%%MSN%%lib/purple-2/libmsn.la
%%MSN%%lib/purple-2/libmsn.so
%%MYSPACE%%lib/purple-2/libmyspace.la
%%MYSPACE%%lib/purple-2/libmyspace.so
%%NOVELL%%lib/purple-2/libnovell.la
%%NOVELL%%lib/purple-2/libnovell.so
%%OSCAR%%lib/purple-2/liboscar.la
%%OSCAR%%lib/purple-2/liboscar.so
%%OSCAR%%lib/purple-2/liboscar.so.0
%%SILC%%lib/purple-2/libsilcpurple.la
%%SILC%%lib/purple-2/libsilcpurple.so
lib/purple-2/libqq.la
lib/purple-2/libqq.so
%%QQ%%lib/purple-2/libqq.la
%%QQ%%lib/purple-2/libqq.so
%%SAMETIME%%lib/purple-2/libsametime.la
%%SAMETIME%%lib/purple-2/libsametime.so
lib/purple-2/libsimple.la
lib/purple-2/libsimple.so
lib/purple-2/libxmpp.la
lib/purple-2/libxmpp.so
lib/purple-2/libyahoo.la
lib/purple-2/libyahoo.so
lib/purple-2/libzephyr.la
lib/purple-2/libzephyr.so
%%SIMPLE%%lib/purple-2/libsimple.la
%%SIMPLE%%lib/purple-2/libsimple.so
%%JABBER%%lib/purple-2/libxmpp.la
%%JABBER%%lib/purple-2/libxmpp.so
%%YAHOO%%lib/purple-2/libyahoo.la
%%YAHOO%%lib/purple-2/libyahoo.so
%%ZEPHYR%%lib/purple-2/libzephyr.la
%%ZEPHYR%%lib/purple-2/libzephyr.so
lib/purple-2/log_reader.la
lib/purple-2/log_reader.so
lib/purple-2/newline.la
@ -115,8 +117,8 @@ lib/purple-2/offlinemsg.so
%%PERL:%%lib/purple-2/perl.so
lib/purple-2/psychic.la
lib/purple-2/psychic.so
lib/purple-2/ssl-gnutls.la
lib/purple-2/ssl-gnutls.so
%%GNUTLS%%lib/purple-2/ssl-gnutls.la
%%GNUTLS%%lib/purple-2/ssl-gnutls.so
%%NSS%%lib/purple-2/ssl-nss.la
%%NSS%%lib/purple-2/ssl-nss.so
lib/purple-2/ssl.la

View File

@ -32,6 +32,8 @@ WANT_GNOME= yes
CONFIGURE_ARGS= --disable-consoleui \
--disable-nm
MAN1= pidgin.1
post-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \
Makefile ${MAKE_ARGS} pidgin.desktop
@ -40,5 +42,6 @@ post-install:
${MKDIR} ${PREFIX}/share/applications
${INSTALL_DATA} ${WRKSRC}/pidgin.desktop \
${PREFIX}/share/applications/pidgin.desktop
${INSTALL_MAN} ${WRKSRC}/doc/pidgin.1 ${MAN1PREFIX}/man/man1
.include "${MASTERDIR}/Makefile"

View File

@ -624,5 +624,5 @@ share/icons/hicolor/48x48/apps/pidgin.png
@dirrm share/pixmaps/pidgin/animations
@dirrm share/pixmaps/pidgin
@dirrmtry share/applications
@dirrm lib/pidgin
@dirrmtry lib/pidgin
@dirrm include/pidgin