# -*- 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 99976 2012-11-23 19:04:30Z jmr@macports.org $

PortSystem          1.0

name                duply
version             1.5.9
set branch          [join [lrange [split ${version} .] 0 1] .]
platforms           darwin
categories          sysutils
platforms           darwin
maintainers         technokracy.net:grrr
license             GPL-2
supported_archs     noarch

description         Duply is a shell front end for the duplicity backup tool.

long_description    Duply greatly simplifies duplicity's usage by \
                    implementing backup job profiles, batch commands and more.

homepage            http://duply.net
master_sites        sourceforge:project/ftplicity/duply%20%28simple%20duplicity%29/${branch}.x

extract.suffix      .tgz
distname            ${name}_${version}

checksums           rmd160  f5f56d5b3ca5a54e0b5ccbd0771d077a62c508d1 \
                    sha256  e8de8e6b477f3abe9c5a959aabe7b6c030594aa982c54818b8bf6ac3612c6f7d

depends_run         port:duplicity

use_configure       no

build               {}

destroot {
    xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
}
