summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2012-05-22 15:46:54 +0000
committermarino <marino@pkgsrc.org>2012-05-22 15:46:54 +0000
commitf1f7c8fc6881aa55a054e11cb5d5a8b53eb9b3f7 (patch)
tree832b46f0fa0695756be77d9f0796e81a511f59e1 /print
parent1e73a9adfa4ba72d9a47d6aa9a51850b9054fa8d (diff)
downloadpkgsrc-f1f7c8fc6881aa55a054e11cb5d5a8b53eb9b3f7.tar.gz
print/foomatic4-db-engine: Fix man page generation on DragonFly(+)
The perl man page generation script has an unnecessary file type check that causes no man pages to be generated on DragonFly and possibly other platforms. After properly identifying the template file, it checks to see if it's type nroff, troff, or groff. On DragonFly it is type "ASCII". Just skip the check completely, the templates were extracted from the verified tarball.
Diffstat (limited to 'print')
-rw-r--r--print/foomatic4-db-engine/distinfo3
-rw-r--r--print/foomatic4-db-engine/patches/patch-makeMan.in13
2 files changed, 15 insertions, 1 deletions
diff --git a/print/foomatic4-db-engine/distinfo b/print/foomatic4-db-engine/distinfo
index dc4b5a4c19a..5fdd3a6feea 100644
--- a/print/foomatic4-db-engine/distinfo
+++ b/print/foomatic4-db-engine/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2012/01/26 11:53:50 drochner Exp $
+$NetBSD: distinfo,v 1.5 2012/05/22 15:46:54 marino Exp $
SHA1 (foomatic-db-engine-4.0.8.tar.gz) = e47f5ee9b9256077f70b5ecf2481dfbce416d97a
RMD160 (foomatic-db-engine-4.0.8.tar.gz) = 56523835ba5de0e5bdb37b78529775334e96ad76
Size (foomatic-db-engine-4.0.8.tar.gz) = 354578 bytes
SHA1 (patch-aa) = 12954938f5678c74c2a5663ca8faf7e58329796e
+SHA1 (patch-makeMan.in) = 1beb5dbd5e288660a374e035e52b51fb80b9cc61
diff --git a/print/foomatic4-db-engine/patches/patch-makeMan.in b/print/foomatic4-db-engine/patches/patch-makeMan.in
new file mode 100644
index 00000000000..a1feef714ee
--- /dev/null
+++ b/print/foomatic4-db-engine/patches/patch-makeMan.in
@@ -0,0 +1,13 @@
+$NetBSD: patch-makeMan.in,v 1.1 2012/05/22 15:46:55 marino Exp $
+
+--- makeMan.in.orig 2011-07-25 09:51:20.000000000 +0000
++++ makeMan.in
+@@ -31,8 +31,6 @@ foreach my $file (@files)
+ $append = "discard\n";
+ next unless -f $file and $file =~ /^(.*\.[1-9])\.in$/;
+ my ($man) = $1;
+- next unless ((`file $file` =~ m/\b[ntg]roff\b/) or
+- (`file $file` =~ m/\[nt\]roff/));
+ print STDERR "MATCHED\n" if $VERBOSE;
+ $append = '';
+ open IN, "<$file" or (warn "Can't read input file $file!" and next FILE);