freebsd-ports/net-im/centericq/Makefile
Kirill Ponomarev 54540550d7 - Original program can't send/receive non-ASCII chars correctly
in MSN/Yahoo. This patch can fix that.  Also note that original
  config file has problem in writing default charset setting to
  file.
- Bump PORTREVISION

PR:		57734
Submitted by:	maintainer
2003-10-08 19:03:09 +00:00

78 lines
1.7 KiB
Makefile

# ex:ts=8
# New ports collection makefile for: centericq
# Date created: 25 December 1999
# Whom: Chris Piazza <cpiazza@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= centericq
PORTVERSION= 4.9.7
PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= http://konst.org.ua/download/
MAINTAINER= clsung@dragon2.net
COMMENT= A text mode menu- and window-driven IM interface
LIB_DEPENDS= intl.5:${PORTSDIR}/devel/gettext \
iconv.3:${PORTSDIR}/converters/libiconv
USE_OPENSSL= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
CXXFLAGS="-I${LOCALBASE}/include"
LDFLAGS+= -L${LOCALBASE}/lib -lstdc++
CONFIGURE_ARGS= --with-openssl --disable-konst
.if defined(WITH_FRIBIDI)
LIB_DEPENDS+= fribidi.0:${PORTSDIR}/converters/fribidi
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
.endif
.if !defined(WITH_RSS)
CONFIGURE_ARGS+= --disable-rss
.endif
.if !defined(WITH_LJ)
CONFIGURE_ARGS+= --disable-lj
.endif
MAN1= centericq.1 cicqconv.1 cicqsync.1
post-patch:
.for file in kkconsui-0.1/include/conf.h kkstrtext-0.1/conf.h kksystr-0.1/include/conf.h
@(cd ${WRKSRC} ; \
${MV} -f ${file} ${file}.orig ; \
${GREP} -v "_G_config.h" ${file}.orig > ${file})
.endfor
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
@(cd ${WRKSRC} ; ${INSTALL_DATA} FAQ README ${DOCSDIR})
.endif
.include <bsd.port.mk>