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.