Ticket #50220: sgmlspm-remove-pl.diff

File sgmlspm-remove-pl.diff, 1.4 KB (added by mojca (Mojca Miklavec), 9 years ago)

A patch to remove .pl from sgmlspl

  • Portfile

     
    66
    77perl5.branches      5.16 5.18 5.20 5.22
    88perl5.setup         SGMLSpm 1.1 ../by-authors/id/R/RA/RAAB
     9revision            1
    910platforms           darwin
    1011license             GPL-2
    1112maintainers         gmail.com:tlockhart1976 openmaintainer
     
    2425
    2526    supported_archs noarch
    2627    perl5.use_module_build
     28
     29    patchfiles      patch-sgmlspl.diff
     30    post-patch {
     31        file rename ${worksrcpath}/script/sgmlspl.pl ${worksrcpath}/script/sgmlspl
     32    }
    2733}
  • files/patch-sgmlspl.diff

     
     1--- Build.PL.orig
     2+++ Build.PL
     3@@ -11,7 +11,7 @@ my $build = Module::Build->new
     4   dist_author => "David Megginson",
     5   dist_abstract => "a perl5 class library for parsing the output from James Clark's SGMLS and NSGMLS parsers.",
     6   create_makefile_pl => 'traditional',
     7-  script_files =>  [ qw(script/sgmlspl.pl) ]
     8+  script_files =>  [ qw(script/sgmlspl) ]
     9  );
     10 
     11 $build->add_build_element('pl');
     12--- MANIFEST.orig
     13+++ MANIFEST
     14@@ -67,6 +67,6 @@ MANIFEST.SKIP
     15 META.yml
     16 MYMETA.yml
     17 README
     18-script/sgmlspl.pl
     19+script/sgmlspl
     20 t/test-SGMLS.pl
     21 TODO