source: trunk/dports/net/ftpsync/Portfile

Last change on this file was 154085, checked in by mojca@…, 11 months ago

ftpsync: switch to perl5.24 (#52081)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# -*- 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
2# $Id: Portfile 154085 2016-10-20 02:44:09Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           perl5 1.0
6
7name                ftpsync
8version             1.3.04
9revision            4
10categories          net
11platforms           darwin
12license             GPL-2
13maintainers         mww openmaintainer
14description         Synchronizes a local and a remote ftp directory tree
15long_description    ${description}
16
17homepage            https://www.clazzes.org/projects/ftpsync/
18master_sites        http://download.clazzes.org/ftpsync/
19
20checksums           rmd160  3e0f3eda07b26a427ec7e87194fd56ee51d7ae66 \
21                    sha256  9e750833a37dd37cdb320f8baa1347810ae35da0497dace0a9bf68182e447faf
22
23supported_archs     noarch
24
25perl5.branches      5.24
26depends_run         port:p${perl5.major}-net \
27                    port:p${perl5.major}-libwww-perl
28
29use_bzip2           yes
30
31configure {
32    reinplace "s|/usr/bin/perl|${perl5.bin}|1" ${worksrcpath}/ftpsync.pl
33}
34
35build {}
36
37destroot {
38    xinstall -m 755 ${worksrcpath}/ftpsync.pl ${destroot}${prefix}/bin
39    ln -s ftpsync.pl ${destroot}${prefix}/bin/ftpsync
40    xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
41    xinstall -m 0444 -W ${worksrcpath} COPYING Changes README TODO \
42        ${destroot}${prefix}/share/doc/${name}
43}
44
45livecheck.type      regex
46livecheck.url       http://download.clazzes.org/ftpsync/
47livecheck.regex     ${name}-(\[0-9\\.\]+).tar.bz2
Note: See TracBrowser for help on using the repository browser.