pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/foomatic4-db-engine print/foomatic4-db-engine: F...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3d3a248b3fa3
branches:  trunk
changeset: 604071:3d3a248b3fa3
user:      marino <marino%pkgsrc.org@localhost>
date:      Tue May 22 15:46:54 2012 +0000

description:
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:

 print/foomatic4-db-engine/distinfo                 |   3 ++-
 print/foomatic4-db-engine/patches/patch-makeMan.in |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (29 lines):

diff -r 2bc210de1e66 -r 3d3a248b3fa3 print/foomatic4-db-engine/distinfo
--- a/print/foomatic4-db-engine/distinfo        Tue May 22 11:58:36 2012 +0000
+++ b/print/foomatic4-db-engine/distinfo        Tue May 22 15:46:54 2012 +0000
@@ -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 -r 2bc210de1e66 -r 3d3a248b3fa3 print/foomatic4-db-engine/patches/patch-makeMan.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/foomatic4-db-engine/patches/patch-makeMan.in        Tue May 22 15:46:54 2012 +0000
@@ -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);



Home | Main Index | Thread Index | Old Index