PORTNAME= bitlbee PORTVERSION= 3.6 PORTREVISION= 1 CATEGORIES= irc MASTER_SITES= http://get.bitlbee.org/src/ \ LOCAL/brix MAINTAINER= garga@FreeBSD.org COMMENT= IRC to other chat networks gateway WWW= https://www.bitlbee.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= xmlto:textproc/xmlto \ xsltproc:textproc/libxslt USES= cpe gettext-runtime gmake gnome pkgconfig SUB_FILES= pkg-message PORTDOCS= AUTHORS CHANGES CREDITS FAQ README PORTEXAMPLES= bitlbee.conf motd.txt HAS_CONFIGURE= yes USE_RC_SUBR= bitlbee USE_GNOME= glib20 OPTIONS_SUB= yes OPTIONS_DEFINE= DEBUG DOCS EXAMPLES LDAP OTR PAM OPTIONS_SINGLE= EVENTS SSL OPTIONS_SINGLE_EVENTS= GLIB LIBEVENT OPTIONS_SINGLE_SSL= OPENSSL GNUTLS NSS OPTIONS_MULTI= PROTO OPTIONS_MULTI_PROTO= LIBPURPLE JABBER MSN OSCAR TWITTER LIBPURPLE_PREVENTS= JABBER MSN OSCAR TWITTER LIBPURPLE_PREVENTS_MSG= If libpurple is enabled, all native protocols must be disabled GLIB_DESC= Use glib as event handler LIBEVENT_BROKEN= bitlbee w/ libevent fails to start as daemon or fork LIBEVENT_DESC= Use libevent as event handler LIBPURPLE_DESC= Use libpurple for protocol support MSN_DESC= Microsoft Messenger support OSCAR_DESC= OSCAR (ICQ) support OTR_DESC= Off-the-Record Messaging support TWITTER_DESC= Twitter support OPTIONS_DEFAULT= GLIB GNUTLS JABBER OSCAR OTR TWITTER CONFIGURE_ARGS= --config=/var/db/bitlbee \ --pcdir=${PREFIX}/libdata/pkgconfig \ --prefix=${PREFIX} \ --mandir=${MANPREFIX}/man \ --strip=1 \ --yahoo=0 DEBUG_CONFIGURE_ON= --debug=1 DOCS_USES= python:build DOCS_CONFIGURE_ENV= PYTHON=${PYTHON_CMD} GLIB_CONFIGURE_ON= --events=glib GNUTLS_CONFIGURE_ON= --ssl=gnutls GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls \ libgcrypt.so:security/libgcrypt \ libgpg-error.so:security/libgpg-error JABBER_CONFIGURE_OFF= --jabber=0 LDAP_CONFIGURE_ON= --ldap=1 LDAP_USE= OPENLDAP=yes LIBEVENT_CONFIGURE_ON= --events=libevent --libevent=${LOCALBASE} LIBEVENT_LIB_DEPENDS= libevent.so:devel/libevent LIBPURPLE_CONFIGURE_ON= --purple=1 LIBPURPLE_LIB_DEPENDS= libpurple.so:net-im/libpurple MSN_CONFIGURE_OFF= --msn=0 NSS_CONFIGURE_ON= --ssl=nss NSS_LIB_DEPENDS= libnss3.so:security/nss \ libnspr4.so:devel/nspr \ libplc4.so:devel/nspr \ libplds4.so:devel/nspr OPENSSL_CONFIGURE_ON= --ssl=openssl OPENSSL_USES= ssl OSCAR_CONFIGURE_OFF= --oscar=0 OTR_CONFIGURE_ON= --otr=1 OTR_LIB_DEPENDS= libotr.so.5:security/libotr \ libgcrypt.so:security/libgcrypt \ libgpg-error.so:security/libgpg-error PAM_CONFIGURE_ON= --pam=1 TWITTER_CONFIGURE_OFF= --twitter=0 USERS= bitlbee GROUPS= bitlbee post-patch: @${REINPLACE_CMD} -e '/^install:/ s/$$/ install-dev/' \ ${WRKSRC}/Makefile @${REINPLACE_CMD} -e "s|^\(EFLAGS=.*\)|\1 ${LDFLAGS}|" \ -e "/include.*ldap.h/ s,-E,-I${LOCALBASE}/include -E," \ ${WRKSRC}/configure @${REINPLACE_CMD} -e "s:/etc/bitlbee/motd.txt:${ETCDIR}/motd.txt:" \ -e "s:/var/lib/bitlbee:/var/db/bitlbee:" \ ${WRKSRC}/bitlbee.conf @${REINPLACE_CMD} -e "s:/var/lib/bitlbee:/var/db/bitlbee:" \ ${WRKSRC}/doc/bitlbee.8 post-install: @${MKDIR} ${STAGEDIR}${ETCDIR} post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S@^@${WRKSRC}/doc/@} ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${PORTEXAMPLES:S@^@${WRKSRC}/@} ${STAGEDIR}${EXAMPLESDIR} .include