# -*- 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 PortGroup perl5 1.0 name ftpsync version 1.3.04 revision 4 categories net platforms darwin license GPL-2 maintainers mww openmaintainer description Synchronizes a local and a remote ftp directory tree long_description ${description} homepage https://www.clazzes.org/projects/ftpsync/ master_sites http://download.clazzes.org/ftpsync/ checksums rmd160 3e0f3eda07b26a427ec7e87194fd56ee51d7ae66 \ sha256 9e750833a37dd37cdb320f8baa1347810ae35da0497dace0a9bf68182e447faf supported_archs noarch perl5.branches 5.24 depends_run port:p${perl5.major}-net \ port:p${perl5.major}-libwww-perl use_bzip2 yes configure { reinplace "s|/usr/bin/perl|${perl5.bin}|1" ${worksrcpath}/ftpsync.pl } build {} destroot { xinstall -m 755 ${worksrcpath}/ftpsync.pl ${destroot}${prefix}/bin ln -s ftpsync.pl ${destroot}${prefix}/bin/ftpsync xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name} xinstall -m 0444 -W ${worksrcpath} COPYING Changes README TODO \ ${destroot}${prefix}/share/doc/${name} } livecheck.type regex livecheck.url http://download.clazzes.org/ftpsync/ livecheck.regex ${name}-(\[0-9\\.\]+).tar.bz2