# $Id: Portfile 58257 2009-09-25 00:27:09Z singingwolfboy@macports.org $ PortSystem 1.0 name duplicity version 0.6.05 revision 1 categories sysutils platforms darwin maintainers singingwolfboy openmaintainer description Encrypted bandwidth-efficient backup. long_description Duplicity backs directories by producing encrypted \ tar-format volumes and uploading them to a remote or local file \ server. Because duplicity uses librsync, the incremental archives \ are space efficient and only record the parts of files that have \ changed since the last backup. Because duplicity uses GnuPG to \ encrypt and/or sign these archives, they will be safe from spying \ and/or modification by the server. set stable_series 0.6-series homepage http://duplicity.nongnu.org/ master_sites https://launchpad.net/duplicity/${stable_series}/${version}/+download checksums md5 d467f8e98b969b67eb7c1a7af158a147 \ sha1 4334939d0c028ea20d373ed7441d8592f0017c04 \ rmd160 d65f7dbc0f589e817f253ccf467f5b81013addb1 depends_lib-append port:librsync \ port:gnupg depends_run-append port:ncftp build.args --librsync-dir=${prefix} universal_variant no if {![variant_isset python25] && ![variant_isset python26]} { default_variants +python26 } variant python25 description {Uses Python 2.5} conflicts python26 { PortGroup python25 1.0 depends_run-append port:py25-gnupg \ port:py25-boto # setting the PortGroup clears a lot of other settings, which means # we need to remind MacPorts about them. categories sysutils depends_lib-append port:librsync \ port:gnupg } variant python26 description {Uses Python 2.6} conflicts python25 { PortGroup python26 1.0 depends_run-append port:py26-gnupg \ port:py26-boto # setting the PortGroup clears a lot of other settings, which means # we need to remind MacPorts about them. categories sysutils depends_lib-append port:librsync \ port:gnupg # this is apparently required due to the way Python 2.6 installs as # a framework post-destroot { PortGroup python26 1.0 ln -s ${python.prefix}/bin/duplicity ${destroot}${prefix}/bin/ } } livecheck.type regex livecheck.url https://launchpad.net/duplicity/+download livecheck.regex {duplicity-(\d+(?:\.\d+)*).tar.gz}