From ChangeLog: https://sigil-ebook.com/2020/11/21/sigil-1-4-2-critical-fix-release/ Bug Fixes Since Sigil-1.4.0: * critical bug fix for incorrectly xml encoding of opf metadata attributes that use entities * fix bug in "Add Existing" files when file names would require percent encoding * fix bug in multiple language spellchecking dialog word lookup when no language attributes used * update de, nl, sv, ko, ru translations that missed the Sigil 1.4.0 initial release * critical bug fix for over xml encoding html used inside metadata in the opf * revert ctrl-f to it long standing Find and Replace behaviour If you are using either Sigil-1.4.0 or Sigil-1.4.1, we strongly urge you to upgrade to Sigil-1.4.2. PR: 251322 Submitted by: jonc@chen.org.nz (maintainer)
47 lines
1.3 KiB
Makefile
47 lines
1.3 KiB
Makefile
# Created by: Jonathan Chen <jonc@chen.org.nz>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= sigil
|
|
PORTVERSION= 1.4.2
|
|
CATEGORIES= textproc
|
|
|
|
MAINTAINER= jonc@chen.org.nz
|
|
COMMENT= WYSIWYG ePub editor
|
|
|
|
LICENSE= GPLv3+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING.txt
|
|
|
|
LIB_DEPENDS= libminizip.so:archivers/minizip \
|
|
libpcre.so:devel/pcre \
|
|
libhunspell-1.7.so:textproc/hunspell
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dulwich>=0.15.0:devel/dulwich@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR}
|
|
|
|
USES= cmake compiler:c++11-lib desktop-file-utils \
|
|
pkgconfig python:3.4+ qt:5 shebangfix
|
|
|
|
SHEBANG_FILES= src/Resource_Files/plugin_launchers/python/*.py \
|
|
src/Resource_Files/python3lib/*.py
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= Sigil-Ebook
|
|
GH_PROJECT= Sigil
|
|
|
|
USE_LDCONFIG= ${PREFIX}/lib/sigil
|
|
|
|
USE_QT= concurrent core declarative gui location network printsupport \
|
|
svg webchannel webengine widgets xml xmlpatterns \
|
|
buildtools_build linguisttools_build qmake_build \
|
|
imageformats_run
|
|
|
|
CMAKE_ARGS= -DUSE_SYSTEM_LIBS:BOOL=1
|
|
|
|
# Upstream uses pkg-config output to pass libhunspell-1.7.so and
|
|
# libpcre16.so to the linker. pkg-config output does not include full
|
|
# paths, so add a workaround to keep the port linking for now.
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/sigil/*.so
|
|
|
|
.include <bsd.port.mk>
|