ddae4e92d8
Most USES use a colon for build/run(/test) suffixes. Change kde.mk, qt.mk and pyqt.mk to do the same, and update all ports using that. Document in CHANGES. PR: 266034 Exp-run by: antoine Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D36349
36 lines
946 B
Makefile
36 lines
946 B
Makefile
PORTNAME= coolreader
|
|
DISTVERSIONPREFIX= cr
|
|
DISTVERSION= 3.2.55
|
|
CATEGORIES= deskutils
|
|
|
|
MAINTAINER= mistresssilvara@hotmail.com
|
|
COMMENT= E-book reader
|
|
WWW= https://github.com/buggins/coolreader
|
|
|
|
LICENSE= GPLv2 LGPL21+ BSD2CLAUSE
|
|
LICENSE_COMB= multi
|
|
LICENSE_FILE_GPLv2= ${WRKSRC}/LICENSE
|
|
|
|
LIB_DEPENDS= libfreetype.so:print/freetype2 \
|
|
libharfbuzz.so:print/harfbuzz \
|
|
libpng.so:graphics/png \
|
|
libfribidi.so:converters/fribidi \
|
|
libunibreak.so:textproc/libunibreak \
|
|
libfontconfig.so:x11-fonts/fontconfig
|
|
|
|
USES= qt:5 cmake:noninja pkgconfig desktop-file-utils jpeg
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= buggins
|
|
|
|
USE_QT= core buildtools:build gui qmake:build widgets linguisttools:build
|
|
|
|
CMAKE_ARGS= -D GUI=QT5 -D MAX_IMAGE_SCALE_MUL=2 \
|
|
-D DOC_DATA_COMPRESSION_LEVEL=3 -D DOC_BUFFER_SIZE=0x1400000
|
|
CXXFLAGS+= -D CR_EMULATE_GETTEXT=1 \
|
|
-I${WRKSRC}/thirdparty_unman/nanosvg/src
|
|
|
|
OPTIONS_DEFINE= DOCS NLS
|
|
OPTIONS_SUB= yes
|
|
|
|
.include <bsd.port.mk>
|