View | Details | Raw Unified | Return to bug 228525 | Differences between
and this patch

Collapse All | Expand All

(-)graphics/zathura/Makefile (-33 / +5 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	zathura
4
PORTNAME=	zathura
5
PORTVERSION=	0.3.8
5
PORTVERSION=	0.4.0
6
CATEGORIES=	graphics print
6
CATEGORIES=	graphics print
7
MASTER_SITES=	https://pwmt.org/projects/zathura/download/ \
7
MASTER_SITES=	https://pwmt.org/projects/zathura/download/ \
8
		http://www.madpilot.net/~mad/pwmt.org/
8
		http://www.madpilot.net/~mad/pwmt.org/
Lines 16-60 Link Here
16
LIB_DEPENDS=	libcairo.so:graphics/cairo \
16
LIB_DEPENDS=	libcairo.so:graphics/cairo \
17
		libgirara-gtk3.so:x11-toolkits/girara \
17
		libgirara-gtk3.so:x11-toolkits/girara \
18
		libsynctex.so:devel/tex-synctex
18
		libsynctex.so:devel/tex-synctex
19
BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR} \
20
		${PYTHON_PKGNAMEPREFIX}sphinx_rtd_theme>0:textproc/py-sphinx_rtd_theme@${PY_FLAVOR}
19
21
20
BUILD_DEPENDS+=	rst2html:textproc/py-docutils
22
USES=		meson ninja compiler:c11 pkgconfig python tar:xz
21
22
USES=		compiler:c11 gmake pathfix pkgconfig
23
USE_GNOME=	glib20 gtk30 gdkpixbuf2
23
USE_GNOME=	glib20 gtk30 gdkpixbuf2
24
PATHFIX_MAKEFILEIN=	Makefile
25
MAKE_ENV=	SFLAGS="${STRIP}" \
26
		RSTTOMAN=${LOCALBASE}/bin/rst2man \
27
		WITH_SYNCTEX=1
28
MAKE_ARGS+=	APPDATAPREFIX=${LOCALBASE}/share/appdata
29
24
30
CPPFLAGS+=	-DWITH_SYNCTEX
31
32
OPTIONS_DEFINE=	NLS SQLITE
25
OPTIONS_DEFINE=	NLS SQLITE
33
OPTIONS_SUB=	yes
26
OPTIONS_SUB=	yes
34
27
35
SQLITE_LIB_DEPENDS=	libsqlite3.so:databases/sqlite3
28
SQLITE_LIB_DEPENDS=	libsqlite3.so:databases/sqlite3
36
SQLITE_MAKE_ENV=	WITH_SQLITE=1
29
SQLITE_MESON_ARGS_OFF=	-Denable-sqlite=false
37
SQLITE_MAKE_ENV_OFF=	WITH_SQLITE=0
38
NLS_USES=		gettext
30
NLS_USES=		gettext
39
31
40
post-patch:	.SILENT
41
	${REINPLACE_CMD} -e 's|man[15]|man/&|g' \
42
		${WRKSRC}/Makefile
43
	${REINPLACE_CMD} -e 's|PLUGINDIR ?= .*$$|PLUGINDIR ?= ${PREFIX}/lib/zathura|'\
44
		${WRKSRC}/config.mk
45
	${REINPLACE_CMD} -e '/^TPUT_AVAILABLE/d'\
46
		${WRKSRC}/colors.mk
47
	${REINPLACE_CMD} -e 's|/usr/include|${LOCALBASE}/include|' \
48
		-e 's/-lc//' \
49
		-e 's/DL_LIB /#&/' \
50
		${WRKSRC}/config.mk
51
	${REINPLACE_CMD} -e 's|/etc|${PREFIX}&|g' \
52
		${WRKSRC}/zathura/config.h \
53
		${WRKSRC}/doc/man/zathurarc.5.rst
54
	(cd ${WRKSRC}; ${RM} zathura.1 zathurarc.5)
55
56
post-patch-NLS-off: .SILENT
57
	${REINPLACE_CMD} -e '/-C po/d'\
58
		${WRKSRC}/Makefile
59
60
.include <bsd.port.mk>
32
.include <bsd.port.mk>
(-)graphics/zathura/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1514565466
1
TIMESTAMP = 1527371284
2
SHA256 (zathura-0.3.8.tar.gz) = 46bf8558f7ff12efe11bf5d19e6e223aac97126061677199d0c3d53dfcbce537
2
SHA256 (zathura-0.4.0.tar.xz) = aa629259c6ac729e90abdda1b9b51854adaa6851192f08a55e63379500541ec8
3
SIZE (zathura-0.3.8.tar.gz) = 174962
3
SIZE (zathura-0.4.0.tar.xz) = 145056
(-)graphics/zathura/pkg-plist (-3 / +5 lines)
Lines 5-17 Link Here
5
include/zathura/page.h
5
include/zathura/page.h
6
include/zathura/plugin-api.h
6
include/zathura/plugin-api.h
7
include/zathura/types.h
7
include/zathura/types.h
8
include/zathura/version.h
8
include/zathura/zathura-version.h
9
libdata/pkgconfig/zathura.pc
9
libdata/pkgconfig/zathura.pc
10
man/man1/zathura.1.gz
10
man/man1/zathura.1.gz
11
man/man5/zathurarc.5.gz
11
man/man5/zathurarc.5.gz
12
share/appdata/zathura.appdata.xml
12
share/applications/org.pwmt.zathura.desktop
13
share/applications/zathura.desktop
14
share/dbus-1/interfaces/org.pwmt.zathura.xml
13
share/dbus-1/interfaces/org.pwmt.zathura.xml
14
%%NLS%%share/icons/hicolor/128x128/apps/org.pwmt.zathura.png
15
%%NLS%%share/locale/ca/LC_MESSAGES/zathura.mo
15
%%NLS%%share/locale/ca/LC_MESSAGES/zathura.mo
16
%%NLS%%share/locale/cs/LC_MESSAGES/zathura.mo
16
%%NLS%%share/locale/cs/LC_MESSAGES/zathura.mo
17
%%NLS%%share/locale/de/LC_MESSAGES/zathura.mo
17
%%NLS%%share/locale/de/LC_MESSAGES/zathura.mo
Lines 26-31 Link Here
26
%%NLS%%share/locale/id_ID/LC_MESSAGES/zathura.mo
26
%%NLS%%share/locale/id_ID/LC_MESSAGES/zathura.mo
27
%%NLS%%share/locale/it/LC_MESSAGES/zathura.mo
27
%%NLS%%share/locale/it/LC_MESSAGES/zathura.mo
28
%%NLS%%share/locale/lt/LC_MESSAGES/zathura.mo
28
%%NLS%%share/locale/lt/LC_MESSAGES/zathura.mo
29
%%NLS%%share/locale/nl/LC_MESSAGES/zathura.mo
29
%%NLS%%share/locale/no/LC_MESSAGES/zathura.mo
30
%%NLS%%share/locale/no/LC_MESSAGES/zathura.mo
30
%%NLS%%share/locale/pl/LC_MESSAGES/zathura.mo
31
%%NLS%%share/locale/pl/LC_MESSAGES/zathura.mo
31
%%NLS%%share/locale/pt_BR/LC_MESSAGES/zathura.mo
32
%%NLS%%share/locale/pt_BR/LC_MESSAGES/zathura.mo
Lines 33-35 Link Here
33
%%NLS%%share/locale/ta_IN/LC_MESSAGES/zathura.mo
34
%%NLS%%share/locale/ta_IN/LC_MESSAGES/zathura.mo
34
%%NLS%%share/locale/tr/LC_MESSAGES/zathura.mo
35
%%NLS%%share/locale/tr/LC_MESSAGES/zathura.mo
35
%%NLS%%share/locale/uk_UA/LC_MESSAGES/zathura.mo
36
%%NLS%%share/locale/uk_UA/LC_MESSAGES/zathura.mo
37
%%NLS%%share/metainfo/org.pwmt.zathura.appdata.xml

Return to bug 228525