pkgsrc/print/diffpdf/Makefile
2012-10-08 23:00:34 +00:00

30 lines
832 B
Makefile

# $NetBSD: Makefile,v 1.28 2012/10/08 23:02:20 adam Exp $
#
DISTNAME= diffpdf-2.1.1
PKGREVISION= 5
CATEGORIES= print
MASTER_SITES= http://www.qtrac.eu/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.qtrac.eu/diffpdf.html
COMMENT= PDF comparision tool
LICENSE= gnu-gpl-v2
USE_LANGUAGES= c++
INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
do-configure:
cd ${WRKSRC} && ${QTDIR}/bin/lrelease diffpdf.pro && \
${SETENV} ${MAKE_ENV} ${QTDIR}/bin/qmake
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/diffpdf ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/diffpdf.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../x11/qt4-libs/buildlink3.mk"
.include "../../x11/qt4-tools/buildlink3.mk"
.include "../../print/poppler-cpp/buildlink3.mk"
.include "../../print/poppler-qt4/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"