Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Sep 2019 03:03:33 +0000 (UTC)
From:      Santhosh Raju <fox@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r510917 - head/graphics/dspdfviewer
Message-ID:  <201909030303.x8333XEn062416@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: fox
Date: Tue Sep  3 03:03:33 2019
New Revision: 510917
URL: https://svnweb.freebsd.org/changeset/ports/510917

Log:
  graphics/dspdfviewer: Makefile cleanup
  
  - Cleans up the Makefile by running portlint(1) and portfmt(1).
  - Updates the MAINTAINER email.
  
  PR:		239991
  Approved by:	philip (mentor)

Modified:
  head/graphics/dspdfviewer/Makefile

Modified: head/graphics/dspdfviewer/Makefile
==============================================================================
--- head/graphics/dspdfviewer/Makefile	Tue Sep  3 02:56:40 2019	(r510916)
+++ head/graphics/dspdfviewer/Makefile	Tue Sep  3 03:03:33 2019	(r510917)
@@ -2,34 +2,36 @@
 
 PORTNAME=	dspdfviewer
 PORTVERSION=	1.15.1
-DISTVERSIONPREFIX=v
+DISTVERSIONPREFIX=	v
 PORTREVISION=	19
 CATEGORIES=	graphics
 
-MAINTAINER=	santhosh.raju@gmail.com
+MAINTAINER=	fox@FreeBSD.org
 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
+LIB_DEPENDS=	libboost_program_options.so:devel/boost-libs \
+		libpoppler-qt5.so:graphics/poppler-qt5
 
-BUILD_WRKSRC=		${WRKSRC}/build
-CONFIGURE_WRKSRC=	${WRKSRC}/build
-INSTALL_WRKSRC=		${WRKSRC}/build
-
 USES=		cmake:insource pkgconfig qt:5
-USE_QT=		buildtools_build core gui qmake_build linguisttools widgets xml
-CMAKE_ARGS=	-DPOPPLER_LIBRARIES=${LOCALBASE}/lib/libpoppler-qt5.so -DBuildTests=OFF
+USE_QT=		core gui linguisttools widgets xml buildtools_build qmake_build
 USE_LDCONFIG=	yes
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	dannyedel
 
+BUILD_WRKSRC=		${WRKSRC}/build
+CONFIGURE_WRKSRC=	${WRKSRC}/build
+INSTALL_WRKSRC=		${WRKSRC}/build
+
+CMAKE_ARGS=	-DBuildTests=OFF \
+		-DPOPPLER_LIBRARIES=${LOCALBASE}/lib/libpoppler-qt5.so
+
 PLIST_FILES=	bin/dspdfviewer \
-		share/applications/dspdfviewer.desktop \
-		man/man1/dspdfviewer.1.gz
+		man/man1/dspdfviewer.1.gz \
+		share/applications/dspdfviewer.desktop
 
 .include <bsd.port.pre.mk>
 
@@ -43,7 +45,7 @@ CFLAGS+=	-Wno-error=zero-as-null-pointer-constant
 
 # Fixes build failure for Clang 8.0.0
 .if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1300014
-CFLAGS+=       -Wno-error=extra-semi-stmt
+CFLAGS+=	-Wno-error=extra-semi-stmt
 .endif
 
 CFLAGS+=	-Wno-error=redundant-parens



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909030303.x8333XEn062416>