blob: 7d7ce2e8b2744604eedd051407845ef016b8781a (
plain)
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
|
# $NetBSD: Makefile,v 1.12 2019/08/22 12:23:43 ryoon Exp $
DISTNAME= dspdfviewer-1.15.1
PKGREVISION= 11
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_GITHUB:=dannyedel/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= fox@NetBSD.org
HOMEPAGE= http://dspdfviewer.danny-edel.de/
COMMENT= Dual-Screen PDF Viewer for latex-beamer
LICENSE= gnu-gpl-v2
DEPENDS+= qt5-qttools>=5.5.1:../../x11/qt5-qttools
USE_LANGUAGES= c c++
USE_TOOLS+= pkg-config
USE_CMAKE= yes
CMAKE_ARGS+= -DBuildTests=OFF
CONFIGURE_DIRS= build
CMAKE_ARG_PATH= ..
BUILD_MAKE_FLAGS+= VERBOSE=1
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "FreeBSD"
CFLAGS+= -Wno-error=undefined-func-template
.endif
pre-configure:
mkdir -p ${WRKSRC}/build
.include "../../devel/boost-libs/buildlink3.mk"
.include "../../x11/qt5-qtbase/buildlink3.mk"
BUILDLINK_API_DEPENDS.poppler-qt5+= poppler-qt5>=0.50.0
.include "../../print/poppler-qt5/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|