# Created by: Kris Moore # $FreeBSD$ PORTNAME= telegram-purple PORTVERSION= 1.3.1 DISTVERSIONPREFIX= v PORTREVISION= 3 CATEGORIES= net-im MAINTAINER= kevlo@FreeBSD.org COMMENT= Libpurple plugin for Telegram messenger LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= pidgin:net-im/pidgin RUN_DEPENDS= pidgin:net-im/pidgin LIB_DEPENDS= libgcrypt.so:security/libgcrypt \ libwebp.so:graphics/webp BROKEN_armv6= fails to link: undefined reference to 'backtrace' BROKEN_sparc64= fails to compile: assertion fails OPTIONS_DEFINE= NLS OPTIONS_SUB= yes USES= gettext gmake pkgconfig USE_GNOME= glib20 libxml2 GNU_CONFIGURE= yes LDFLAGS+= -L${LOCALBASE}/lib USE_GITHUB= yes GH_ACCOUNT= majn:DEFAULT,tgl vysheng:tlparser GH_PROJECT= tgl:tgl tl-parser:tlparser GH_TAGNAME?= 624cf5a:tgl 36bf190:tlparser GH_SUBDIR= tgl:tgl tgl/tl-parser:tlparser pre-configure: @${REINPLACE_CMD} -e 's|/etc/telegram-purple/server.tglpub|${PREFIX}/etc/telegram-purple/server.tglpub|g' \ ${WRKSRC}/telegram-purple.c .include