aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/zathura-pdf-poppler/Makefile
blob: 151df131c4040c76aefe33bd1bed81d20d0a3c3b (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
# Created by: Mike Krutov <neko@takino.org>
# $FreeBSD$

PORTNAME=   zathura-pdf-poppler
PORTVERSION=    0.2.6
PORTREVISION=   1
CATEGORIES= graphics
MASTER_SITES=   http://pwmt.org/projects/zathura/plugins/download/

MAINTAINER= mike.d.ft402@gmail.com
COMMENT=    Poppler render PDF plugin for Zathura PDF viewer

LICENSE=    zlib
LICENSE_NAME=   zlib license
LICENSE_FILE=   ${WRKSRC}/LICENSE
LICENSE_PERMS=  dist-mirror pkg-mirror auto-accept

LIB_DEPENDS=    libpoppler-glib.so:${PORTSDIR}/graphics/poppler-glib
BUILD_DEPENDS=  zathura:${PORTSDIR}/graphics/zathura
RUN_DEPENDS=    zathura:${PORTSDIR}/graphics/zathura

USE_GNOME=  glib20 gtk30
USES=       compiler:c11 desktop-file-utils gmake pkgconfig

CONFLICTS=  zathura-pdf-mupdf-[0-9]*

PLIST_FILES=    lib/zathura/pdf.so \
        share/appdata/zathura-pdf-poppler.metainfo.xml \
        share/applications/zathura-pdf-poppler.desktop

post-install:
    ${STRIP_CMD} ${STAGEDIR}${LOCALBASE}/lib/zathura/pdf.so

.include <bsd.port.mk>