# $Id: Portfile 39938 2008-09-13 14:17:59Z mww@macports.org $ PortSystem 1.0 name rsnapshot version 1.3.1 categories sysutils net platforms darwin maintainers mww 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 a3aa3560dc389e1b00155a5869558522c4a29e05 depends_lib port:rsync \ port:perl5.8 \ bin:ssh:openssh configure.args --mandir=${prefix}/share/man \ --with-rsync=${prefix}/bin/rsync \ --with-perl=${prefix}/bin/perl5.8 test.run yes post-destroot { xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}/examples xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog INSTALL \ NEWS README TODO ${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 } }