1 | # $Id: Portfile 30207 2007-10-22 21:08:10Z jmpp@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup python25 1.0 |
---|
5 | name rdiff-backup-devel |
---|
6 | version 1.1.15 |
---|
7 | categories-append net sysutils |
---|
8 | maintainers blair openmaintainer |
---|
9 | |
---|
10 | description Backs up to remote directories using librsync |
---|
11 | long_description rdiff-backup backs up one directory to another, \ |
---|
12 | possibly over a network. The target directory ends \ |
---|
13 | up a copy of the source directory, but extra reverse \ |
---|
14 | diffs are stored in a special subdirectory of that \ |
---|
15 | target directory, so you can still recover files \ |
---|
16 | lost some time ago. The idea is to combine the best \ |
---|
17 | features of a mirror and an incremental backup. \ |
---|
18 | rdiff-backup also preserves subdirectories, hard \ |
---|
19 | links, dev files, permissions, uid/gid ownership, \ |
---|
20 | and modification times. Also, rdiff-backup can \ |
---|
21 | operate in a bandwidth efficient manner over a pipe, \ |
---|
22 | like rsync. Thus you can use rdiff-backup and ssh to \ |
---|
23 | securely back a hard drive up to a remote location, \ |
---|
24 | and only the differences will be transmitted. \ |
---|
25 | Finally, rdiff-backup is easy to use and settings \ |
---|
26 | have sensical defaults. |
---|
27 | homepage http://www.nongnu.org/rdiff-backup/ |
---|
28 | master_sites http://savannah.nongnu.org/download/rdiff-backup/ |
---|
29 | distname rdiff-backup-${version} |
---|
30 | |
---|
31 | checksums md5 7c3dfae289d0f4dea3647ae2831c46c7 |
---|
32 | |
---|
33 | platforms darwin |
---|
34 | |
---|
35 | depends_lib-append lib:librsync:librsync \ |
---|
36 | port:py25-hashlib \ |
---|
37 | port:py25-zlib \ |
---|
38 | port:py-xattr |
---|
39 | |
---|
40 | patchfiles patch-setup.py \ |
---|
41 | patch-rdiff-backup.1 |
---|
42 | |
---|
43 | post-patch { |
---|
44 | reinplace "s|@PREFIX@|${prefix}|" ${worksrcpath}/rdiff-backup.1 |
---|
45 | } |
---|
46 | |
---|
47 | build.args --librsync-dir=${prefix} |
---|