1 # $NetBSD: Makefile,v 1.8 2013/04/06 14:22:41 rodent Exp $
5 DISTNAME
= qpdfview-
${VER}
8 MASTER_SITES
= https
://launchpad.net
/qpdfview
/trunk
/${VER}/+download
/
10 MAINTAINER
= ryoon@NetBSD.org
11 HOMEPAGE
= https
://launchpad.net
/qpdfview
12 COMMENT
= Tabbed PDF viewer
15 # Force using "curl" for fetching the distribution file. It is only available
16 # over HTTPS and "curl" is the only fetch program which always supports HTTPS.
19 DEPENDS
+= poppler-data-
[0-9]*:..
/..
/print/poppler-data
20 DEPENDS
+= qt4-sqlite3-
[0-9]*:..
/..
/x11
/qt4-sqlite3
22 SUBST_CLASSES
+= prefix
23 SUBST_STAGE.
prefix= pre-configure
24 SUBST_MESSAGE.
prefix= Fix
install path
25 SUBST_FILES.
prefix+= qpdfview.pri
26 SUBST_VARS.
prefix+= DESTDIR PREFIX PKGMANDIR
29 USE_TOOLS
+= pkg-config
33 cd
${WRKSRC} && QTDIR
=${QTDIR} \
34 ${QTDIR}/bin
/qmake qpdfview.pro
36 .
include "../../graphics/djvulibre-lib/buildlink3.mk"
37 .
include "../../print/cups/buildlink3.mk"
38 .
include "../../print/libspectre/buildlink3.mk"
39 .
include "../../print/poppler-qt4/buildlink3.mk"
40 .
include "../../x11/qt4-libs/buildlink3.mk"
41 .
include "../../x11/qt4-qdbus/buildlink3.mk"
42 .
include "../../x11/qt4-tools/buildlink3.mk"
43 .
include "../../sysutils/desktop-file-utils/desktopdb.mk"
44 .
include "../../mk/bsd.pkg.mk"