[123805] trunk/dports/net/ftpsync/Portfile

mojca at macports.org mojca at macports.org
Thu Aug 14 14:23:10 PDT 2014


Revision: 123805
          https://trac.macports.org/changeset/123805
Author:   mojca at macports.org
Date:     2014-08-14 14:23:10 -0700 (Thu, 14 Aug 2014)
Log Message:
-----------
ftpsync: whitespace, sha256, add variable perl_version

Modified Paths:
--------------
    trunk/dports/net/ftpsync/Portfile

Modified: trunk/dports/net/ftpsync/Portfile
===================================================================
--- trunk/dports/net/ftpsync/Portfile	2014-08-14 21:19:34 UTC (rev 123804)
+++ trunk/dports/net/ftpsync/Portfile	2014-08-14 21:23:10 UTC (rev 123805)
@@ -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                ftpsync
 version             1.3.04
@@ -10,23 +11,24 @@
 license             GPL-2
 maintainers         mww openmaintainer
 description         Synchronizes a local and a remote ftp directory tree
+long_description    ${description}
 
-long_description    ${description}
 homepage            https://www.clazzes.org/projects/ftpsync/
 master_sites        http://download.clazzes.org/ftpsync/
 
-checksums           md5     7a34f57716be27d5fe4738e69ddb9e89 \
-                    sha1    5d814181343a62019bd8c4bb86587c9c3bf8163e \
-                    rmd160  3e0f3eda07b26a427ec7e87194fd56ee51d7ae66
+checksums           rmd160  3e0f3eda07b26a427ec7e87194fd56ee51d7ae66 \
+                    sha256  9e750833a37dd37cdb320f8baa1347810ae35da0497dace0a9bf68182e447faf
 
 supported_archs     noarch
 
-depends_run         port:p5.12-net port:p5.12-libwww-perl
+set perl_version    5.12
+depends_run         port:p${perl_version}-net \
+                    port:p${perl_version}-libwww-perl
 
 use_bzip2           yes
 
 configure {
-    reinplace "s|/usr/bin/perl|${prefix}/bin/perl5.12|1" ${worksrcpath}/ftpsync.pl
+    reinplace "s|/usr/bin/perl|${prefix}/bin/perl${perl_version}|1" ${worksrcpath}/ftpsync.pl
 }
 
 build {}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140814/f2a93365/attachment.html>


More information about the macports-changes mailing list