aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-11-24 09:32:58 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-11-24 09:32:58 +0000
commitc1e98c96256f8c282af784a950a5976e50534d94 (patch)
tree1b64867bd587e8bd55000506a44d15e375fdfbc9 /graphics
parent0099088662267dd431722ae4200efc632879f581 (diff)
downloadports-c1e98c96256f8c282af784a950a5976e50534d94.tar.gz
ports-c1e98c96256f8c282af784a950a5976e50534d94.zip
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/tiff/Makefile3
-rw-r--r--graphics/tiff/files/patch-man_tiffcrop.110
2 files changed, 13 insertions, 0 deletions
diff --git a/graphics/tiff/Makefile b/graphics/tiff/Makefile
index 3ff5c6776972..c368033305c8 100644
--- a/graphics/tiff/Makefile
+++ b/graphics/tiff/Makefile
@@ -97,6 +97,9 @@ __pmlinks3!= ${ECHO_CMD} '${MLNKS:S/ / /}' | ${AWK} \
} }'
.endif
+post-patch:
+ @${REINPLACE_CMD} "/\.po 0/d" ${WRKSRC}/man/*
+
pre-configure:
${REINPLACE_CMD} \
-e 's|^LIBTIFF_VERSION_INFO =.*$$|LIBTIFF_VERSION_INFO = 4:0:0|' \
diff --git a/graphics/tiff/files/patch-man_tiffcrop.1 b/graphics/tiff/files/patch-man_tiffcrop.1
new file mode 100644
index 000000000000..12ff4a1f5e70
--- /dev/null
+++ b/graphics/tiff/files/patch-man_tiffcrop.1
@@ -0,0 +1,10 @@
+--- man/tiffcrop.1.orig 2010-12-14 01:45:44 UTC
++++ man/tiffcrop.1
+@@ -496,7 +496,6 @@ the portrait or landscape option. The pa
+ the image. It breaks each original image into a series of smaller images
+ that will fit on the target paper size at the specified resolution.
+ .fi
+-.RE
+ .PP
+ Extract two regions 2048 pixels wide by 2048 pixels high from each page of
+ a multi\-page input file and write each region to a separate output file.