2013-05-01 20:06:30 +02:00
|
|
|
# Created by: Frank Altpeter <frank@altpeter.de>
|
2007-04-19 03:59:48 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= centerim
|
2011-01-19 02:26:01 +01:00
|
|
|
PORTVERSION= 4.22.10
|
2013-07-11 18:26:26 +02:00
|
|
|
PORTREVISION= 1
|
2007-04-19 03:59:48 +02:00
|
|
|
CATEGORIES= net-im
|
2007-12-12 13:29:22 +01:00
|
|
|
MASTER_SITES= http://www.centerim.org/download/releases/ \
|
|
|
|
ftp://ftp.centerim.org/releases/
|
2007-04-19 03:59:48 +02:00
|
|
|
|
|
|
|
MAINTAINER= frank@altpeter.de
|
2013-05-01 20:06:30 +02:00
|
|
|
COMMENT= Text mode menu- and window-driven IM interface
|
2007-04-19 03:59:48 +02:00
|
|
|
|
2014-03-07 12:36:25 +01:00
|
|
|
LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl
|
2007-04-19 03:59:48 +02:00
|
|
|
|
2014-03-07 12:36:25 +01:00
|
|
|
USES= iconv gmake pkgconfig
|
2007-04-19 03:59:48 +02:00
|
|
|
USE_OPENSSL= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
CXXFLAGS+= -I${LOCALBASE}/include
|
2009-09-30 15:06:59 +02:00
|
|
|
CONFIGURE_ARGS= --with-ssl --with-openssl
|
2007-04-19 03:59:48 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
2008-03-20 22:07:47 +01:00
|
|
|
CONFLICTS= centericq-[0-9]* centerim-devel-[0-9]*
|
2007-04-19 03:59:48 +02:00
|
|
|
|
2013-05-01 20:06:30 +02:00
|
|
|
OPTIONS_DEFINE= NLS MULTIBYTE FRIBIDI MSN YAHOO AIM IRC JABBER GPGME RSS LJ GG
|
2014-03-07 12:36:25 +01:00
|
|
|
|
2013-05-01 20:06:30 +02:00
|
|
|
FRIBIDI_DESC= Fribidi Support
|
|
|
|
MSN_DESC= MSN Protocol
|
|
|
|
YAHOO_DESC= Yahoo! Messenger Protocol
|
|
|
|
AIM_DESC= AOL's Instant Messenger Protocol
|
|
|
|
IRC_DESC= IRC Protocol
|
|
|
|
GPGME_DESC= PGP encrypted Jabber messages
|
|
|
|
RSS_DESC= RSS Support
|
|
|
|
LJ_DESC= LiveJournal Support
|
|
|
|
GG_DESC= Gadu-Gadu Protocol Support
|
2007-04-19 03:59:48 +02:00
|
|
|
|
2014-03-07 12:36:25 +01:00
|
|
|
OPTIONS_DEFAULT= MULTIBYTE FRIBIDI MSN YAHOO AIM IRC JABBER GPGME RSS LJ GG
|
2007-04-19 03:59:48 +02:00
|
|
|
|
2014-03-07 12:36:25 +01:00
|
|
|
OPTIONS_SUB= yes
|
2007-04-19 03:59:48 +02:00
|
|
|
|
2014-03-07 12:36:25 +01:00
|
|
|
PORTDOCS= FAQ README
|
2007-04-19 03:59:48 +02:00
|
|
|
|
2014-03-07 12:36:25 +01:00
|
|
|
NLS_USES= gettext
|
|
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
|
|
MULTIBYTE_CONFIGURE_ENABLE=locales-fix
|
|
|
|
FRIBIDI_LIB_DEPENDS= libfribidi.so:${PORTSDIR}/converters/fribidi
|
|
|
|
FRIBIDI_CONFIGURE_WITH= fribidi
|
|
|
|
MSN_CONFIGURE_ENABLE= msn
|
|
|
|
YAHOO_CONFIGURE_ENABLE= yahoo
|
|
|
|
AIM_CONFIGURE_ENABLE= aim
|
|
|
|
IRC_CONFIGURE_ENABLE= irc
|
|
|
|
JABBER_CONFIGURE_ENABLE=jabber
|
|
|
|
RSS_CONFIGURE_ENABLE= rss
|
|
|
|
LJ_CONFIGURE_ENABLE= lj
|
|
|
|
GG_LIB_DEPENDS= libgadu.so:${PORTSDIR}/polish/ekg
|
|
|
|
GG_CONFIGURE_ENABLE= gg
|
|
|
|
GPGME_LIB_DEPENDS= libgpgme.so:${PORTSDIR}/security/gpgme
|
|
|
|
GPGME_CONFIGURE_OFF= --with-gpgme-prefix=/nonexistent
|
2007-04-19 03:59:48 +02:00
|
|
|
|
2009-02-03 23:59:19 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e '1 s|/usr/bin/python|/usr/bin/env python|' \
|
|
|
|
${WRKSRC}/misc/CenterIMLog2HTML.py
|
|
|
|
|
2007-04-19 03:59:48 +02:00
|
|
|
post-install:
|
2014-03-07 12:36:25 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
@(cd ${WRKSRC} ; ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/)
|
2007-04-19 03:59:48 +02:00
|
|
|
|
2013-05-01 20:06:30 +02:00
|
|
|
.include <bsd.port.mk>
|