aboutsummaryrefslogtreecommitdiff
path: root/converters/pdf2djvu
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-09-19 12:48:57 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-09-19 12:48:57 +0000
commiteb5deb022870156cfb0e21d2b23364445e8aea3e (patch)
treed5a6a9e5c84c827e116adcc0730a5f7311193dbf /converters/pdf2djvu
parent9c0f48e129cb9b4d252e9adcc0e9e463940e7b1d (diff)
downloadports-eb5deb022870156cfb0e21d2b23364445e8aea3e.tar.gz
ports-eb5deb022870156cfb0e21d2b23364445e8aea3e.zip
Notes
Diffstat (limited to 'converters/pdf2djvu')
-rw-r--r--converters/pdf2djvu/Makefile5
-rw-r--r--converters/pdf2djvu/distinfo6
-rw-r--r--converters/pdf2djvu/files/patch-configure8
3 files changed, 10 insertions, 9 deletions
diff --git a/converters/pdf2djvu/Makefile b/converters/pdf2djvu/Makefile
index f3eba38db94a..dc6b66241b39 100644
--- a/converters/pdf2djvu/Makefile
+++ b/converters/pdf2djvu/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= pdf2djvu
-PORTVERSION= 0.5.10
+PORTVERSION= 0.5.11
CATEGORIES= converters
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
DISTNAME= ${PORTNAME}_${PORTVERSION}${EXTRACT_SUFFIX}
@@ -19,7 +19,8 @@ LIB_DEPENDS= poppler.4:${PORTSDIR}/graphics/poppler
LIB_DEPENDS+= djvulibre.22:${PORTSDIR}/graphics/djvulibre-nox11
GNU_CONFIGURE= yes
-CONFIGURE_ENV= LIBS=${PTHREAD_LIBS}
+CONFIGURE_ENV= LIBS=${PTHREAD_LIBS} \
+ CPPFLAGS=-I${LOCALBASE}/include
USE_GMAKE= yes
PLIST_FILES= bin/pdf2djvu
diff --git a/converters/pdf2djvu/distinfo b/converters/pdf2djvu/distinfo
index f531bbd2826f..a8d80c5c1232 100644
--- a/converters/pdf2djvu/distinfo
+++ b/converters/pdf2djvu/distinfo
@@ -1,3 +1,3 @@
-MD5 (pdf2djvu_0.5.10.tar.gz) = 83f43a712a7c560d484045c3e791b104
-SHA256 (pdf2djvu_0.5.10.tar.gz) = dde12c8f4af0c7cc78eef28fcc810b055ca1c74761786bce482a307a9b1dce70
-SIZE (pdf2djvu_0.5.10.tar.gz) = 213490
+MD5 (pdf2djvu_0.5.11.tar.gz) = a9f99c1e755c9f3b5136de235c6851ff
+SHA256 (pdf2djvu_0.5.11.tar.gz) = 6e57f5be61e2274db2aaa78e2a18dff8ddc0fb5e107287bf87fc1270513f66ab
+SIZE (pdf2djvu_0.5.11.tar.gz) = 223827
diff --git a/converters/pdf2djvu/files/patch-configure b/converters/pdf2djvu/files/patch-configure
index 38ea1c8e1387..44d5a4fdf098 100644
--- a/converters/pdf2djvu/files/patch-configure
+++ b/converters/pdf2djvu/files/patch-configure
@@ -1,6 +1,6 @@
---- configure.orig 2009-07-12 12:59:06.000000000 +0200
-+++ configure 2009-07-26 09:04:22.000000000 +0200
-@@ -2971,9 +2971,9 @@
+--- configure.orig 2009-07-31 17:17:53.000000000 +0200
++++ configure 2009-08-19 20:28:26.000000000 +0200
+@@ -2993,9 +2993,9 @@
printf 'P1 3 3 0 0 0 0 0 0 0 0 0 0' > conftest.458086.pbm
"$djvulibre_bin_path/cjb2" conftest.458086.pbm conftest.458086.p1.djvu
"$djvulibre_bin_path/cjb2" conftest.458086.pbm conftest.458086.p2.djvu
@@ -13,7 +13,7 @@
printf '(bookmarks ("" ""))' > conftest.458086.outline
"$djvulibre_bin_path/djvused" -s -e 'set-outline conftest.458086.outline' conftest.458086.djvu
if ! "$djvulibre_bin_path/djvused" -e print-outline conftest.458086.djvu | grep '(bookmarks' > /dev/null
-@@ -3173,7 +3173,7 @@
+@@ -3170,7 +3170,7 @@
fi