2007-04-19 03:59:48 +02:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: centerim
|
|
|
|
# Date created: 2006-03-14
|
|
|
|
# Whom: Frank Altpeter <frank@altpeter.de>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= centerim
|
2010-10-08 10:16:36 +02:00
|
|
|
DISTVERSION= 4.22.9.40
|
2010-12-16 03:34:07 +01:00
|
|
|
PORTREVISION= 1
|
2007-04-19 03:59:48 +02:00
|
|
|
CATEGORIES= net-im
|
2008-03-20 22:09:17 +01:00
|
|
|
MASTER_SITES= http://www.centerim.org/download/mobshots/ \
|
|
|
|
ftp://ftp.centerim.org/mobshots/
|
|
|
|
PKGNAMESUFFIX= -devel
|
2007-04-19 03:59:48 +02:00
|
|
|
|
|
|
|
MAINTAINER= frank@altpeter.de
|
|
|
|
COMMENT= A text mode menu- and window-driven IM interface
|
|
|
|
|
2010-04-03 12:44:36 +02:00
|
|
|
LIB_DEPENDS= curl.6:${PORTSDIR}/ftp/curl
|
2007-04-19 03:59:48 +02:00
|
|
|
|
2010-09-21 15:00:39 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2010-09-29 09:07:37 +02:00
|
|
|
USE_PERL5_RUN= yes
|
|
|
|
USE_PYTHON_RUN= yes
|
2007-04-19 03:59:48 +02:00
|
|
|
USE_ICONV= yes
|
|
|
|
USE_OPENSSL= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2009-12-19 03:27:34 +01:00
|
|
|
CONFIGURE_ENV+= CPPFLAGS+="-I${LOCALBASE}/include" \
|
|
|
|
CXXFLAGS+="-I${LOCALBASE}/include"
|
2009-07-09 11:05:56 +02:00
|
|
|
CONFIGURE_ARGS= --with-ssl --with-openssl
|
2008-03-20 22:09:17 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
|
|
|
|
CONFLICTS= centericq-[0-9]* centerim-[0-9]*
|
2007-04-19 03:59:48 +02:00
|
|
|
|
|
|
|
OPTIONS= NLS "Native Language Support" on \
|
2008-04-29 13:08:36 +02:00
|
|
|
MULTIBYTE "Multibyte Support" on \
|
|
|
|
FRIBIDI "Fribidi Support" on \
|
|
|
|
MSN "Support for MSN Protocol" on \
|
|
|
|
YAHOO "Support for Yahoo! Messenger Protocol" on \
|
|
|
|
AIM "Support for AOL's Instant Messenger Protocol" on \
|
|
|
|
IRC "Support for IRC Protocol" on \
|
|
|
|
JABBER "Support for Jabber Protocol" on \
|
|
|
|
GPGME "Support for PGP encrypted Jabber messages" on \
|
|
|
|
RSS "Support for RSS" on \
|
|
|
|
LJ "Support for LiveJournal" on \
|
|
|
|
GG "Support for Gadu-Gadu Protocol" on
|
2007-04-19 03:59:48 +02:00
|
|
|
|
2007-10-05 22:17:28 +02:00
|
|
|
MAN1= cimconv.1 centerim.1
|
2007-04-19 03:59:48 +02:00
|
|
|
|
|
|
|
PORTDOCS= FAQ README
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(WITHOUT_NLS)
|
|
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.else
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_MULTIBYTE)
|
|
|
|
CONFIGURE_ARGS+= --enable-locales-fix
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_FRIBIDI)
|
2009-08-22 19:36:57 +02:00
|
|
|
LIB_DEPENDS+= fribidi.3:${PORTSDIR}/converters/fribidi
|
2007-04-19 03:59:48 +02:00
|
|
|
CONFIGURE_ARGS+= --with-fribidi
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(WITH_MSN)
|
|
|
|
CONFIGURE_ARGS+= --disable-msn
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(WITH_YAHOO)
|
|
|
|
CONFIGURE_ARGS+= --disable-yahoo
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(WITH_AIM)
|
|
|
|
CONFIGURE_ARGS+= --disable-aim
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(WITH_IRC)
|
|
|
|
CONFIGURE_ARGS+= --disable-irc
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(WITH_JABBER)
|
|
|
|
CONFIGURE_ARGS+= --disable-jabber
|
|
|
|
.else
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(WITH_GPGME)
|
|
|
|
CONFIGURE_ARGS+= --without-gpgme
|
|
|
|
.else
|
2009-07-15 18:47:45 +02:00
|
|
|
LIB_DEPENDS+= gpgme.18:${PORTSDIR}/security/gpgme
|
2007-04-19 03:59:48 +02:00
|
|
|
#CONFIGURE_ARGS+= --with-gpgme=${LOCALBASE}
|
|
|
|
CONFIGURE_ARGS+= --with-ssl
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(WITH_RSS)
|
|
|
|
CONFIGURE_ARGS+= --disable-rss
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(WITH_LJ)
|
|
|
|
CONFIGURE_ARGS+= --disable-lj
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(WITH_GG)
|
|
|
|
CONFIGURE_ARGS+= --disable-gg
|
|
|
|
.else
|
|
|
|
LIB_DEPENDS+= gadu.3:${PORTSDIR}/polish/ekg
|
|
|
|
LIBGADU= -lgadu
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
@(cd ${WRKSRC} ; ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|