blob: 7f29bd4c5bc90c97f0d79ef23e8f749b8497d0de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Created by: gahr
# $FreeBSD$
PORTNAME= telegram
PORTVERSION= 1.4.1.g20161227
CATEGORIES= net-im
MAINTAINER= cpm@FreeBSD.org
COMMENT= Command-line interface for Telegram
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
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 ssl
GNU_CONFIGURE= yes
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
PLIST_FILES= bin/telegram-cli \
etc/telegram-cli/server.pub
PORTDOCS= *
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 1000024
USE_GCC= yes
.endif
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/etc/telegram-cli
${INSTALL_PROGRAM} ${WRKSRC}/bin/telegram-cli ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/tg-server.pub ${STAGEDIR}${PREFIX}/etc/telegram-cli/server.pub
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/ && ${INSTALL_DATA} CHANGELOG README-LUA README.es README.md \
${STAGEDIR}${DOCSDIR})
.include <bsd.port.post.mk>
|