[144343] trunk/dports/textproc/docbook-utils/Portfile

mojca at macports.org mojca at macports.org
Wed Jan 6 14:37:16 PST 2016


Revision: 144343
          https://trac.macports.org/changeset/144343
Author:   mojca at macports.org
Date:     2016-01-06 14:37:15 -0800 (Wed, 06 Jan 2016)
Log Message:
-----------
docbook-utils: switch to perl5.22 (#48365), fix path to sgmlspl (#50219)

Modified Paths:
--------------
    trunk/dports/textproc/docbook-utils/Portfile

Modified: trunk/dports/textproc/docbook-utils/Portfile
===================================================================
--- trunk/dports/textproc/docbook-utils/Portfile	2016-01-06 22:32:54 UTC (rev 144342)
+++ trunk/dports/textproc/docbook-utils/Portfile	2016-01-06 22:37:15 UTC (rev 144343)
@@ -2,10 +2,11 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           perl5 1.0
 
 name                docbook-utils
 version             0.6.14
-revision            2
+revision            3
 categories          textproc
 platforms           darwin
 license             GPL-2+
@@ -27,7 +28,7 @@
 conflicts           docbook2X
 
 depends_lib         port:sgml-common \
-                    port:p5.16-sgmlspm \
+                    port:p${perl5.major}-sgmlspm \
                     port:openjade \
                     port:docbook-dsssl \
                     port:docbook-sgml-4.2
@@ -70,6 +71,10 @@
         ${worksrcpath}/bin/sgmldiff.in \
         ${worksrcpath}/doc/man/Makefile.in \
         ${worksrcpath}/doc/HTML/Makefile.in
+    reinplace -W ${worksrcpath} "s|sgmlspl|sgmlspl-${perl5.major}|g" \
+        backends/man.in \
+        backends/texi.in \
+        doc/man/Makefile.in
 
     # Update content to docbook-4.x since we do not have 3.x available in MacPorts
     reinplace "s|V3.1|V4.2|" ${worksrcpath}/doc/docbook-utils.sgml
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160106/5b5929ae/attachment.html>


More information about the macports-changes mailing list