[123809] trunk/dports/mail/imapsync/Portfile

mojca at macports.org mojca at macports.org
Thu Aug 14 14:36:48 PDT 2014


Revision: 123809
          https://trac.macports.org/changeset/123809
Author:   mojca at macports.org
Date:     2014-08-14 14:36:48 -0700 (Thu, 14 Aug 2014)
Log Message:
-----------
imapsync: status line, add variable perl_version

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

Modified: trunk/dports/mail/imapsync/Portfile
===================================================================
--- trunk/dports/mail/imapsync/Portfile	2014-08-14 21:32:50 UTC (rev 123808)
+++ trunk/dports/mail/imapsync/Portfile	2014-08-14 21:36:48 UTC (rev 123809)
@@ -1,6 +1,7 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
-PortSystem 1.0
+PortSystem          1.0
 
 name                imapsync
 version             1.592
@@ -20,20 +21,21 @@
 checksums           rmd160  77654a29d8d270e16406cc1b22cca0f2c5f2188f \
                     sha256  dd359a5b871dd278fbb39ba0c087576e97af1d746c49a104bc00a533b463ab64
 
-depends_run         port:perl5.12 \
-                    port:p5.12-digest-md5 \
-                    port:p5.12-mail-imapclient \
-                    port:p5.12-term-readkey \
-                    port:p5.12-io-socket-ssl \
-                    port:p5.12-io-tee \
-                    port:p5.12-datemanip \
-                    port:p5.12-digest-hmac \
-                    port:p5.12-file-copy-recursive
+set perl_version    5.12
+depends_run         port:perl${perl_version} \
+                    port:p${perl_version}-digest-md5 \
+                    port:p${perl_version}-mail-imapclient \
+                    port:p${perl_version}-term-readkey \
+                    port:p${perl_version}-io-socket-ssl \
+                    port:p${perl_version}-io-tee \
+                    port:p${perl_version}-datemanip \
+                    port:p${perl_version}-digest-hmac \
+                    port:p${perl_version}-file-copy-recursive
 
 supported_archs     noarch
 
 post-patch {
-    reinplace -locale C "s|^#!.*|#!${prefix}/bin/perl5.12|g" ${worksrcpath}/imapsync
+    reinplace -locale C "s|^#!.*|#!${prefix}/bin/perl${perl_version}|g" ${worksrcpath}/imapsync
 }
 
 use_configure       no
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140814/5f92a415/attachment.html>


More information about the macports-changes mailing list