aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/girara/Makefile
blob: 533f5b0ef22aaf6f664823aaacb652b175462b25 (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
31
32
33
34
35
36
PORTNAME=	girara
PORTVERSION=	0.4.2
CATEGORIES=	x11-toolkits graphics
MASTER_SITES=	https://pwmt.org/projects/girara/download/

MAINTAINER=	madpilot@FreeBSD.org
COMMENT=	GTK3 Interface Library for Zathura PDF Viewer
WWW=		https://pwmt.org/projects/girara/

USES=		compiler:c11 gnome meson pathfix pkgconfig tar:xz
USE_GNOME=	cairo glib20 gtk30
USE_LDCONFIG=	yes
MESON_ARGS=	-Ddocs=disabled -Dtests=disabled

PATHFIX_MAKEFILEIN=	Makefile
LIBDIR=			${PREFIX}/lib

OPTIONS_DEFINE=		JSON NLS NOTIFY
OPTIONS_DEFAULT=	NOTIFY
JSON_DESC=		Support json configuration dump

OPTIONS_SUB=		yes

JSON_LIB_DEPENDS=	libjson-glib-1.0.so:devel/json-glib
JSON_MESON_ENABLED=	json

NLS_USES=		gettext

NOTIFY_LIB_DEPENDS=	libnotify.so:devel/libnotify
NOTIFY_MESON_ENABLED=	notify

post-patch-NLS-off: .SILENT
	${REINPLACE_CMD} -e "/subdir('po')/d" \
		${WRKSRC}/meson.build

.include <bsd.port.mk>