Revision: 139461 https://trac.macports.org/changeset/139461 Author: ionic@macports.org Date: 2015-08-17 15:59:22 -0700 (Mon, 17 Aug 2015) Log Message: ----------- wml: use perl5 PortGroup, add automatic perl variants, depend generically upon perl modules and insert patch to fix POD incompatibilities. Patch provided via private eMail. Affects: #48365. Modified Paths: -------------- trunk/dports/www/wml/Portfile Added Paths: ----------- trunk/dports/www/wml/files/patch-pod-encoding.diff Modified: trunk/dports/www/wml/Portfile =================================================================== --- trunk/dports/www/wml/Portfile 2015-08-17 22:58:47 UTC (rev 139460) +++ trunk/dports/www/wml/Portfile 2015-08-17 22:59:22 UTC (rev 139461) @@ -1,11 +1,12 @@ # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ -PortSystem 1.0 +PortSystem 1.0 +PortGroup perl5 1.0 name wml version 2.0.11 -revision 5 +revision 6 platforms darwin categories www lang maintainers cfaerber.name:cfaerber \ @@ -20,6 +21,11 @@ master_sites http://thewml.org/distrib/ \ ftp://thewml.org/distrib/ +perl5.require_variant yes +perl5.conflict_variants yes +perl5.branches 5.16 5.18 5.20 5.22 +perl5.create_variants ${perl5.branches} + checksums rmd160 fead82a35d116447b860d7b1c506c6de187355e8 \ sha256 8e11ef19ea67ff9c4b28ff0fcacf5098881ac0c5f09ddfe3abc29f1e12be5d4a @@ -28,6 +34,7 @@ patchfiles patch-configure.diff \ patch-Makefile.in.diff \ patch-wml_frontend-wml.src.diff \ + patch-pod-encoding.diff \ patch-no_eperl.diff \ patch-no_gm4.diff \ patch-no_tidy.diff \ @@ -40,15 +47,15 @@ depends_lib port:gdbm \ port:gettext \ port:libiconv \ - port:p5.16-getopt-long \ - port:p5.16-bit-vector \ - port:p5.16-image-size \ - port:p5.16-io \ - port:p5.16-term-readkey + port:p${perl5.major}-getopt-long \ + port:p${perl5.major}-bit-vector \ + port:p${perl5.major}-image-size \ + port:p${perl5.major}-io \ + port:p${perl5.major}-term-readkey depends_build port:lynx -configure.args --with-perl=${prefix}/bin/perl5.16 \ +configure.args --with-perl="${perl5.bin}" \ --without-modules \ --with-openworld \ --with-cc=${configure.cc} Added: trunk/dports/www/wml/files/patch-pod-encoding.diff =================================================================== --- trunk/dports/www/wml/files/patch-pod-encoding.diff (rev 0) +++ trunk/dports/www/wml/files/patch-pod-encoding.diff 2015-08-17 22:59:22 UTC (rev 139461) @@ -0,0 +1,76 @@ +--- wml-2.0.11/wml_aux/freetable/freetable.src ++++ wml-2.0.11/wml_aux/freetable/freetable.src +@@ -219,6 +219,8 @@ + + ##EOF## + ++=encoding iso-8859-1 ++ + =head1 NAME + + freetable - tool for making HTML tables generation easier +--- wml-2.0.11/wml_backend/p2_mp4h/doc/pod.out ++++ wml-2.0.11/wml_backend/p2_mp4h/doc/pod.out +@@ -1,4 +1,5 @@ + ++=encoding iso-8859-1 + ;;; + ;;; Sectioning + ;;; +--- wml-2.0.11/wml_backend/p6_asubst/asubst.src ++++ wml-2.0.11/wml_backend/p6_asubst/asubst.src +@@ -265,6 +265,8 @@ + ##EOF## + __END__ + ++=encoding iso-8859-1 ++ + =head1 NAME + + asubst - Area Substitution +--- wml-2.0.11/wml_docs/wml_intro.pod ++++ wml-2.0.11/wml_docs/wml_intro.pod +@@ -3,6 +3,8 @@ + ## Copyright (c) 1997 Ralf S. Engelschall, All Rights Reserved. + ## + ++=encoding iso-8859-1 ++ + =head1 NAME + + WML Introduction - An introduction to WML's basic concepts +diff -Nur wml-2.0.11/wml_docs/wml_tutorial.pod wml_docs/wml_tutorial.pod +--- wml-2.0.11/wml_docs/wml_tutorial.pod ++++ wml-2.0.11/wml_docs/wml_tutorial.pod +@@ -3,6 +3,8 @@ + ## Copyright (c) 1997 Ralf S. Engelschall, All Rights Reserved. + ## + ++=encoding iso-8859-1 ++ + =head1 NAME + + WML Tutorial - Understanding WML step-by-step +--- wml-2.0.11/wml_include/des/typography.src ++++ wml-2.0.11/wml_include/des/typography.src +@@ -270,6 +270,8 @@ + ##EOF## + __END__ + ++=encoding iso-8859-1 ++ + =head1 NAME + + wml::des::typography - Typography +--- wml-2.0.11/wml_include/fmt/isolatin.src ++++ wml-2.0.11/wml_include/fmt/isolatin.src +@@ -117,6 +117,8 @@ + ##EOF## + __END__ + ++=encoding iso8859-1 ++ + =head1 NAME + + wml::fmt::isolatin - ISO-Latin-1 to HTML Entity Conversion +
participants (1)
-
ionic@macports.org