# $Id: Portfile 30179 2007-10-22 18:03:03Z mww@macports.org $ PortSystem 1.0 name rsnapshot version 1.3.0 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 b05c8332aa693559389f8e2b8700566c2b3f96ee depends_lib port:rsync \ bin:perl:perl5.8 \ bin:ssh:openssh configure.args --mandir=${prefix}/share/man \ --with-rsync=${prefix}/bin/rsync 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 } }