f18538b989
Changes: https://github.com/libevent/libevent/releases/tag/release-2.1.11-stable ABI: https://abi-laboratory.pro/tracker/timeline/libevent/ PR: 239599 Reported by: GitHub (watch releases) Approved by: zeising (maintainer) MFH: 2019Q3 (maybe security, partially restores 2.1.8 ABI) Differential Revision: https://reviews.freebsd.org/D21133
53 lines
1.3 KiB
Makefile
53 lines
1.3 KiB
Makefile
# Created by: gahr
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= telegram
|
|
PORTVERSION= 1.4.1.g20161227
|
|
PORTREVISION= 6
|
|
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/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
|
|
|
|
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= *
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200085
|
|
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-openssl-1.1.0
|
|
.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.mk>
|