# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id: Portfile 126666 2014-10-13 12:19:41Z jmr@macports.org $ PortSystem 1.0 PortGroup python 1.0 name timedrive version 0.4.0 categories sysutils net maintainers snc license GPL-2 description incremental backup across networks long_description Time Drive is a front-end utility for duplicity. It makes \ backup to an external file server easy and efficient. Time \ Drive supports WebDAV, secure WebDAV, FTP, SSH, and SCP. \ It can also be configured to work with Samba. homepage http://www.oak-tree.us/time-drive platforms darwin supported_archs noarch python.default_version 27 # Can use either py*-pyqt4 or py*-pyqt4-devel. depends_build-append \ path:share/py${python.version}-sip/PyQt4:py${python.version}-pyqt4 \ port:py${python.version}-sip \ port:py${python.version}-setuptools depends_lib-append port:duplicity depends_run-append port:ncftp master_sites http://www.oak-tree.us/stuff/Time-Drive distname Time-Drive-${version} checksums rmd160 da3391168be43c47160c792b811f46aa3439461b \ sha256 089f688898c0445335a5f5ad9cf3d39bc4843d6d8a178d566ac80b98d2889ff0 worksrcdir [string tolower ${worksrcdir}] #patch { # reinplace s|pyrcc4|pyrcc4-2.7|g ${worksrcpath}/BuildUi.sh # reinplace s|pyuic4|pyuic4-2.7|g ${worksrcpath}/BuildUi.sh # file attributes ${worksrcpath}/BuildUi.sh -permissions +x # file copy ${filespath}/setup.py ${worksrcpath}/ # reinplace s|backends|backend|g ${worksrcpath}/duplicity_interface.py #} #pre-build { # system -W ${worksrcpath} "./BuildUi.sh" #} livecheck.type regex livecheck.url ${homepage} livecheck.regex Time Drive \\((\\d+\\.\\d+\\.\\d+)\\)