aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcelo Araujo <araujo@FreeBSD.org>2008-08-04 09:31:22 +0800
committerMarcelo Araujo <araujo@FreeBSD.org>2008-08-04 09:31:22 +0800
commit65d99111cc4f87683147ddc478545ccfb3e47ddb (patch)
treeb8f85d2571f1178c74aa5d166dd3a77c8f7f4d58
parent1f5a289e4870027e4962aaae91d27aa27d3125a4 (diff)
downloadfreebsd-ports-gnome-65d99111cc4f87683147ddc478545ccfb3e47ddb.tar.gz
freebsd-ports-gnome-65d99111cc4f87683147ddc478545ccfb3e47ddb.tar.zst
freebsd-ports-gnome-65d99111cc4f87683147ddc478545ccfb3e47ddb.zip
- Add an unofficial support to annotations in PDF files, this function enables
that users could mark some text in document and save it. Build this option with "WITHOUT_DRAW=yes". - Bump PORTREVISION. Submitted by: Luigi Rizzo <rizzo@iet.unipi.it> Discussed with: Derek B. Noonburg <derekn@foolabs.com>
-rw-r--r--graphics/xpdf/Makefile7
-rw-r--r--graphics/xpdf/distinfo3
2 files changed, 9 insertions, 1 deletions
diff --git a/graphics/xpdf/Makefile b/graphics/xpdf/Makefile
index 5c0d116e4399..3d620df11e4e 100644
--- a/graphics/xpdf/Makefile
+++ b/graphics/xpdf/Makefile
@@ -7,7 +7,7 @@
PORTNAME= xpdf
PORTVERSION= 3.02
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= graphics print
MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/ \
${MASTER_SITE_TEX_CTAN}
@@ -69,6 +69,11 @@ MAN1+= xpdf.1
PLIST_SUB+= X11=""
.endif
+.if defined(WITHOUT_DRAW)
+PATCH_SITES+= http://info.iet.unipi.it/~luigi/FreeBSD/
+PATCHFILES+= patch-zz-xpdf-annot.20080728a
+.endif
+
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
diff --git a/graphics/xpdf/distinfo b/graphics/xpdf/distinfo
index 75993c883f20..07db83b580cd 100644
--- a/graphics/xpdf/distinfo
+++ b/graphics/xpdf/distinfo
@@ -7,3 +7,6 @@ SIZE (xpdf-3.02pl1.patch) = 1050
MD5 (xpdf-3.02pl2.patch) = 3a5cb165ae66781e0b21e6219ae06795
SHA256 (xpdf-3.02pl2.patch) = d1c1d887b0b8a5283f04f825e44f085f2e92daf7b518889acf1bc89ea07ed9d9
SIZE (xpdf-3.02pl2.patch) = 20843
+MD5 (patch-zz-xpdf-annot.20080728a) = ddb032df9edcad1ba0ef1fb03189acd8
+SHA256 (patch-zz-xpdf-annot.20080728a) = c96308c0fb90450251a6f8a19b5436a5fd5d70b4d6af2626ba85d3c4b7300fe1
+SIZE (patch-zz-xpdf-annot.20080728a) = 69092