source: trunk/dports/python/rdiff-backup/Portfile

Last change on this file was 142815, checked in by jmr@…, 20 months ago

various ports: remove redundant clearing of python.link_binaries_suffix, the portgroup now handles this

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 142815 2015-11-24 03:22:35Z ryandesign@macports.org $
2
3PortSystem          1.0
4PortGroup           python 1.0
5
6name                rdiff-backup
7version             1.2.8
8revision            3
9categories-append   net sysutils
10maintainers         nomaintainer
11platforms           darwin
12license             GPL-2+
13
14description         rdiff-backup backs up one directory to another, possibly \
15                    over a network.
16long_description    ${description}
17
18homepage            http://rdiff-backup.nongnu.org/
19master_sites        savannah
20distname            rdiff-backup-${version}
21
22checksums           rmd160  f7fb7a894afe17b495611a3738c85263ae72b2b5 \
23                    sha256  0d91a85b40949116fa8aaf15da165c34a2d15449b3cbe01c8026391310ac95db
24
25python.default_version  27
26
27depends_lib-append  port:librsync \
28                    port:py${python.version}-xattr
29
30patchfiles          patch-rdiff-backup.1.diff patch-setup.py.diff
31
32post-patch {
33    reinplace "s|@PREFIX@|${prefix}|" ${worksrcpath}/rdiff-backup.1
34}
35
36build.args          --librsync-dir=${prefix}
37
38post-destroot {
39    file delete -force ${destroot}${prefix}/share/doc/rdiff-backup
40    ln -s ${python.prefix}/share/doc/rdiff-backup ${destroot}${prefix}/share/doc/rdiff-backup
41
42    file mkdir ${destroot}${prefix}/share/man/man1
43    ln -s ${python.prefix}/share/man/man1/rdiff-backup-statistics.1 ${destroot}${prefix}/share/man/man1/rdiff-backup-statistics.1
44    ln -s ${python.prefix}/share/man/man1/rdiff-backup.1 ${destroot}${prefix}/share/man/man1/rdiff-backup.1
45}
46
47livecheck.regex     {Version (.+?),.+new stable}
48livecheck.type      regex
49livecheck.url       ${homepage}
Note: See TracBrowser for help on using the repository browser.