aboutsummaryrefslogtreecommitdiff
path: root/net-im/centerim/Makefile
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2007-04-19 01:59:48 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2007-04-19 01:59:48 +0000
commitbf9c571d2343a30a790d88f78d1e6f19dd01fd0d (patch)
tree50e7b6913ff50f13710f3b225003c902ec638efc /net-im/centerim/Makefile
parent1aa7425128c3bdaf72e004c7c50fc75ed2c9f9da (diff)
downloadports-bf9c571d2343a30a790d88f78d1e6f19dd01fd0d.tar.gz
ports-bf9c571d2343a30a790d88f78d1e6f19dd01fd0d.zip
Notes
Diffstat (limited to 'net-im/centerim/Makefile')
-rw-r--r--net-im/centerim/Makefile118
1 files changed, 118 insertions, 0 deletions
diff --git a/net-im/centerim/Makefile b/net-im/centerim/Makefile
new file mode 100644
index 000000000000..c98c6bbb9b8d
--- /dev/null
+++ b/net-im/centerim/Makefile
@@ -0,0 +1,118 @@
+# ex:ts=8
+# New ports collection makefile for: centerim
+# Date created: 2006-03-14
+# Whom: Frank Altpeter <frank@altpeter.de>
+#
+# $FreeBSD$
+#
+
+PORTNAME= centerim
+PORTVERSION= 4.22.0
+CATEGORIES= net-im
+MASTER_SITES= http://cim.sbisinger.net/tars/ \
+ http://www.centerim.org/download/ \
+ ftp://ftp.centerim.org/
+DISTNAME= ${PORTNAME}-20070418
+
+MAINTAINER= frank@altpeter.de
+COMMENT= A text mode menu- and window-driven IM interface
+
+LIB_DEPENDS= curl.4:${PORTSDIR}/ftp/curl
+
+USE_ICONV= yes
+USE_OPENSSL= yes
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
+ CXXFLAGS="-I${LOCALBASE}/include ${CXXFLAGS}"
+CONFIGURE_ARGS= --with-ssl --with-openssl --disable-konst --mandir="${PREFIX}/man"
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+CONFLICTS= centericq-[0-9]*
+
+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" off \
+ 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
+.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
+LIB_DEPENDS+= gpgme.17:${PORTSDIR}/security/gpgme
+#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>