1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/editors/neovim-qt/Makefile
Nuno Teixeira 941ae7d381 editors/neovim-qt: Fix typo default flavor
- Switch default flavor to qt5
2023-08-23 20:37:25 +01:00

47 lines
1.1 KiB
Makefile

PORTNAME= neovim-qt
DISTVERSIONPREFIX= v
DISTVERSION= 0.2.17-66
PORTREVISION= 1
CATEGORIES= editors
PKGNAMESUFFIX= ${FLAVOR:S/qt//}
MAINTAINER= eduardo@FreeBSD.org
COMMENT= Neovim client library and QT${FLAVOR:S/qt//} GUI
WWW= https://github.com/equalsraf/neovim-qt/
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= neovim>=0:editors/neovim \
unibilium>=0:devel/unibilium
LIB_DEPENDS= libmsgpackc.so:devel/msgpack-c \
libunibilium.so:devel/unibilium
RUN_DEPENDS= neovim>=0:editors/neovim
FLAVORS= qt5 qt6
FLAVOR?= ${FLAVORS:[1]}
qt5_CONFLICTS_INSTALL= neovim-qt6
qt6_CONFLICTS_INSTALL= neovim-qt5
USES= ${_USES_${FLAVOR}} cmake desktop-file-utils qt:${FLAVOR:S/qt//}
USE_GITHUB= yes
GH_ACCOUNT= equalsraf
GH_TAGNAME= ecb3679
_USES_qt6= gl
_USE_QT_qt5= core gui network svg testlib widgets buildtools:build \
qmake:build
_USE_QT_qt6= base svg
_USE_GL_qt6= gl opengl
USE_GL= ${_USE_GL_${FLAVOR}}
USE_QT= ${_USE_QT_${FLAVOR}}
CMAKE_ARGS= -DWITH_QT=Qt${FLAVOR:S/qt//}
CMAKE_ON= USE_SYSTEM_MSGPACK
CMAKE_OFF= ENABLE_TESTS
DATADIR= ${PREFIX}/share/nvim-qt
PORTSCOUT= limit:^d\.d\.
.include <bsd.port.mk>