1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## 10_tv_pick_cgi_docfix.patch by Chris Butler <chrisb@debian.org>
4
## All lines beginning with `## DP:' are a description of the patch.
5
## DP: Altered suffixes for manpages for Debian Perl Policy,
6
## DP: Removed Lingua::EN::Numbers::Ordinate dependency not required for package
7
## DP: Added more modules to the list of manpages to generate
10
diff -urNad xmltv~/Makefile.PL xmltv/Makefile.PL
11
--- xmltv~/Makefile.PL 2008-06-21 18:13:48.000000000 +0100
12
+++ xmltv/Makefile.PL 2008-06-21 18:13:48.000000000 +0100
15
INSTALLMAN1DIR => "$location/share/man/man1",
16
INSTALLMAN3DIR => "$location/share/man/man3",
19
+ # For Debian, the scripts will get .1p and the module will get .3pm.
23
# Directory to install into when making Windows binary dist.
24
WINDOWS_DIST => "xmltv-$VERSION-win32",
29
- 'Lingua::EN::Numbers::Ordinate' => 0,
30
+ # For Debian, we ignore this package, since only the
31
+ # CGI script uses it and we don't install that.
32
+ #'Lingua::EN::Numbers::Ordinate' => 0
33
'Lingua::Preferred' => '0.2.4',
34
'Term::ProgressBar' => 2.03,
35
'Compress::Zlib' => 0,
39
for (my $inherited = shift->SUPER::manifypods(@_)) {
40
- foreach my $s (qw(Grab_XML DST Config_file Get_nice Mode Summarize Gunzip GUI Date Supplement)) {
41
+ foreach my $s (qw(Grab_XML DST Config_file Get_nice Mode Summarize Gunzip GUI Date Supplement ValidateGrabber Options Configure ValidateFile Configure::Writer Version PreferredMethod)) {
42
s!\$\(INST_MAN3DIR\)/(?:grab::|)$s[.]\$\(MAN3EXT\)!"\$(INST_MAN3DIR)/XMLTV::$s.\$(MAN3EXT)"!;
43
s!\$\(INSTALLMAN3DIR\)/$s.\$\(MAN3EXT\)!"\$(INSTALLMAN3DIR)/XMLTV::$s.\$(MAN3EXT)"!;