blob: 481313cb4270059076be09563b6c8b17a81f6a35 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
PORTNAME= sioyek
DISTVERSIONPREFIX= v
DISTVERSION= 2.0.0
PORTREVISION= 1
CATEGORIES= print
MAINTAINER= fuz@FreeBSD.org
COMMENT= PDF viewer with focus on technical books and research papers
WWW= https://sioyek.info
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libmupdf.so:graphics/mupdf \
libharfbuzz.so:print/harfbuzz \
libfreetype.so:print/freetype2 \
libjbig2dec.so:graphics/jbig2dec \
libmujs.so:lang/mujs \
libopenjp2.so:graphics/openjpeg
USES= desktop-file-utils jpeg gl qmake qt:5 sqlite
USE_GITHUB= yes
GH_ACCOUNT= ahrm
USE_GL= gl
USE_QT= 3d buildtools:build core gui network opengl widgets
post-extract:
.for f in sqlite3.h sqlite3ext.h sqlite3.c shell.c
${RM} ${WRKSRC}/pdf_viewer/$f
.endfor
pre-configure:
${REINPLACE_CMD} -e 's,%%ETCDIR%%,${ETCDIR},' \
-e 's,%%DATADIR%%,${DATADIR},' ${WRKSRC}/pdf_viewer/main.cpp
post-install:
.for f in keys prefs
${MV} ${STAGEDIR}${ETCDIR}/$f.config ${STAGEDIR}${ETCDIR}/$f.config.sample
.endfor
.include <bsd.port.mk>
|