1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/net-im/telegram-purple/Makefile
2018-01-12 11:21:07 +00:00

43 lines
1.0 KiB
Makefile

# Created by: Kris Moore <kmoore@freebsd.org>
# $FreeBSD$
PORTNAME= telegram-purple
PORTVERSION= 1.3.1
DISTVERSIONPREFIX= v
PORTREVISION= 3
CATEGORIES= net-im
MAINTAINER= ports@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 <bsd.port.mk>