Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Apr 2016 03:09:53 +0000 (UTC)
From:      "Carlos J. Puga Medina" <cpm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r413762 - head/net-im/telegram
Message-ID:  <201604220309.u3M39ruj046810@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cpm
Date: Fri Apr 22 03:09:53 2016
New Revision: 413762
URL: https://svnweb.freebsd.org/changeset/ports/413762

Log:
  - 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)

Modified:
  head/net-im/telegram/Makefile
  head/net-im/telegram/distinfo

Modified: head/net-im/telegram/Makefile
==============================================================================
--- head/net-im/telegram/Makefile	Fri Apr 22 02:44:54 2016	(r413761)
+++ head/net-im/telegram/Makefile	Fri Apr 22 03:09:53 2016	(r413762)
@@ -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/libconfi
 		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

Modified: head/net-im/telegram/distinfo
==============================================================================
--- head/net-im/telegram/distinfo	Fri Apr 22 02:44:54 2016	(r413761)
+++ head/net-im/telegram/distinfo	Fri Apr 22 03:09:53 2016	(r413762)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604220309.u3M39ruj046810>