pkgsrc/print/qpdfview/Makefile
2021-04-21 13:24:06 +00:00

35 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.99 2021/04/21 13:25:17 adam Exp $
DISTNAME= qpdfview-0.4.18
PKGREVISION= 17
CATEGORIES= print
MASTER_SITES= https://launchpad.net/qpdfview/trunk/${PKGVERSION_NOREV}/+download/
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= https://launchpad.net/qpdfview
COMMENT= Tabbed PDF viewer
LICENSE= gnu-gpl-v2
DEPENDS+= poppler-data-[0-9]*:../../print/poppler-data
USE_LANGUAGES= c c++
USE_TOOLS+= pkg-config
USE_LIBTOOL= yes
INSTALL_MAKE_FLAGS+= INSTALL_ROOT=${DESTDIR}
do-configure:
cd ${WRKSRC} && env ${CONFIGURE_ENV} PKGMANDIR=${PKGMANDIR} \
${QTDIR}/bin/qmake qpdfview.pro
.include "../../graphics/djvulibre-lib/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../graphics/librsvg/buildlink3.mk"
.include "../../print/libcups/buildlink3.mk"
.include "../../print/libspectre/buildlink3.mk"
.include "../../print/poppler-qt5/buildlink3.mk"
.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../x11/qt5-qtsvg/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../sysutils/file/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"