freebsd-ports/net-im/centericq/Makefile
Pav Lucistnik d11b5ce66c Move instant messaging related ports to newly created net-im category:
net/aim -> net-im/aim
  net/amsn -> net-im/amsn
  net/ari-yahoo -> net-im/ari-yahoo
  net/ayttm -> net-im/ayttm
  net/bsflite -> net-im/bsflite
  net/ccmsn -> net-im/ccmsn
  net/centericq -> net-im/centericq
  net/cicquin -> net-im/cicquin
  net/coccinella -> net-im/coccinella
  net/convey -> net-im/convey
  net/echat -> net-im/echat
  net/ejabberd -> net-im/ejabberd
  net/firetalk -> net-im/firetalk
  net/fugu -> net-im/fugu
  net/gajim -> net-im/gajim
  net/gale -> net-im/gale
  net/ginsu -> net-im/ginsu
  net/gnome-jabber -> net-im/gnome-jabber
  net/gtkyahoo -> net-im/gtkyahoo
  net/gyach -> net-im/gyach
  net/icb -> net-im/icb
  net/icmpchat -> net-im/icmpchat
  net/icqlib -> net-im/icqlib
  net/imcom -> net-im/imcom
  net/jabberd -> net-im/jabberd
  net/jabber-pymsn -> net-im/jabber-pymsn
  net/jit -> net-im/jit
  net/kmerlin -> net-im/kmerlin
  net/kmess -> net-im/kmess
  net/konverse -> net-im/konverse
  net/kpopup -> net-im/kpopup
  net/libmsn -> net-im/libmsn
  net/libyahoo2 -> net-im/libyahoo2
  net/linpopup -> net-im/linpopup
  net/linux-ymessenger -> net-im/linux-ymessenger
  net/mcabber -> net-im/mcabber
  net/mercury -> net-im/mercury
  net/micq -> net-im/micq
  net/mu-conference -> net-im/mu-conference
  net/naim -> net-im/naim
  net/pebrot -> net-im/pebrot
  net/pork -> net-im/pork
  net/py-msnp -> net-im/py-msnp
  net/py-pyxmpp -> net-im/py-pyxmpp
  net/p5-Jabber-Connection -> net-im/p5-Jabber-Connection
  net/p5-Net-AIM -> net-im/p5-Net-AIM
  net/p5-Net-AOLIM -> net-im/p5-Net-AOLIM
  net/p5-Net-ICQ2000 -> net-im/p5-Net-ICQ2000
  net/p5-Net-MSN -> net-im/p5-Net-MSN
  net/p5-Net-NetSend -> net-im/p5-Net-NetSend
  net/p5-Net-OSCAR -> net-im/p5-Net-OSCAR
  net/simicq -> net-im/simicq
  net/sulci -> net-im/sulci
  net/tik -> net-im/tik
  net/tkabber -> net-im/tkabber
  net/tkabber-devel -> net-im/tkabber-devel
  net/tmsnc -> net-im/tmsnc
  net/vicq -> net-im/vicq
  net/vqcc-gtk -> net-im/vqcc-gtk
  net/xicq -> net-im/xicq
  net/ymessenger -> net-im/ymessenger
  net/ysm -> net-im/ysm

Repocopied by:	marcus
2005-11-09 07:48:19 +00:00

131 lines
3.1 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.21.0
PORTREVISION= 3
CATEGORIES= net-im
MASTER_SITES= http://centericq.de/archive/source/releases/ \
http://thekonst.net/download/
MAINTAINER= clsung@FreeBSD.org
COMMENT= A text mode menu- and window-driven IM interface
USE_BZIP2= yes
USE_ICONV= yes
USE_OPENSSL= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_REINPLACE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
CXXFLAGS="-I${LOCALBASE}/include"
LDFLAGS+= -L${LOCALBASE}/lib -lstdc++
CONFIGURE_ARGS= --with-openssl --disable-konst
OPTIONS= NLS "Native Language Support" on \
MULTIBYTE "Multibyte Support" off \
FRIBIDI "Fribidi Support" off \
MSN "Support for MSN Protocol" off \
YAHOO "Support for Yahoo! Messenger Protocol" off \
AIM "Support for AOL's Instant Messenger Protocol" off \
IRC "Support for IRC Protocol" off \
JABBER "Support for Jabber Protocol" off \
GPGME "Support for PGP encrypted Jabber messages" on \
RSS "Support for RSS" off \
LJ "Support for LiveJournal" off \
GG "Support for Gadu-Gadu Protocol" off
MAN1= cicqconv.1 cicqsync.1
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)
LIB_DEPENDS+= fribidi.0:${PORTSDIR}/converters/fribidi
CONFIGURE_ARGS+= --with-fribidi
.endif
.if !defined(WITH_MSN)
CONFIGURE_ARGS+= --disable-msn
.else
LIB_DEPENDS+= curl.3:${PORTSDIR}/ftp/curl
.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
.if !defined(WITH_GPGME)
CONFIGURE_ARGS+= --without-gpgme
.else
LIB_DEPENDS+= gpgme.15:${PORTSDIR}/security/gpgme
CONFIGURE_ARGS+= --with-gpgme=${LOCALBASE}
.endif
.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
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
@${FIND} ${WRKSRC} -name "Makefile*" -type f -print0 | \
${XARGS} -0 \
${REINPLACE_CMD} -E \
-e "s|-I\$$\(top_srcdir\)/libgadu-0.1|-I${LOCALBASE}/include|" \
-e "s|-L\$$\(top_srcdir\)/libgadu-0.1|-L${LOCALBASE}/lib|" \
-e 's|libgadu-0.1/*||' \
-e 's|libgadu-0.1||' \
-e 's|-llibgadu|${LIBGADU}|'
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
@(cd ${WRKSRC} ; ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
.endif
.include <bsd.port.post.mk>