aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/telegramqml/Makefile
blob: 8501d9f1c7d2569a589f35267780f2980e49902f (plain) (blame)
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
# Created by: Henry Hu <henry.hu.sh@gmail.com>
# $FreeBSD$

PORTNAME=   telegramqml
PORTVERSION=    0.9.2
PORTREVISION=   1
DISTVERSIONPREFIX=  v
CATEGORIES= net-im

MAINTAINER= henry.hu.sh@gmail.com
COMMENT=    Telegram API tools for QtQML and Qml

LICENSE=    GPLv3
LICENSE_FILE=   ${WRKSRC}/LICENSE

LIB_DEPENDS=    libqtelegram-ae.so:net-im/libqtelegram-ae

USE_GITHUB= yes
GH_ACCOUNT= Aseman-Land
GH_PROJECT= TelegramQML

USES=       qmake:outsource ssl
USE_QT5=    qmake_build buildtools_build core qml quick sql xml multimedia
USE_LDCONFIG=   yes
QMAKE_ARGS= BUILD_MODE+=lib \
        LIBQTELEGRAM_INCLUDE_PATH="${LOCALBASE}/include/libqtelegram-ae"

post-patch:
    @${REINPLACE_CMD} -e "/isEmpty(OPENSSL_INCLUDE_PATH)/d" \
        ${WRKSRC}/telegramqml.pri

.include <bsd.port.mk>