[143419] trunk/dports/textproc/po4a/Portfile

mojca at macports.org mojca at macports.org
Sat Dec 12 10:51:48 PST 2015


Revision: 143419
          https://trac.macports.org/changeset/143419
Author:   mojca at macports.org
Date:     2015-12-12 02:09:32 -0800 (Sat, 12 Dec 2015)
Log Message:
-----------
po4a: upgrade to 0.47, switch to perl5.22 using the perl5 portgroup (#48365)

Modified Paths:
--------------
    trunk/dports/textproc/po4a/Portfile

Modified: trunk/dports/textproc/po4a/Portfile
===================================================================
--- trunk/dports/textproc/po4a/Portfile	2015-12-12 10:09:23 UTC (rev 143418)
+++ trunk/dports/textproc/po4a/Portfile	2015-12-12 10:09:32 UTC (rev 143419)
@@ -5,9 +5,9 @@
 PortGroup           perl5 1.0
 
 name                po4a
-version             0.45
-set download_id     3942
-set perlversion     5.16
+version             0.47
+set download_id     4142
+perl5.branches      5.22
 
 categories          textproc
 platforms           darwin
@@ -23,25 +23,25 @@
 homepage            http://po4a.alioth.debian.org/
 master_sites        https://alioth.debian.org/frs/download.php/file/${download_id}/
 
-checksums           rmd160 b2cf67d430363181d1cce93c50e9f25edc7db98b \
-                    sha256 f5f47db85b48893d87d921152c96082233975bd0e0a9ee14f58c07d7dff81678
+checksums           rmd160  cb5bb7dd96cbedcd9641285da63dd826ba6d38d3 \
+                    sha256  5010e1b7df1115cbd475f46587fc05fefc97301f9bba0c2f15106005ca017507
 
-depends_lib-append  port:perl${perlversion} \
-                    port:p${perlversion}-text-wrapi18n \
-                    port:p${perlversion}-term-readkey \
-                    port:p${perlversion}-sgmlspm \
-                    port:p${perlversion}-unicode-linebreak \
-                    port:p${perlversion}-locale-gettext
+depends_lib-append  port:perl${perl5.major} \
+                    port:p${perl5.major}-text-wrapi18n \
+                    port:p${perl5.major}-term-readkey \
+                    port:p${perl5.major}-sgmlspm \
+                    port:p${perl5.major}-unicode-linebreak \
+                    port:p${perl5.major}-locale-gettext
 
 configure.args      "installdirs=core --config cc=\"${configure.cc}\" --config ld=\"${configure.cc}\""
 perl5.use_module_build
-configure.cmd       perl${perlversion}
-build.cmd           perl${perlversion}
-destroot.cmd        perl${perlversion}
+configure.cmd       ${perl5.bin}
+build.cmd           ${perl5.bin}
+destroot.cmd        ${perl5.bin}
 
 post-destroot {
     # Make sure all binaries use the correct MacPorts-provided perl version
-    reinplace -W ${destroot}${prefix}/bin "s|#! /usr/bin/env perl|#! ${prefix}/bin/perl${perlversion}|" \
+    reinplace -W ${destroot}${prefix}/bin "s|#! /usr/bin/env perl|#!${perl5.bin}|" \
         msguntypot \
         po4a \
         po4a-gettextize \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/2e0f6982/attachment.html>


More information about the macports-changes mailing list