summaryrefslogtreecommitdiff
path: root/graphics/pdfpc/Makefile
blob: 91767f1693a117cd87631ca7761dc7acaaee54d5 (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=	pdfpc
DISTVERSION=	4.6.0
CATEGORIES=	graphics
DISTVERSIONPREFIX=	v
PORTREVISION=	5

MAINTAINER=	bapt@FreeBSD.org
COMMENT=	Keynote-like multi-monitor presentation viewer
WWW=		https://pdfpc.github.io/

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/LICENSE.txt

BUILD_DEPENDS=	${LOCALBASE}/lib/libmarkdown.a:textproc/discount
LIB_DEPENDS=	libgee-0.8.so:devel/libgee \
		libharfbuzz.so:print/harfbuzz \
		libjson-glib-1.0.so:devel/json-glib \
		libmarkdown.so:textproc/discount \
		libpoppler-glib.so:graphics/poppler-glib \
		libqrencode.so:graphics/libqrencode \
		libsoup-2.4.so:devel/libsoup \
		libwebkit2gtk-4.0.so:www/webkit2-gtk3

USES=		cmake compiler:c11 gnome gstreamer pkgconfig vala:build xorg
USE_GNOME=	cairo gdkpixbuf2 gtk30
USE_XORG=	x11

USE_GITHUB=	yes

CMAKE_ARGS=	-DMANDIR:STRING="man/"

post-install:
	@${MV} ${STAGEDIR}${PREFIX}/etc/pdfpcrc \
		${STAGEDIR}${PREFIX}/etc/pdfpcrc.sample

.include <bsd.port.mk>