44 lines
1.3 KiB
Makefile
44 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.8 2013/04/06 14:22:41 rodent Exp $
|
|
#
|
|
|
|
VER= 0.4
|
|
DISTNAME= qpdfview-${VER}
|
|
PKGREVISION= 1
|
|
CATEGORIES= print
|
|
MASTER_SITES= https://launchpad.net/qpdfview/trunk/${VER}/+download/
|
|
|
|
MAINTAINER= ryoon@NetBSD.org
|
|
HOMEPAGE= https://launchpad.net/qpdfview
|
|
COMMENT= Tabbed PDF viewer
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
# Force using "curl" for fetching the distribution file. It is only available
|
|
# over HTTPS and "curl" is the only fetch program which always supports HTTPS.
|
|
FETCH_USING= curl
|
|
|
|
DEPENDS+= poppler-data-[0-9]*:../../print/poppler-data
|
|
DEPENDS+= qt4-sqlite3-[0-9]*:../../x11/qt4-sqlite3
|
|
|
|
SUBST_CLASSES+= prefix
|
|
SUBST_STAGE.prefix= pre-configure
|
|
SUBST_MESSAGE.prefix= Fix install path
|
|
SUBST_FILES.prefix+= qpdfview.pri
|
|
SUBST_VARS.prefix+= DESTDIR PREFIX PKGMANDIR
|
|
|
|
USE_LANGUAGES= c c++
|
|
USE_TOOLS+= pkg-config
|
|
USE_LIBTOOL= yes
|
|
|
|
do-configure:
|
|
cd ${WRKSRC} && QTDIR=${QTDIR} \
|
|
${QTDIR}/bin/qmake qpdfview.pro
|
|
|
|
.include "../../graphics/djvulibre-lib/buildlink3.mk"
|
|
.include "../../print/cups/buildlink3.mk"
|
|
.include "../../print/libspectre/buildlink3.mk"
|
|
.include "../../print/poppler-qt4/buildlink3.mk"
|
|
.include "../../x11/qt4-libs/buildlink3.mk"
|
|
.include "../../x11/qt4-qdbus/buildlink3.mk"
|
|
.include "../../x11/qt4-tools/buildlink3.mk"
|
|
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|