Index: head/graphics/dspdfviewer/Makefile =================================================================== --- head/graphics/dspdfviewer/Makefile (revision 439744) +++ head/graphics/dspdfviewer/Makefile (revision 439745) @@ -1,33 +1,42 @@ # $FreeBSD$ PORTNAME= dspdfviewer PORTVERSION= 1.15.1 DISTVERSIONPREFIX=v +PORTREVISION= 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 +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 USE_GITHUB= yes GH_ACCOUNT= dannyedel PLIST_FILES= bin/dspdfviewer \ share/applications/dspdfviewer.desktop \ - share/man/man1/dspdfviewer.1 + man/man1/dspdfviewer.1.gz -.include +.include + +# Build fails with LLVM 4.0. Reported upstream as #191: +# https://github.com/dannyedel/dspdfviewer/issues/191 +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200023 +CFLAGS+= -Wno-error=undefined-func-template +.endif + +.include Index: head/graphics/dspdfviewer/files/patch-CMakeLists.txt =================================================================== --- head/graphics/dspdfviewer/files/patch-CMakeLists.txt (nonexistent) +++ head/graphics/dspdfviewer/files/patch-CMakeLists.txt (revision 439745) @@ -0,0 +1,11 @@ +--- CMakeLists.txt.orig 2017-04-20 08:58:09 UTC ++++ CMakeLists.txt +@@ -95,7 +95,7 @@ install(TARGETS dspdfviewer + RUNTIME DESTINATION bin) + + install(FILES docs/dspdfviewer.1 +- DESTINATION share/man/man1) ++ DESTINATION man/man1) + + install(FILES dspdfviewer.desktop + DESTINATION share/applications) Property changes on: head/graphics/dspdfviewer/files/patch-CMakeLists.txt ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property