pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

dspdfviewer: simplify, and fix fetch stage.



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Sun May 14 17:10:12 2017 +0200
Changeset:	2905d06276159c9c4618c8ae13a4c5fa47abf7c1

Modified Files:
	dspdfviewer/Makefile

Log Message:
dspdfviewer: simplify, and fix fetch stage.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2905d06276159c9c4618c8ae13a4c5fa47abf7c1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 dspdfviewer/Makefile | 21 ++++++---------------
 1 file changed, 6 insertions(+), 15 deletions(-)

diffs:
diff --git a/dspdfviewer/Makefile b/dspdfviewer/Makefile
index a646d0717e..84aa9e7e5b 100644
--- a/dspdfviewer/Makefile
+++ b/dspdfviewer/Makefile
@@ -3,37 +3,28 @@
 DISTNAME=	dspdfviewer-1.15.1
 CATEGORIES=	print
 MASTER_SITES=	${MASTER_SITE_GITHUB:=dannyedel/}
+GITHUB_TAG=	v${PKGVERSION_NOREV}
 
 MAINTAINER=	santhosh.raju%gmail.com@localhost
 HOMEPAGE=	http://dspdfviewer.danny-edel.de/
 COMMENT=	Dual-Screen PDF Viewer for latex-beamer
 LICENSE=	gnu-gpl-v2
 
-GITHUB_TAG=	v${VERSION}
-
-WRKSRC=		${WRKDIR}/${DISTNAME}
-CONFIGURE_DIRS=	build
-BUILD_DIRS=	build
+DEPENDS+=	qt5-qttools>=5.5.1:../../x11/qt5-qttools
 
 USE_LANGUAGES=	c c++
-USE_TOOLS+=	cmake pkg-config
+USE_TOOLS+=	pkg-config
 USE_CMAKE=	yes
 CMAKE_ARGS+=	-DBuildTests=OFF
-CMAKE_ARG_PATH=	${WRKSRC}/build
+CONFIGURE_DIRS=	build
+CMAKE_ARG_PATH=	..
 BUILD_MAKE_FLAGS+= VERBOSE=1
 
-DEPENDS+=	qt5-qttools>=5.5.1:../../x11/qt5-qttools
-
-BUILDLINK_API_DEPENDS.boost-libs+=	boost-libs>=1.63
-BUILDLINK_API_DEPENDS.poppler-qt5+=	poppler-qt5>=0.50.0
-
 pre-configure:
 	mkdir -p ${WRKSRC}/build
 
-do-configure:
-	cd ${WRKSRC}/build && cmake .. ${CMAKE_ARGS}
-
 .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"


Home | Main Index | Thread Index | Old Index