aboutsummaryrefslogtreecommitdiff
path: root/net-im/telegram
diff options
context:
space:
mode:
authorMateusz Piotrowski <0mp@FreeBSD.org>2020-10-05 22:40:26 +0000
committerMateusz Piotrowski <0mp@FreeBSD.org>2020-10-05 22:40:26 +0000
commit7ec4af8c446b83e54d6352de5d58bcfe4a7a84ee (patch)
tree8863f739bd489803c640f79863d16c4630ad8305 /net-im/telegram
parent57cf34a5325965492cbcd35d2802ae56e6ac10ed (diff)
downloadports-7ec4af8c446b83e54d6352de5d58bcfe4a7a84ee.tar.gz
ports-7ec4af8c446b83e54d6352de5d58bcfe4a7a84ee.zip
Notes
Diffstat (limited to 'net-im/telegram')
-rw-r--r--net-im/telegram/Makefile23
1 files changed, 15 insertions, 8 deletions
diff --git a/net-im/telegram/Makefile b/net-im/telegram/Makefile
index 16516fa4fd69..1c50bf4e741f 100644
--- a/net-im/telegram/Makefile
+++ b/net-im/telegram/Makefile
@@ -3,7 +3,7 @@
PORTNAME= telegram
PORTVERSION= 1.4.1.g20161227
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= net-im
MAINTAINER= 0mp@FreeBSD.org
@@ -12,22 +12,29 @@ COMMENT= Command-line interface for Telegram
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
-LIB_DEPENDS= libconfig.so:devel/libconfig \
- libevent.so:devel/libevent \
- libjansson.so:devel/jansson
-
BROKEN_mips= Missing header
BROKEN_mips64= Missing header
BROKEN_powerpc64= Does not build: Assertion failed: (get_int () == TLS_SCHEMA_V2)
-USES= gmake lua:52 ncurses pkgconfig readline ssl
-GNU_CONFIGURE= yes
+DEPRECATED= Upstream unmaintained; please migrate to net-im/telegram-cli
+EXPIRATION_DATE= 2021-01-14
+LIB_DEPENDS= libconfig.so:devel/libconfig \
+ libevent.so:devel/libevent \
+ libjansson.so:devel/jansson
+
+USES= gmake lua:52 pkgconfig readline ssl
USE_GITHUB= yes
GH_ACCOUNT= vysheng
GH_PROJECT= tg tgl:tgl tl-parser:tlparser
-GH_TAGNAME= 6547c0b ffb04ca:tgl 36bf190:tlparser
GH_SUBDIR= tgl:tgl tgl/tl-parser:tlparser
+GH_TAGNAME= 6547c0b ffb04ca:tgl 36bf190:tlparser
+
+CFLAGS+= -fcommon
+
+GNU_CONFIGURE= yes
+
+CONFLICTS_INSTALL= telegram-cli
PLIST_FILES= bin/telegram-cli \
etc/telegram-cli/server.pub