freebsd-ports/net-im/telegramqml/Makefile
Guido Falsi 51ed118203 Fix build with libc++ 3.8.0.
PR:		209967
Submitted by:	me
Approved by:	Henry Hu <henry.hu.sh at gmail.com> (maintainer)
2016-06-18 22:10:55 +00:00

32 lines
743 B
Makefile

# Created by: Henry Hu <henry.hu.sh@gmail.com>
# $FreeBSD$
PORTNAME= telegramqml
PORTVERSION= 0.9.2
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
USE_QT5= qmake_build buildtools_build core qml quick sql xml multimedia
USE_OPENSSL= yes
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>