aboutsummaryrefslogtreecommitdiff
path: root/editors/tea
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2017-06-07 02:20:26 +0000
committerDanilo Egea Gondolfo <danilo@FreeBSD.org>2017-06-07 02:20:26 +0000
commita675e7fd6db5262cd847af52bcf939bc36ca6c87 (patch)
tree3711033ddd24c8ceccf8e8ba8465ba49d3b11007 /editors/tea
parente3a56546aaec83baa93e4da7d44c3a774150d41b (diff)
downloadports-a675e7fd6db5262cd847af52bcf939bc36ca6c87.tar.gz
ports-a675e7fd6db5262cd847af52bcf939bc36ca6c87.zip
- Add QT5 support
PR: 219560 Submitted by: Eric Camachat <eric@camachat.org>
Notes
Notes: svn path=/head/; revision=442813
Diffstat (limited to 'editors/tea')
-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