Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / print / qpdfview / Makefile
blobadd8fc05fd5e0a1761c65e8b5c4fe60a3e0e023d
1 # $NetBSD: Makefile,v 1.8 2013/04/06 14:22:41 rodent Exp $
4 VER= 0.4
5 DISTNAME= qpdfview-${VER}
6 PKGREVISION= 2
7 CATEGORIES= print
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
13 LICENSE= gnu-gpl-v2
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.
17 FETCH_USING= curl
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
28 USE_LANGUAGES= c c++
29 USE_TOOLS+= pkg-config
30 USE_LIBTOOL= yes
32 do-configure:
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"