From now on, ports that depend on Qt4 will have to set USES= qt:4 USE_QT= foo bar ports depending on Qt5 will use USES= qt:5 USE_QT= foo bar PR: 229225 Exp-run by: antoine Reviewed by: mat Approved by: portmgr (antoine) Differential Revision: →https://reviews.freebsd.org/D15540
32 lines
751 B
Makefile
32 lines
751 B
Makefile
# 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 qt:5 ssl
|
|
USE_QT= 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>
|