diff options
author | drochner <drochner@pkgsrc.org> | 2010-05-20 17:19:15 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2010-05-20 17:19:15 +0000 |
commit | e55879e4fd54bd913b717be5e13320342e8e1914 (patch) | |
tree | 5aa5ac9f817070b1df74ce23b039d23754b7237a /print/diffpdf | |
parent | 22d14234fc3f2977c48481e18912320620dcee28 (diff) | |
download | pkgsrc-e55879e4fd54bd913b717be5e13320342e8e1914.tar.gz |
add diffpdf-1.0.0, a tool to compare PDF files
Diffstat (limited to 'print/diffpdf')
-rw-r--r-- | print/diffpdf/DESCR | 5 | ||||
-rw-r--r-- | print/diffpdf/Makefile | 29 | ||||
-rw-r--r-- | print/diffpdf/PLIST | 3 | ||||
-rw-r--r-- | print/diffpdf/distinfo | 6 | ||||
-rw-r--r-- | print/diffpdf/patches/patch-aa | 10 |
5 files changed, 53 insertions, 0 deletions
diff --git a/print/diffpdf/DESCR b/print/diffpdf/DESCR new file mode 100644 index 00000000000..21a8d7b759e --- /dev/null +++ b/print/diffpdf/DESCR @@ -0,0 +1,5 @@ +DiffPDF is used to compare two PDF files. By default the comparison is +of the text on each pair of pages, but comparing the appearance of pages +is also supported (for example, if a diagram is changed or a paragraph +reformatted). It is also possible to compare particular pages or page +ranges. diff --git a/print/diffpdf/Makefile b/print/diffpdf/Makefile new file mode 100644 index 00000000000..1f4b5ee3e44 --- /dev/null +++ b/print/diffpdf/Makefile @@ -0,0 +1,29 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/05/20 17:19:15 drochner Exp $ +# + +DISTNAME= diffpdf-1.0.0 +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 + +PKG_DESTDIR_SUPPORT= user-destdir + +USE_LANGUAGES= c++ +INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1 + +do-configure: + cd ${WRKSRC} && ${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-qt4/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/print/diffpdf/PLIST b/print/diffpdf/PLIST new file mode 100644 index 00000000000..fb2ad4a1276 --- /dev/null +++ b/print/diffpdf/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2010/05/20 17:19:15 drochner Exp $ +bin/diffpdf +man/man1/diffpdf.1 diff --git a/print/diffpdf/distinfo b/print/diffpdf/distinfo new file mode 100644 index 00000000000..c45673bcb54 --- /dev/null +++ b/print/diffpdf/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2010/05/20 17:19:15 drochner Exp $ + +SHA1 (diffpdf-1.0.0.tar.gz) = e25c1e58c7cd34c869c82d8e75de0ce2711167a2 +RMD160 (diffpdf-1.0.0.tar.gz) = 2584008cda6a31dafff46f0988ebcbdaaef7ceca +Size (diffpdf-1.0.0.tar.gz) = 23856 bytes +SHA1 (patch-aa) = faa2cb1bf3223f7704fb686c4b70cff4f607fde9 diff --git a/print/diffpdf/patches/patch-aa b/print/diffpdf/patches/patch-aa new file mode 100644 index 00000000000..75840e8f91e --- /dev/null +++ b/print/diffpdf/patches/patch-aa @@ -0,0 +1,10 @@ +$NetBSD: patch-aa,v 1.1.1.1 2010/05/20 17:19:15 drochner Exp $ + +--- diffpdf.pro.orig 2010-05-19 07:20:45.000000000 +0000 ++++ diffpdf.pro +@@ -9,4 +9,4 @@ SOURCES += sequence_matcher.cpp + SOURCES += main.cpp + RESOURCES += resources.qrc + LIBS += -lpoppler-qt4 +-INCLUDEPATH += /usr/include/poppler/qt4 ++INCLUDEPATH += $(LOCALBASE)/include/poppler/qt4 |