aboutsummaryrefslogtreecommitdiff
path: root/editors/texstudio/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'editors/texstudio/Makefile')
-rw-r--r--editors/texstudio/Makefile24
1 files changed, 6 insertions, 18 deletions
diff --git a/editors/texstudio/Makefile b/editors/texstudio/Makefile
index 9b1c915557d6..af603edf9d0f 100644
--- a/editors/texstudio/Makefile
+++ b/editors/texstudio/Makefile
@@ -1,5 +1,5 @@
PORTNAME= texstudio
-DISTVERSION= 4.8.7
+DISTVERSION= 4.8.9
CATEGORIES= editors
MAINTAINER= wen@FreeBSD.org
@@ -12,19 +12,16 @@ BROKEN_armv6= fails to compile: error: no member named mc_eip in __mcontext
LIB_DEPENDS= libhunspell-1.7.so:textproc/hunspell \
libpoppler.so:graphics/poppler \
- libpoppler-qt5.so:graphics/poppler-qt5 \
- libquazip1-qt5.so:archivers/quazip@qt5
+ libpoppler-qt6.so:graphics/poppler-qt6 \
+ libquazip1-qt6.so:archivers/quazip@qt6
-USES= compiler:c++11-lang desktop-file-utils dos2unix \
- ghostscript:run gl pkgconfig qmake qt:5 tex xorg
+USES= cmake compiler:c++20-lang desktop-file-utils dos2unix \
+ ghostscript:run gl pkgconfig qt:6 tex xorg
USE_GITHUB= yes
GH_ACCOUNT= ${PORTNAME}-org
-USE_QT = concurrent core declarative gui linguisttools network \
- printsupport script svg uitools widgets xml \
- buildtools:build
-QTVER_SUFFIX= 5
+USE_QT = 5compat base tools
USE_XORG= x11
USE_GL= gl
@@ -35,13 +32,4 @@ DOS2UNIX_FILES= ${PORTNAME}.pro \
src/pdfviewer/PDFDocument.h \
src/qcodeedit/lib/widgets/qfoldpanel.cpp
-QMAKE_ARGS+= USE_SYSTEM_HUNSPELL=true USE_SYSTEM_QUAZIP=true
-
-post-patch:
- @${REINPLACE_CMD} -e 's,^\(utilities.path =\).*,\1 ${DATADIR},' \
- -e 's,/usr/include,${LOCALBASE}/include,g' \
- -e 's,/usr/lib,${LOCALBASE}/lib,g' \
- -e '/appdata.path/s,\/usr,${PREFIX},' \
- ${WRKSRC}/${PORTNAME}.pro
-
.include <bsd.port.mk>