1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00

- 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)
This commit is contained in:
Carlos J. Puga Medina 2016-04-22 03:09:53 +00:00
parent df4e70bdc4
commit cefb734d5e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=413762
2 changed files with 11 additions and 11 deletions

View File

@ -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

View File

@ -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