Modified: trunk/dports/perl/p5-sgmlspm/Portfile (144339 => 144340)
--- trunk/dports/perl/p5-sgmlspm/Portfile 2016-01-06 22:02:07 UTC (rev 144339)
+++ trunk/dports/perl/p5-sgmlspm/Portfile 2016-01-06 22:11:02 UTC (rev 144340)
@@ -6,6 +6,7 @@
perl5.branches 5.16 5.18 5.20 5.22
perl5.setup SGMLSpm 1.1 ../by-authors/id/R/RA/RAAB
+revision 1
platforms darwin
license GPL-2
maintainers gmail.com:tlockhart1976 openmaintainer
@@ -24,4 +25,9 @@
supported_archs noarch
perl5.use_module_build
+
+ patchfiles patch-sgmlspl.diff
+ post-patch {
+ file rename ${worksrcpath}/script/sgmlspl.pl ${worksrcpath}/script/sgmlspl
+ }
}
Added: trunk/dports/perl/p5-sgmlspm/files/patch-sgmlspl.diff (0 => 144340)
--- trunk/dports/perl/p5-sgmlspm/files/patch-sgmlspl.diff (rev 0)
+++ trunk/dports/perl/p5-sgmlspm/files/patch-sgmlspl.diff 2016-01-06 22:11:02 UTC (rev 144340)
@@ -0,0 +1,21 @@
+--- Build.PL.orig
++++ Build.PL
+@@ -11,7 +11,7 @@ my $build = Module::Build->new
+ dist_author => "David Megginson",
+ dist_abstract => "a perl5 class library for parsing the output from James Clark's SGMLS and NSGMLS parsers.",
+ create_makefile_pl => 'traditional',
+- script_files => [ qw(script/sgmlspl.pl) ]
++ script_files => [ qw(script/sgmlspl) ]
+ );
+
+ $build->add_build_element('pl');
+--- MANIFEST.orig
++++ MANIFEST
+@@ -67,6 +67,6 @@ MANIFEST.SKIP
+ META.yml
+ MYMETA.yml
+ README
+-script/sgmlspl.pl
++script/sgmlspl
+ t/test-SGMLS.pl
+ TODO