freebsd-ports/editors/texstudio/Makefile
Tobias C. Berner c565bdb335 graphics/poppler: update to 21.01.0
Release 21.01.0:
        core:
         * Faster routines for jpeg decoding
         * Fix reading signatures in encrypted files
         * Add white point correction when lcms is used
         * JBIG2Stream: Fix byte counting
         * Fix potential data loss if we try to fetch a non existing Ref after modifying the document
         * Specifically use DeviceGray instead of DefaultGray for softmasks
         * Fix various issues handling broken files

        utils:
         * pdftocairo: Setmode binary for windows
         * pdfsig: Add hability to digitally sign files
         * pdftoppm: add options to set DeviceGray/DeviceRGB/DeviceCMYK
         * pdftops: add options to set DeviceGray/DeviceRGB/DeviceCMYK
         * pdfimages: Account for rotation in PPI calculation

        qt5:
         * Add hability to digitally sign files

        qt6:
         * Add hability to digitally sign files

        build system:
         * Enable clang-tidy bugprone-signed-char-misuse

PR:		252377
Exp-run by:	antoine
2021-01-07 19:23:00 +00:00

46 lines
1.2 KiB
Makefile

# $FreeBSD$
PORTNAME= texstudio
DISTVERSION= 3.0.4
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 \
libquazip1-qt5.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
QTVER_SUFFIX= 5
USE_XORG= x11
USE_GL= gl
USE_TEX= latex dvipsk
USE_GITHUB= yes
GH_ACCOUNT= ${PORTNAME}-org
DOS2UNIX_FILES= ${PORTNAME}.pro \
src/manhattanstyle.cpp \
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>