aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/dspdfviewer/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/dspdfviewer/Makefile')
-rw-r--r--graphics/dspdfviewer/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/graphics/dspdfviewer/Makefile b/graphics/dspdfviewer/Makefile
new file mode 100644
index 000000000000..842df9e3c87d
--- /dev/null
+++ b/graphics/dspdfviewer/Makefile
@@ -0,0 +1,36 @@
+# $FreeBSD$
+
+PORTNAME= dspdfviewer
+PORTVERSION= 1.15.1
+CATEGORIES= graphics
+
+MAINTAINER= santhosh.raju@gmail.com
+COMMENT= Dual-screen PDF viewer for LaTeX-beamer
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+LIB_DEPENDS= libpoppler-qt5.so:graphics/poppler-qt5 \
+ libboost_program_options.so:devel/boost-libs
+
+BUILD_WRKSRC= ${WRKSRC}/build
+CONFIGURE_WRKSRC= ${WRKSRC}/build
+INSTALL_WRKSRC= ${WRKSRC}/build
+
+USES= cmake pkgconfig
+USE_QT5= buildtools_build core gui qmake_build linguisttools widgets xml
+CMAKE_ARGS= -DPOPPLER_LIBRARIES=${LOCALBASE}/lib/libpoppler-qt5.so -DBuildTests=OFF
+USE_LDCONFIG= yes
+
+CMAKE_VERBOSE= yes
+
+USE_GITHUB= yes
+GH_ACCOUNT= dannyedel
+GH_PROJECT= dspdfviewer
+GH_TAGNAME= v1.15.1
+
+PLIST_FILES= bin/dspdfviewer \
+ share/applications/dspdfviewer.desktop \
+ share/man/man1/dspdfviewer.1
+
+.include <bsd.port.mk>