mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# Created by: Kris Moore <kmoore@freebsd.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= telegram-purple
|
|
PORTVERSION= 1.3.1
|
|
DISTVERSIONPREFIX= v
|
|
PORTREVISION= 4
|
|
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 \
|
|
libpurple.so:net-im/libpurple
|
|
|
|
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>
|