freebsd-ports/editors/texstudio/Makefile
Tobias C. Berner 8e124cb8fb Update poppler to 0.86.1
Release 0.86.1:
        core:
         * Fix regression in Browse Link handling
         * Internal code improvements

Release 0.86.0:
        core:
         * Fix link content exfiltration attack
         * Splash: Implement gouraudTriangleShadedFill for some non parametrized shadings. Issue #881
         * Fix case unsensitive search for Old Hungarian, Warang Citi, Medefaidrin and Adlam
         * Internal code improvements

        glib:
         * Automatic handle of page's cropbox on annots. Issue #129
         * Fix memory leak if poppler_document_new_from_file fails
         * Minor speed optimization on poppler_page_get_annot_mapping

         utils:
         * pdfdetach: add 'savefile' option
         * pdftoppm/pdftocairo: Fix more odd/even mismatch

        qt5:
         * Fix loading from iodevice

PR:		244827
Exp-run by:	antoine
2020-03-21 12:57:09 +00:00

45 lines
1.2 KiB
Makefile

# $FreeBSD$
PORTNAME= texstudio
DISTVERSION= 2.12.22
PORTREVISION= 1
CATEGORIES= editors
MAINTAINER= rigoletto@FreeBSD.org
COMMENT= Integrated writing environment for LaTeX documents
LICENSE= GPLv2
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 \
libquazip5.so:archivers/quazip
USES= compiler:c++11-lang desktop-file-utils dos2unix \
ghostscript:run gl pkgconfig qmake qt:5 xorg
USE_QT = 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
USE_XORG= x11
USE_GL= gl
USE_TEX= latex dvipsk
USE_GITHUB= yes
GH_ACCOUNT= ${PORTNAME}-org
DOS2UNIX_FILES= ${PORTNAME}.pro
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>