1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00
freebsd-ports/net-im/cutegram/Makefile
Baptiste Daroussin 2c672a4de9 INSTALLS_ICONS: retire the macro and rework the related dependencies
While here, make sure gtk-update-icon-cache is only on run dependency
where added as a dependency
Enforce gtk3 to depend on gtk-update-icon-cache (previously it was
inheriting the dependency)
2021-10-10 21:44:42 +02:00

37 lines
1.0 KiB
Makefile

# Created by: Henry Hu <henry.hu.sh@gmail.com>
PORTNAME= cutegram
PORTVERSION= 2.7.1
DISTVERSIONPREFIX= v
DISTVERSIONSUFFIX= -stable
PORTREVISION= 3
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= compiler:c++11-lang desktop-file-utils gnome qmake:outsource \
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"
post-patch:
@${REINPLACE_CMD} -e "/isEmpty(OPENSSL_INCLUDE_PATH)/d" \
${WRKSRC}/Cutegram/Cutegram.pro
.include <bsd.port.mk>