aboutsummaryrefslogtreecommitdiff
path: root/graphics/zathura-cb/Makefile
blob: 1e626b2f4d4883be24744e8443ff621f24f29312 (plain) (blame)
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
PORTNAME=	zathura-cb
DISTVERSION=	0.1.10
CATEGORIES=	graphics
MASTER_SITES=	https://git.pwmt.org/pwmt/${PORTNAME}/-/archive/${DISTVERSION}/

MAINTAINER=	eduardo@FreeBSD.org
COMMENT=	Comic book plugin for Zathura PDF viewer
WWW=		https://pwmt.org/projects/zathura-cb/

LICENSE=	ZLIB
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	zathura:graphics/zathura
LIB_DEPENDS=	libgirara-gtk3.so:x11-toolkits/girara
RUN_DEPENDS=	zathura:graphics/zathura

# testing without USES=ssl
USES=		compiler:c11 desktop-file-utils gnome libarchive meson ninja \
		pkgconfig
USE_GNOME=	cairo gdkpixbuf2 glib20 gtk30
USE_LDCONFIG=	yes

PLIST_FILES=	lib/zathura/libcb.so \
		share/appdata/org.pwmt.zathura-cb.metainfo.xml \
		share/applications/org.pwmt.zathura-cb.desktop

pre-configure:
	${REINPLACE_CMD} "s:join_paths(datadir, 'metainfo'):join_paths(datadir, 'appdata'):" ${WRKSRC}/meson.build

.include <bsd.port.mk>