[144025] trunk/dports/perl/p5-sgmlspm/Portfile

devans at macports.org devans at macports.org
Tue Dec 29 21:46:48 PST 2015


Revision: 144025
          https://trac.macports.org/changeset/144025
Author:   devans at macports.org
Date:     2015-12-29 21:46:48 -0800 (Tue, 29 Dec 2015)
Log Message:
-----------
p5-sgmlspm: update to version 1.1, correct license, now uses perl module build, includes patches from debian.

Modified Paths:
--------------
    trunk/dports/perl/p5-sgmlspm/Portfile

Modified: trunk/dports/perl/p5-sgmlspm/Portfile
===================================================================
--- trunk/dports/perl/p5-sgmlspm/Portfile	2015-12-30 05:09:06 UTC (rev 144024)
+++ trunk/dports/perl/p5-sgmlspm/Portfile	2015-12-30 05:46:48 UTC (rev 144025)
@@ -5,43 +5,23 @@
 PortGroup           perl5 1.0
 
 perl5.branches      5.16 5.18 5.20 5.22
-perl5.setup         SGMLSpm 1.03ii
-# version needs to be set because of a bug in the perl5 portgroup that cannot handle characters in the version number.
-# See #43727 <http://trac.macports.org/ticket/43727>.
-version             1.03ii.0
-revision            2
+perl5.setup         SGMLSpm 1.1 ../by-authors/id/R/RA/RAAB
 platforms           darwin
-license             GPL-2+
+license             GPL-2
 maintainers         gmail.com:tlockhart1976 openmaintainer
-supported_archs     noarch
 
 description         Convert SGML, HTML, or XML documents into new formats.
 long_description    Perl programs can use the SGMLSpm module to help convert \
                     SGML, HTML or XML documents into new formats.
 
-homepage            http://search.cpan.org/dist/SGMLSpm/
-master_sites        http://search.cpan.org/CPAN/authors/id/D/DM/DMEGG/
+checksums           rmd160  30a66405f0740dbfe530d3874371c33faff93a82 \
+                    sha256  550c9245291c8df2242f7e88f7921a0f636c7eec92c644418e7d89cfea70b2bd
 
-checksums           rmd160  919963150640d4c1a2a52439cd0d985c52c71bb3 \
-                    sha256  f06895c0206dada9f9e7f07ecaeb6a3651fd648f4820f49c1f76bfeaec2f2913
-
-depends_lib-append  port:openjade \
+if {${perl5.major} != ""} {
+    depends_lib-append \
+                    port:openjade \
                     port:opensp
 
-worksrcdir          ${perl5.module}
-
-if {${perl5.major} != ""} {
-    patchfiles      patch-Makefile.diff
-
-    post-patch {
-        reinplace "s|__MP_PERL__|${perl5.bin}|" ${worksrcpath}/Makefile
-        reinplace "s|__MP_BINDIR__|${destroot}${perl5.bindir}|" ${worksrcpath}/Makefile
-        reinplace "s|__MP_PERL5DIR__|${destroot}${perl5.lib}|" ${worksrcpath}/Makefile
-        reinplace "s|__MP_HTMLDIR__|${destroot}${prefix}/share/doc/${subport}|" ${worksrcpath}/Makefile
-    }
-
-    use_configure   no
-    build {}
-    
-    destroot.target install
+    supported_archs noarch
+    perl5.use_module_build
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151229/dbb42ac9/attachment.html>


More information about the macports-changes mailing list