mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
5060d003ef
Release 0.90.0: core: * Color profile tweaks * Small signature improvements * BBoxOutputDev: Fix calculation when type3 fonts are involved * Fix potential crash when reading Forms * Fix infinite loop in broken file glib: * Fix adding annots in rotated pages * Add ability to reset forms * Several fixes to the documentation qt5: * Make it clear we require Qt 5.5 * demo: Fix crash on broken files * Small documentation improvements utils: * pdftoppm: Add option to set display profile * pdftops: Add a -rasterize option with values always, never, or whenneeded build system: * Require cmake 3.5 * More modern cmake way to link against curl PR: 247736 Exp-run by: antoine
55 lines
1.3 KiB
Makefile
55 lines
1.3 KiB
Makefile
# Created by: Diego Depaoli <trebestie@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= texworks
|
|
DISTVERSIONPREFIX= release-
|
|
DISTVERSION= 0.6.2
|
|
PORTREVISION= 19
|
|
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>
|