blob: a1eded237e676dcd3af18528a472618bc5399f39 (
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
33
34
35
36
37
|
# Created by: Henry Hu <henry.hu.sh@gmail.com>
# $FreeBSD$
PORTNAME= cutegram
PORTVERSION= 2.7.1
DISTVERSIONPREFIX= v
DISTVERSIONSUFFIX= -stable
PORTREVISION= 2
CATEGORIES= net-im
MAINTAINER= henry.hu.sh@gmail.com
COMMENT= Free and opensource telegram client
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libqtelegram-ae.so:net-im/libqtelegram-ae \
libtelegramqml.so:net-im/telegramqml
USE_GITHUB= yes
GH_ACCOUNT= Aseman-Land
GH_PROJECT= Cutegram aseman-qt-tools:tools
GH_TAGNAME= 91bf14b:tools
GH_SUBDIR= Cutegram/asemantools:tools
USES= qmake:outsource desktop-file-utils qt:5 ssl
USE_QT= qmake_build buildtools_build core declarative sql xml multimedia \
widgets dbus webkit quickcontrols graphicaleffects sql-sqlite3
QMAKE_ARGS= LIBQTELEGRAM_INCLUDE_PATH="${LOCALBASE}/include/libqtelegram-ae" \
TELEGRAMQML_INCLUDE_PATH="${LOCALBASE}/include/telegramqml"
INSTALLS_ICONS= yes
post-patch:
@${REINPLACE_CMD} -e "/isEmpty(OPENSSL_INCLUDE_PATH)/d" \
${WRKSRC}/Cutegram/Cutegram.pro
.include <bsd.port.mk>
|