aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authordanilo <danilo@FreeBSD.org>2017-06-07 10:20:26 +0800
committerdanilo <danilo@FreeBSD.org>2017-06-07 10:20:26 +0800
commitda868a64a25ed16f614b0fd4c297d96f9be7cd28 (patch)
tree3711033ddd24c8ceccf8e8ba8465ba49d3b11007 /editors
parent6b5c6cdb3b7aa6304daccbc8ccef2cfecd68759a (diff)
downloadfreebsd-ports-gnome-da868a64a25ed16f614b0fd4c297d96f9be7cd28.tar.gz
freebsd-ports-gnome-da868a64a25ed16f614b0fd4c297d96f9be7cd28.tar.zst
freebsd-ports-gnome-da868a64a25ed16f614b0fd4c297d96f9be7cd28.zip
- Add QT5 support
PR: 219560 Submitted by: Eric Camachat <eric@camachat.org>
Diffstat (limited to 'editors')
-rw-r--r--editors/tea/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/editors/tea/Makefile b/editors/tea/Makefile
index bc2fcf7e3669..614f03072064 100644
--- a/editors/tea/Makefile
+++ b/editors/tea/Makefile
@@ -7,19 +7,23 @@ CATEGORIES= editors
MASTER_SITES= http://semiletov.org/tea/dloads/
MAINTAINER= danilo@FreeBSD.org
-COMMENT= Simple and powerful Qt4-based text editor
+COMMENT= Simple and powerful Qt-based text editor
LICENSE= GPLv3
+OPTIONS_SINGLE= TOOLKITS
+OPTIONS_SINGLE_TOOLKITS= QT4 QT5
OPTIONS_DEFINE= DOCS
OPTIONS_GROUP= SPELL
OPTIONS_GROUP_SPELL= ASPELL HUNSPELL
-OPTIONS_DEFAULT= ASPELL HUNSPELL
+OPTIONS_DEFAULT= QT4 ASPELL HUNSPELL
USES= pkgconfig:build qmake tar:bzip2
USE_GL= gl
USE_LOCALE= en_US.UTF-8
-USE_QT4= corelib gui moc_build network rcc_build
+
+QT4_USE= qt4=corelib,gui,moc_build,network,rcc_build
+QT5_USE= qt5=buildtools_build,core,gui,network,widgets,printsupport,qml,quick
LDFLAGS+= -lz
PLIST_FILES= bin/tea share/pixmaps/tea_icon_v2.png