# -*- 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 rsnapshot version 1.4.1 revision 1 perl5.branches 5.24 categories sysutils net platforms darwin maintainers mww license GPL-2 description filesystem snapshot utility based on rsync long_description rsnapshot is a filesystem snapshot utility based on \ rsync. It makes it easy to make periodic snapshots of \ local machines, and remote machines over SSH. The code \ makes extensive use of hard links whenever possible, \ to greatly reduce the disk space required. homepage http://www.rsnapshot.org/ master_sites ${homepage}/downloads/ checksums sha1 d9f6d3266fbfec706f6d3dcbbc415978297b5023 \ rmd160 430289adc2680083e83810d1411b684622e074e5 \ sha256 fb4a1129a7d3805c41749fd0494debfe2ca2341eba0f8b50e4f54985efe448e8 depends_lib port:p${perl5.major}-lchown \ port:rsync \ bin:ssh:openssh \ configure.args --mandir=${prefix}/share/man \ --with-rsync=${prefix}/bin/rsync \ --with-perl=${perl5.bin} test.run yes post-destroot { xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}/examples xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog INSTALL.md \ README.md ${destroot}${prefix}/share/doc/${name} system "cp -R ${worksrcpath}/utils/* \ ${destroot}${prefix}/share/doc/${name}/examples" } post-activate { if {![file exists ${prefix}/etc/rsnapshot.conf]} { xinstall -m 644 ${prefix}/etc/rsnapshot.conf.default \ ${prefix}/etc/rsnapshot.conf } }