From bb8b4f38d67d52a13b84dfb249267583fa8ac1d2 Mon Sep 17 00:00:00 2001 From: minskim Date: Thu, 27 Oct 2011 18:05:13 +0000 Subject: 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. --- graphics/tex-pdfcrop/patches/patch-bin_pdfcrop | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 graphics/tex-pdfcrop/patches/patch-bin_pdfcrop (limited to 'graphics/tex-pdfcrop/patches') 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; -- cgit v1.2.3