aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/girara/Makefile
blob: 2b0cca7190f44f6efcfd4023f7e41c4f3b911d69 (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
37
# Created by: Mike Krutov <neko@takino.org>
# $FreeBSD$

PORTNAME=   girara
PORTVERSION=    0.3.3
CATEGORIES= x11-toolkits graphics
MASTER_SITES=   https://pwmt.org/projects/girara/download/ \
        http://www.madpilot.net/~mad/pwmt.org/

MAINTAINER= madpilot@FreeBSD.org
COMMENT=    GTK3 Interface Library for Zathura PDF Viewer

USES=       compiler:c11 gnome meson pathfix pkgconfig tar:xz
PATHFIX_MAKEFILEIN= Makefile
USE_GNOME=  cairo gdkpixbuf2 glib20 gtk30
USE_LDCONFIG=   yes
LIBDIR=     ${PREFIX}/lib

OPTIONS_DEFINE=     JSONC NLS NOTIFY
OPTIONS_DEFAULT=    NOTIFY
JSONC_DESC=     Support json configuration dump

OPTIONS_SUB=        yes

JSONC_LIB_DEPENDS=  libjson-c.so:devel/json-c
JSONC_MESON_TRUE=   enable-json

NLS_USES=       gettext

NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify
NOTIFY_MESON_TRUE=  enable-notify

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

.include <bsd.port.mk>