summaryrefslogtreecommitdiff
path: root/graphics/tex-pdfcrop/patches
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2011-10-27 18:05:13 +0000
committerminskim <minskim@pkgsrc.org>2011-10-27 18:05:13 +0000
commitbb8b4f38d67d52a13b84dfb249267583fa8ac1d2 (patch)
tree356cfca5c4710afc6ac89276e70fc26a646bec1a /graphics/tex-pdfcrop/patches
parentff2c7b5707e29d34bcee17f8a2e23eebf69a50e8 (diff)
downloadpkgsrc-bb8b4f38d67d52a13b84dfb249267583fa8ac1d2.tar.gz
Import tex-pdfcrop-1.32 as graphics/tex-pdfcrop.
A Perl script that can either trim pages of any whitespace border, or trim them of a fixed border.
Diffstat (limited to 'graphics/tex-pdfcrop/patches')
-rw-r--r--graphics/tex-pdfcrop/patches/patch-bin_pdfcrop12
1 files changed, 12 insertions, 0 deletions
diff --git a/graphics/tex-pdfcrop/patches/patch-bin_pdfcrop b/graphics/tex-pdfcrop/patches/patch-bin_pdfcrop
new file mode 100644
index 00000000000..4afb50d22ef
--- /dev/null
+++ b/graphics/tex-pdfcrop/patches/patch-bin_pdfcrop
@@ -0,0 +1,12 @@
+$NetBSD: patch-bin_pdfcrop,v 1.1.1.1 2011/10/27 18:05:13 minskim Exp $
+
+--- bin/pdfcrop.orig 2011-10-27 17:31:01.000000000 +0000
++++ bin/pdfcrop
+@@ -118,6 +118,7 @@ $archname = 'unknown' unless defined $Co
+ # get Ghostscript command name
+ $::opt_gscmd = '';
+ sub find_ghostscript () {
++ $::opt_gscmd = "@GHOSTSCRIPT@";
+ return if $::opt_gscmd;
+ my $system = 'unix';
+ $system = "dos" if $^O =~ /dos/i;