1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00
freebsd-ports/textproc/sigil/Makefile
Steve Wills 31cbe10c3e textproc/sigil: update to 0.9.18
PR:		240515
Submitted by:	Jonathan Chen <jonc@chen.org.nz> (maintainer)
2019-09-13 13:50:03 +00:00

47 lines
1.2 KiB
Makefile

# Created by: Jonathan Chen <jonc@chen.org.nz>
# $FreeBSD$
PORTNAME= sigil
PORTVERSION= 0.9.18
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}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_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
USE_LDCONFIG= ${PREFIX}/lib/sigil
# 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>