summaryrefslogtreecommitdiff
path: root/print/diffpdf
diff options
context:
space:
mode:
authordrochner <drochner>2010-05-20 17:19:15 +0000
committerdrochner <drochner>2010-05-20 17:19:15 +0000
commit418a742845a59cd8d880f813a53a61b24f69981c (patch)
tree5aa5ac9f817070b1df74ce23b039d23754b7237a /print/diffpdf
parent3046f3fe5af55fe9b28fd47434bbb72b39cc91f4 (diff)
downloadpkgsrc-418a742845a59cd8d880f813a53a61b24f69981c.tar.gz
add diffpdf-1.0.0, a tool to compare PDF files
Diffstat (limited to 'print/diffpdf')
-rw-r--r--print/diffpdf/DESCR5
-rw-r--r--print/diffpdf/Makefile29
-rw-r--r--print/diffpdf/PLIST3
-rw-r--r--print/diffpdf/distinfo6
-rw-r--r--print/diffpdf/patches/patch-aa10
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