# -*- 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 101912 2013-01-21 22:48:07Z ciserlohn@macports.org $

PortSystem          1.0

name                homebank
version             4.5
categories          x11
license             GPL-2+
platforms           darwin
maintainers         nomaintainer
description         Software to manage personal accounts, light and simple.
long_description    HomeBank is the free software you have always wanted to \
                    manage your personal accounts at home. The main concept \
                    is to be light, simple and very easy to use. It brings \
                    you many features that allow you to analyze your \
                    finances in a detailed way instantly and dynamically \
                    with powerful report tools based on filtering and \
                    graphical charts.

homepage            http://homebank.free.fr/
master_sites        ${homepage}public/

checksums           rmd160  b73d4ac3ec3961a6e95302528e80c4a0540ac9c7 \
                    sha256  3c6dcb19fd975037857f84fd6a186a5b0b84f590f37ead0d37868fa484c6e547

depends_build       port:intltool \
                    port:pkgconfig
depends_lib         port:gtk2 \
                    port:libofx \
                    port:librsvg \
                    port:p5.12-xml-parser

post-patch {
    file attributes ${worksrcpath}/install-sh -permissions +x
}

livecheck.type      regex
livecheck.regex     "HomeBank (\\d+(?:\\.\\d+)*) released"
