Ticket #51086: Portfile.2

File Portfile.2, 2.0 KB (added by bket, 4 years ago)
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
2# $Id$
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                borgbackup
8version             1.0.1
9categories          sysutils
10platforms           darwin
11license             BSD
12maintainers         hydroxide.nl:bjorn.ketelaars openmaintainer
13
14description         Deduplicating backup program
15long_description    BorgBackup (short: Borg) is a deduplicating backup \
16                    program. Optionally, it supports compression and \
17                    authenticated encryption. Main goal of Borg is to provide \
18                    an efficient and secure way to backup data. The data \
19                    deduplication technique used makes Borg suitable for \
20                    daily backups since only changes are stored. The \
21                    authenticated encryption technique makes it suitable for \
22                    backups to not fully trusted targets.
23
24homepage            https://borgbackup.github.io/
25master_sites        pypi:b/borgbackup
26
27checksums           rmd160  bbafdcd8f46e688cc4c5a89edbc87d6c297c9782 \
28                    sha256  58a2c2e649207c8e15223f6380d238124b0f1b45fd83990a40df5b678cd41fba
29
30# BorgBackup is not a Python module. Instead it is a program that requires
31# Python 3 >= 3.4.0.
32python.default_version  34
33
34depends_build-append    port:py${python.version}-setuptools_scm \
35                        port:py${python.version}-sphinx
36depends_lib-append      path:lib/libssl.dylib:openssl \
37                        port:lz4 \
38                        port:py${python.version}-msgpack \
39                        port:py${python.version}-setuptools
40
41post-build {
42    reinplace "s|sphinx-build|sphinx-build-${python.branch}|g" \
43        ${worksrcpath}/docs/Makefile
44    system "make -C ${worksrcpath}/docs man READTHEDOCS=True"
45}
46
47post-destroot {
48    xinstall -m 0644 ${worksrcpath}/docs/_build/man/borg.1 \
49        ${destroot}${prefix}/share/man/man1/
50}
51
52livecheck.type      pypi