Index: head/editors/texstudio/Makefile =================================================================== --- head/editors/texstudio/Makefile (revision 472194) +++ head/editors/texstudio/Makefile (revision 472195) @@ -1,58 +1,60 @@ # $FreeBSD$ PORTNAME= texstudio -PORTVERSION= 2.11.0 -PORTREVISION= 8 +DISTVERSION= 2.12.8 CATEGORIES= editors -MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/TeXstudio%20${PORTVERSION} +PKGNAMESUFFIX= -${FLAVOR} MAINTAINER= abiliojr@gmail.com COMMENT= Integrated writing environment for LaTeX documents -LIB_DEPENDS= libhunspell-1.6.so:textproc/hunspell \ - libpoppler.so:graphics/poppler +LICENSE= GPLv2 BROKEN_aarch64= fails to compile: error: no member named mc_eip in __mcontext BROKEN_armv6= fails to compile: error: no member named mc_eip in __mcontext +LIB_DEPENDS= libhunspell-1.6.so:textproc/hunspell \ + libpoppler.so:graphics/poppler + +FLAVORS= qt5 qt4 +FLAVOR?= ${FLAVORS:[1]} + +qt4_LIB_DEPENDS= libpoppler-qt4.so:graphics/poppler-qt4 \ + libquazip.so:archivers/quazip@qt4 +qt5_LIB_DEPENDS= libpoppler-qt5.so:graphics/poppler-qt5 \ + libquazip5.so:archivers/quazip@qt5 + USES= desktop-file-utils dos2unix ghostscript:run \ pkgconfig qmake -DOS2UNIX_FILES= ${PORTNAME}.pro -_USE_QT4= corelib gui network script svg xml \ +.if ${FLAVOR} == qt4 +USE_QT4= corelib gui network script svg xml \ iconengines_run designer_build moc_build rcc_build uic_build -_USE_QT5= core gui network script svg widgets xml \ +QMAKE_ARGS= QUAZIP_INCLUDE="${LOCALBASE}/include/quazip" \ + QUAZIP_LIB="-lquazip" +.else +USE_QT5= core gui network script svg widgets xml \ printsupport concurrent uitools buildtools_build +QMAKE_ARGS= QUAZIP_INCLUDE="${LOCALBASE}/include/quazip5" \ + QUAZIP_LIB="-lquazip5" +QTVER_SUFFIX= 5 +.endif USE_XORG= x11 USE_GL= gl USE_TEX= latex dvipsk +USE_GITHUB= yes +GH_ACCOUNT= ${PORTNAME}-org -WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION} +DOS2UNIX_FILES= ${PORTNAME}.pro -OPTIONS_SINGLE= TOOLKIT -OPTIONS_SINGLE_TOOLKIT= QT4 QT5 -OPTIONS_DEFAULT= QT5 - -QMAKE_ARGS= USE_SYSTEM_HUNSPELL=true USE_SYSTEM_QUAZIP=true - -TOOLKIT_DESC= Qt toolkit -QT4_USE= ${_USE_QT4:S/^/QT4=/} -QT4_LIB_DEPENDS=libpoppler-qt4.so:graphics/poppler-qt4 \ - libquazip.so:archivers/quazip@qt4 -QT4_QMAKE_ON= QUAZIP_INCLUDE="${LOCALBASE}/include/quazip" \ - QUAZIP_LIB="-lquazip" -QT5_USE= ${_USE_QT5:S/^/QT5=/} -QT5_LIB_DEPENDS=libpoppler-qt5.so:graphics/poppler-qt5 \ - libquazip5.so:archivers/quazip@qt5 -QT5_QMAKE_ON= QUAZIP_INCLUDE="${LOCALBASE}/include/quazip5" \ - QUAZIP_LIB="-lquazip5" +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 Index: head/editors/texstudio/distinfo =================================================================== --- head/editors/texstudio/distinfo (revision 472194) +++ head/editors/texstudio/distinfo (revision 472195) @@ -1,3 +1,3 @@ -TIMESTAMP = 1468240968 -SHA256 (texstudio-2.11.0.tar.gz) = 170e6d68952251e8c64589b0d147cb7692005e135cc6fc14579c6fd593f54307 -SIZE (texstudio-2.11.0.tar.gz) = 26263749 +TIMESTAMP = 1523190835 +SHA256 (texstudio-org-texstudio-2.12.8_GH0.tar.gz) = 3dec30ded3f36bb0591f8ed1b78b86fa23f276f5744925bc91075715c3f58062 +SIZE (texstudio-org-texstudio-2.12.8_GH0.tar.gz) = 26555418 Index: head/editors/texstudio/pkg-plist =================================================================== --- head/editors/texstudio/pkg-plist (revision 472194) +++ head/editors/texstudio/pkg-plist (revision 472195) @@ -1,142 +1,145 @@ bin/texstudio share/appdata/texstudio.appdata.xml share/applications/texstudio.desktop share/icons/hicolor/scalable/apps/texstudio.svg %%DATADIR%%/AUTHORS %%DATADIR%%/CHANGELOG.txt %%DATADIR%%/COPYING %%DATADIR%%/block_selection.png %%DATADIR%%/compile_toolbar.png %%DATADIR%%/configure_build.png %%DATADIR%%/configure_completion.png %%DATADIR%%/configure_customToolbar.png %%DATADIR%%/configure_customizeMenu.png %%DATADIR%%/configure_editor.png %%DATADIR%%/configure_general.png %%DATADIR%%/configure_shortcuts.png %%DATADIR%%/configure_svn.png %%DATADIR%%/de_DE.aff %%DATADIR%%/de_DE.badWords %%DATADIR%%/de_DE.dic %%DATADIR%%/de_DE.stopWords %%DATADIR%%/de_DE.stopWords.level2 %%DATADIR%%/doc1.png %%DATADIR%%/doc10.png %%DATADIR%%/doc11.png %%DATADIR%%/doc12.png %%DATADIR%%/doc13.png %%DATADIR%%/doc14.png %%DATADIR%%/doc15.png %%DATADIR%%/doc16.png %%DATADIR%%/doc17.png %%DATADIR%%/doc18.png %%DATADIR%%/doc19.png %%DATADIR%%/doc2.png %%DATADIR%%/doc20.png %%DATADIR%%/doc21.png %%DATADIR%%/doc3.png %%DATADIR%%/doc5.png %%DATADIR%%/doc6.png %%DATADIR%%/doc7.png %%DATADIR%%/doc8.png %%DATADIR%%/doc9.png %%DATADIR%%/en_GB.aff %%DATADIR%%/en_GB.dic %%DATADIR%%/en_GB.stopWords %%DATADIR%%/en_US.aff %%DATADIR%%/en_US.dic %%DATADIR%%/en_US.stopWords %%DATADIR%%/es_ES.aff %%DATADIR%%/es_ES.dic %%DATADIR%%/fr_FR.aff %%DATADIR%%/fr_FR.dic %%DATADIR%%/fr_FR.stopWords %%DATADIR%%/hu_HU.aff %%DATADIR%%/hu_HU.dic %%DATADIR%%/latex2e.css %%DATADIR%%/latex2e.html %%DATADIR%%/pt_BR.aff %%DATADIR%%/pt_BR.dic %%DATADIR%%/qt_cs.qm %%DATADIR%%/qt_de.qm %%DATADIR%%/qt_fr.qm %%DATADIR%%/qt_hu.qm %%DATADIR%%/qt_ja.qm %%DATADIR%%/qt_pl.qm %%DATADIR%%/qt_zh.qm %%DATADIR%%/spellcheck_menu.png %%DATADIR%%/tabletemplate_fullyframed_firstBold.js %%DATADIR%%/tabletemplate_fullyframed_firstBold.png %%DATADIR%%/tabletemplate_fullyframed_longtable.js %%DATADIR%%/tabletemplate_fullyframed_longtable.png %%DATADIR%%/tabletemplate_plain_tabular.js %%DATADIR%%/tabletemplate_plain_tabular.png %%DATADIR%%/tabletemplate_plain_tabularx.js %%DATADIR%%/tabletemplate_plain_tabularx.png %%DATADIR%%/tabletemplate_rowcolors_tabular.js %%DATADIR%%/tabletemplate_rowcolors_tabular.png %%DATADIR%%/template.png %%DATADIR%%/template_Article.json %%DATADIR%%/template_Article.png %%DATADIR%%/template_Article.tex %%DATADIR%%/template_Article_French.json %%DATADIR%%/template_Article_French.png %%DATADIR%%/template_Article_French.tex %%DATADIR%%/template_Beamer.json %%DATADIR%%/template_Beamer.tex %%DATADIR%%/template_Book.json %%DATADIR%%/template_Book.png %%DATADIR%%/template_Book.zip %%DATADIR%%/template_HA-prosper.json %%DATADIR%%/template_HA-prosper.tex %%DATADIR%%/template_Letter.json %%DATADIR%%/template_Letter.png %%DATADIR%%/template_Letter.tex %%DATADIR%%/template_Moderncv.json %%DATADIR%%/template_Moderncv.png %%DATADIR%%/template_Moderncv.tex %%DATADIR%%/template_Moderncv_French.json %%DATADIR%%/template_Moderncv_French.png %%DATADIR%%/template_Moderncv_French.tex %%DATADIR%%/template_Prosper.json %%DATADIR%%/template_Prosper.tex %%DATADIR%%/template_Report.json %%DATADIR%%/template_Report.png %%DATADIR%%/template_Report.tex %%DATADIR%%/template_Scrartcl.json %%DATADIR%%/template_Scrartcl.png %%DATADIR%%/template_Scrartcl.tex %%DATADIR%%/template_Scrbook.json %%DATADIR%%/template_Scrbook.tex %%DATADIR%%/template_Scrlttr2.json %%DATADIR%%/template_Scrlttr2.tex %%DATADIR%%/template_Scrreprt.json %%DATADIR%%/template_Scrreprt.tex %%DATADIR%%/texstudio128x128.png %%DATADIR%%/texstudio16x16.png %%DATADIR%%/texstudio22x22.png %%DATADIR%%/texstudio32x32.png %%DATADIR%%/texstudio48x48.png %%DATADIR%%/texstudio64x64.png +%%DATADIR%%/texstudio_ar.qm %%DATADIR%%/texstudio_cs.qm %%DATADIR%%/texstudio_de.qm %%DATADIR%%/texstudio_el.qm %%DATADIR%%/texstudio_es.qm +%%DATADIR%%/texstudio_fa.qm %%DATADIR%%/texstudio_fr.qm %%DATADIR%%/texstudio_hu.qm %%DATADIR%%/texstudio_it.qm %%DATADIR%%/texstudio_ja.qm %%DATADIR%%/texstudio_nl.qm %%DATADIR%%/texstudio_pl.qm %%DATADIR%%/texstudio_pt_BR.qm %%DATADIR%%/texstudio_ru_RU.qm +%%DATADIR%%/texstudio_tr_TR.qm %%DATADIR%%/texstudio_uk.qm %%DATADIR%%/texstudio_vi.qm %%DATADIR%%/texstudio_zh_CN.qm %%DATADIR%%/th_de_DE_v2.dat %%DATADIR%%/th_en_US_v2.dat %%DATADIR%%/th_fr_FR_v2.dat %%DATADIR%%/thesaurus.png %%DATADIR%%/usermanual.css %%DATADIR%%/usermanual_en.html %%DATADIR%%/wizard_figure.png