aboutsummaryrefslogtreecommitdiffstats
path: root/net-im
diff options
context:
space:
mode:
authorCarlos J. Puga Medina <cpm@FreeBSD.org>2016-04-22 11:09:53 +0800
committerCarlos J. Puga Medina <cpm@FreeBSD.org>2016-04-22 11:09:53 +0800
commitcefb734d5e2e739334ff96e0044df558813cf29b (patch)
treeb79f8dbd8f1cb3086f6a7111ca7192bf6dd87e47 /net-im
parentdf4e70bdc4f4443a435197e20a9f5f1b93ca2053 (diff)
downloadfreebsd-ports-gnome-cefb734d5e2e739334ff96e0044df558813cf29b.tar.gz
freebsd-ports-gnome-cefb734d5e2e739334ff96e0044df558813cf29b.tar.zst
freebsd-ports-gnome-cefb734d5e2e739334ff96e0044df558813cf29b.zip
- Fix GH_PROJECT and GH_TAGNAME to correctly fetch all distfiles.
- Update MAINTAINER to my @FreeBSD.org address. - Mark as BROKEN on mips, mips64 and powerpc64 - Clean-up Makefile Approved by: junovitch (mentor)
Diffstat (limited to 'net-im')
-rw-r--r--net-im/telegram/Makefile18
-rw-r--r--net-im/telegram/distinfo4
2 files changed, 11 insertions, 11 deletions
diff --git a/net-im/telegram/Makefile b/net-im/telegram/Makefile
index ca8a50ed52d9..3811644eeec1 100644
--- a/net-im/telegram/Makefile
+++ b/net-im/telegram/Makefile
@@ -5,7 +5,7 @@ PORTNAME= telegram
PORTVERSION= 1.3.1
CATEGORIES= net-im
-MAINTAINER= cpm@fbsd.es
+MAINTAINER= cpm@FreeBSD.org
COMMENT= Command-line interface for Telegram
LICENSE= GPLv2
@@ -16,16 +16,18 @@ LIB_DEPENDS= libconfig.so:devel/libconfig \
libevent.so:devel/libevent2 \
libjansson.so:devel/jansson
+BROKEN_mips= Missing header
+BROKEN_mips64= Missing header
+BROKEN_powerpc64= Does not build
+
USES= execinfo gmake lua:52 ncurses pkgconfig readline
USE_OPENSSL= yes
GNU_CONFIGURE= yes
USE_GITHUB= yes
GH_ACCOUNT= vysheng
-GH_PROJECT= tg:telegram tgl tl-parser:tlparser
-GH_TAGNAME= 1.3.1:telegram 2.0.1 1659d87:tlparser
-
-WRKSRC= ${WRKDIR}/tg-1.3.1
+GH_PROJECT= tg tgl:tgl tl-parser:tlparser
+GH_TAGNAME= 1.3.1 2.0.1:tgl 1659d87:tlparser
PLIST_FILES= bin/telegram-cli \
etc/telegram-cli/server.pub
@@ -38,10 +40,8 @@ USE_GCC= yes
.endif
post-extract:
- @${RM} -r ${WRKSRC}/tgl
- @${MV} ${WRKDIR}/tgl-2.0.1 ${WRKSRC}/tgl
- @${MV} ${WRKDIR}/tl-parser-1659d87/* ${WRKSRC}/tgl/tl-parser
- @${RM} -r ${WRKDIR}/tl-parser-1659d87
+ @${MV} ${WRKSRC_tgl}/* ${WRKSRC}/tgl
+ @${MV} ${WRKSRC_tlparser}/* ${WRKSRC}/tgl/tl-parser
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/etc/telegram-cli
diff --git a/net-im/telegram/distinfo b/net-im/telegram/distinfo
index 338b7bd6b429..1b94821bae1a 100644
--- a/net-im/telegram/distinfo
+++ b/net-im/telegram/distinfo
@@ -1,6 +1,6 @@
-SHA256 (vysheng-tgl-1.3.1-2.0.1_GH0.tar.gz) = 549bbfc46715bae31b50a54cc21eefd61109cd28dcdddbe4e53726aec3d924f1
-SIZE (vysheng-tgl-1.3.1-2.0.1_GH0.tar.gz) = 250488
SHA256 (vysheng-tg-1.3.1_GH0.tar.gz) = b70b1d8b97b44086b64e467f81c6aceb8263092c26a8cf1a7d717eb1b5360415
SIZE (vysheng-tg-1.3.1_GH0.tar.gz) = 278051
+SHA256 (vysheng-tgl-2.0.1_GH0.tar.gz) = 549bbfc46715bae31b50a54cc21eefd61109cd28dcdddbe4e53726aec3d924f1
+SIZE (vysheng-tgl-2.0.1_GH0.tar.gz) = 250488
SHA256 (vysheng-tl-parser-1659d87_GH0.tar.gz) = 6b9538b0c3be3bb25e4f4750ecbea42ce7be58b005a3eeb372b9d15fbaa92e0b
SIZE (vysheng-tl-parser-1659d87_GH0.tar.gz) = 78615