Ticket #23049: Portfile

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