freebsd-ports/editors/texworks/Makefile
Tobias C. Berner 0ef82d433f graphics/poppler: update to 21.03.0
Release 21.03.0:
        core:
         * Fix parsing text in some broken pdf files. Issue #1040
         * Fix memory issue when using threads. Issue #1050
         * TextSelectionDumper: Fix getText() for space after word
         * Change signature of OutputDev:tilingPatternFill
         * Make PDFDocBuilder return a std::unique_ptr
         * Improve well formed check for shading functions
         * Fix leak in case of fread failing
         * Fix memory leak in broken file in JBIG2Stream::readGenericBitmap
         * PSOutputDev: Fix stack overflow in broken files

        glib:
         * poppler_annot_free_text_get_callout_line: Fix wrong static cast
         * poppler-structure-element: fix memleak
         * Improve documentation
         * demo: keep same visual appearance between displayed and copied text

        utils:
         * pdftotext: Add -cropbox option
         * pdftoppm: Add -progress option
         * pdftoppm: Fix rounding bug in computation of output bitmap size. Issue #927

        qt6:
         * Add missing poppler-qt6.pc.cmake

PR:		253953
Exp-run by:	antoine
2021-03-08 19:32:55 +00:00

54 lines
1.3 KiB
Makefile

# Created by: Diego Depaoli <trebestie@gmail.com>
# $FreeBSD$
PORTNAME= texworks
DISTVERSIONPREFIX= release-
DISTVERSION= 0.6.2
PORTREVISION= 27
CATEGORIES= editors
MAINTAINER= hrs@FreeBSD.org
COMMENT= Simple TeX front-end program
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= hunspell:textproc/hunspell
LIB_DEPENDS= libhunspell-1.7.so:textproc/hunspell \
libpoppler.so:graphics/poppler \
libpoppler-qt5.so:graphics/poppler-qt5
USES= compiler:c++11-lang cmake desktop-file-utils pkgconfig \
qt:5
USE_GITHUB= yes
GH_ACCOUNT= TeXworks
USE_QT= buildtools_build designer_build qmake_build \
core concurrent dbus gui linguisttools script \
scripttools uitools widgets xml
USE_TEX= synctex
USE_LDCONFIG= yes
CMAKE_ARGS= -DTeXworks_DIC_DIR:PATH=${LOCALBASE}/share/hunspell \
-DTeXworks_DOCS_DIR:PATH=${DOCSDIR_REL} \
-DTeXworks_HELP_DIR:PATH=${DOCSDIR_REL} \
-DTeXworks_MAN_DIR:PATH=man/man1
PORTDOCS= *
PLIST_FILES= bin/texworks \
man/man1/texworks.1.gz \
share/appdata/texworks.appdata.xml \
share/applications/texworks.desktop \
share/pixmaps/TeXworks.png
OPTIONS_DEFINE= DOCS LUA PYTHON
LUA_USES= lua
LUA_CMAKE_BOOL= WITH_LUA
LUA_PLIST_FILES= lib/texworks/libTWLuaPlugin.so
PYTHON_USES= python:3.4+
PYTHON_CMAKE_BOOL= WITH_PYTHON
PYTHON_PLIST_FILES= lib/texworks/libTWPythonPlugin.so
.include <bsd.port.mk>