[143391] trunk/dports/mail/muttprint/Portfile

mojca at macports.org mojca at macports.org
Sat Dec 12 09:47:17 PST 2015


Revision: 143391
          https://trac.macports.org/changeset/143391
Author:   mojca at macports.org
Date:     2015-12-11 15:19:23 -0800 (Fri, 11 Dec 2015)
Log Message:
-----------
muttprint: switch to p5.22 using the perl5 portgroup (#48365)

Modified Paths:
--------------
    trunk/dports/mail/muttprint/Portfile

Modified: trunk/dports/mail/muttprint/Portfile
===================================================================
--- trunk/dports/mail/muttprint/Portfile	2015-12-11 23:15:28 UTC (rev 143390)
+++ trunk/dports/mail/muttprint/Portfile	2015-12-11 23:19:23 UTC (rev 143391)
@@ -2,20 +2,20 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           perl5 1.0
 
 name                muttprint
 version             0.72d
-revision            2
-set perl_version    5.16
+revision            3
+perl5.branches      5.22
 categories          mail
 license             GPL-2
 maintainers         nomaintainer
 platforms           darwin
 
 description         pretty printing of your mails
-long_description    \
-    Muttprint formats the output of mail clients to a good-looking \
-    printing using the typesetting system LaTeX.
+long_description    Muttprint formats the output of mail clients to a good-looking \
+                    printing using the typesetting system LaTeX.
 
 homepage            http://muttprint.sourceforge.net
 master_sites        sourceforge:project/muttprint/muttprint/muttprint-${version}
@@ -24,13 +24,13 @@
                     sha256  a2672950739c26c83777b6842e3500e145e8bcdd8552ec14e2d90ab4d43c2bc8
 
 depends_lib         port:dialog \
-                    port:p${perl_version}-text-iconv
+                    port:p${perl5.major}-text-iconv
 
 use_configure       no
 
 destroot {
     file mkdir ${destroot}${prefix}/bin ${destroot}${prefix}/share/man/man1
     xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin
-    reinplace "s|#!/usr/bin/perl|#!${prefix}/bin/perl${perl_version}|" ${destroot}${prefix}/bin/${name}
+    reinplace "s|#!/usr/bin/perl|#!${perl5.bin}|" ${destroot}${prefix}/bin/${name}
     xinstall -m 0644 ${worksrcpath}/doc/manpages/en/muttprint.1.gz ${destroot}${prefix}/share/man/man1
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/a1c1ebdf/attachment-0001.html>


More information about the macports-changes mailing list