Files
2020-12-09 15:01:38 +11:00

48 lines
1.6 KiB
Plaintext

PortSystem 1.0
PortGroup python 1.0
name rdiff-backup
version 1.2.8
revision 3
categories-append net sysutils
maintainers nomaintainer
platforms darwin
license GPL-2+
description rdiff-backup backs up one directory to another, possibly \
over a network.
long_description ${description}
homepage https://rdiff-backup.net/
master_sites savannah
distname rdiff-backup-${version}
checksums rmd160 f7fb7a894afe17b495611a3738c85263ae72b2b5 \
sha256 0d91a85b40949116fa8aaf15da165c34a2d15449b3cbe01c8026391310ac95db
python.default_version 27
depends_lib-append port:librsync \
port:py${python.version}-xattr
patchfiles patch-rdiff-backup.1.diff patch-setup.py.diff
post-patch {
reinplace "s|@PREFIX@|${prefix}|" ${worksrcpath}/rdiff-backup.1
}
build.args --librsync-dir=${prefix}
post-destroot {
file delete -force ${destroot}${prefix}/share/doc/rdiff-backup
ln -s ${python.prefix}/share/doc/rdiff-backup ${destroot}${prefix}/share/doc/rdiff-backup
file mkdir ${destroot}${prefix}/share/man/man1
ln -s ${python.prefix}/share/man/man1/rdiff-backup-statistics.1 ${destroot}${prefix}/share/man/man1/rdiff-backup-statistics.1
ln -s ${python.prefix}/share/man/man1/rdiff-backup.1 ${destroot}${prefix}/share/man/man1/rdiff-backup.1
}
livecheck.regex {v([0-9.]+)\.tar\.gz}
livecheck.type regex
livecheck.url https://github.com/rdiff-backup/rdiff-backup/tags