aboutsummaryrefslogtreecommitdiff
path: root/net-im/telegramqml/Makefile
blob: 9d16279d19123f61c674da6ebd5fe10363cf2690 (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
# Created by: Henry Hu <henry.hu.sh@gmail.com>

PORTNAME=	telegramqml
PORTVERSION=	0.9.2
DISTVERSIONPREFIX=	v
PORTREVISION=	4
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=		compiler:c++11-lang qmake:outsource qt:5 ssl
USE_QT=		qmake_build buildtools_build core declarative 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>