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 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup python 1.0 |
---|
6 | |
---|
7 | name borgbackup |
---|
8 | version 1.0.1 |
---|
9 | categories sysutils |
---|
10 | platforms darwin |
---|
11 | license BSD |
---|
12 | maintainers hydroxide.nl:bjorn.ketelaars openmaintainer |
---|
13 | |
---|
14 | description Deduplicating backup program |
---|
15 | long_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 | |
---|
24 | homepage https://borgbackup.github.io/ |
---|
25 | master_sites pypi:b/borgbackup |
---|
26 | |
---|
27 | checksums 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. |
---|
32 | python.default_version 34 |
---|
33 | |
---|
34 | depends_build-append port:py${python.version}-setuptools_scm \ |
---|
35 | port:py${python.version}-sphinx |
---|
36 | depends_lib-append path:lib/libssl.dylib:openssl \ |
---|
37 | port:lz4 \ |
---|
38 | port:py${python.version}-msgpack \ |
---|
39 | port:py${python.version}-setuptools |
---|
40 | |
---|
41 | post-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 | |
---|
47 | post-destroot { |
---|
48 | xinstall -m 0644 ${worksrcpath}/docs/_build/man/borg.1 \ |
---|
49 | ${destroot}${prefix}/share/man/man1/ |
---|
50 | } |
---|
51 | |
---|
52 | livecheck.type pypi |
---|