freebsd-ports/net-im/telegram-purple/Makefile
Mathieu Arnold cd19d23292 More USE_GITHUB cleanup.
Use GH_SUBDIR, or GH_TUPLE, where applicable.

Sponsored by:	Absolight
2016-12-14 16:06:19 +00:00

41 lines
986 B
Makefile

# Created by: Kris Moore <kmoore@freebsd.org>
# $FreeBSD$
PORTNAME= telegram-purple
PORTVERSION= 1.3.0
DISTVERSIONPREFIX= v
PORTREVISION= 1
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
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
USES= execinfo gettext gmake pkgconfig
USE_GNOME= glib20 libxml2
USE_GCC= yes
GNU_CONFIGURE= yes
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
BROKEN_sparc64= cannot compile: assertion fails
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>