[143413] trunk/dports/mail/perfect_maildir/Portfile

mojca at macports.org mojca at macports.org
Sat Dec 12 10:50:16 PST 2015


Revision: 143413
          https://trac.macports.org/changeset/143413
Author:   mojca at macports.org
Date:     2015-12-12 01:48:11 -0800 (Sat, 12 Dec 2015)
Log Message:
-----------
perfect_maildir: switch to perl5.22 using the perl5 portgroup (#48365), checksums, dependencies are runtime

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

Modified: trunk/dports/mail/perfect_maildir/Portfile
===================================================================
--- trunk/dports/mail/perfect_maildir/Portfile	2015-12-12 09:41:02 UTC (rev 143412)
+++ trunk/dports/mail/perfect_maildir/Portfile	2015-12-12 09:48:11 UTC (rev 143413)
@@ -1,10 +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
+PortGroup           perl5 1.0
 
 name                perfect_maildir
 version             0.3
-revision            2
+revision            3
 categories          mail
 platforms           darwin
 supported_archs     noarch
@@ -15,21 +17,23 @@
 
 homepage            http://perfectmaildir.home-dn.net/
 master_sites        ${homepage}/${name}/
-checksums           md5 a5e52b2c12ded8e5670db7e46bfaebb1 \
-                    sha1 6e0beadfcefe232fd89dbed2d3a5f2e454421ff7 \
-                    rmd160 f076ea65732d1c49996f68c19956aa33b2eaaed3
+checksums           rmd160  f076ea65732d1c49996f68c19956aa33b2eaaed3 \
+                    sha256  e053602aacffee6f871d0610c0b6329bb8af6c915e4a6d80fde880b052ee7109
+
 distfiles           ${name}.pl
 
-depends_lib         port:perl5.16 \
-                    port:p5.16-timedate
+perl5.branches      5.22
 
+depends_run         port:perl${perl5.major} \
+                    port:p${perl5.major}-timedate
+
 extract {
     file mkdir ${worksrcpath}
     file copy ${distpath}/${distfiles} ${worksrcpath}
 }
 
 patch {
-    reinplace "s|/usr/bin/perl|${prefix}/bin/perl5.16|g" ${worksrcpath}/${name}.pl
+    reinplace "s|/usr/bin/perl|${perl5.bin}|g" ${worksrcpath}/${name}.pl
 }
 
 use_configure       no
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/52b9276a/attachment.html>


More information about the macports-changes mailing list