Ticket #13867: Portfile

File Portfile, 1.6 KB (added by bugmenot@…, 17 years ago)
Line 
1# $Id: Portfile 30207 2007-10-22 21:08:10Z jmpp@macports.org $
2
3PortSystem              1.0
4PortGroup               python25 1.0
5name                    rdiff-backup-devel
6version                 1.1.15
7categories-append       net sysutils
8maintainers             blair openmaintainer
9
10description             Backs up to remote directories using librsync
11long_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.
27homepage                http://www.nongnu.org/rdiff-backup/
28master_sites            http://savannah.nongnu.org/download/rdiff-backup/
29distname                rdiff-backup-${version}
30
31checksums               md5 7c3dfae289d0f4dea3647ae2831c46c7
32
33platforms               darwin
34
35depends_lib-append      lib:librsync:librsync \
36                        port:py25-hashlib \
37                        port:py25-zlib \
38                        port:py-xattr
39
40patchfiles              patch-setup.py \
41                        patch-rdiff-backup.1
42
43post-patch {
44        reinplace "s|@PREFIX@|${prefix}|" ${worksrcpath}/rdiff-backup.1
45}
46
47build.args              --librsync-dir=${prefix}