# -*- 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 119929 2014-05-10 22:53:42Z mf2k@macports.org $

PortSystem          1.0

name                homebank
version             4.5.6
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  ddd65a1bec08f21275cde191c02086e63fb6fb55 \
                    sha256  dbff6282a8a81d9dd6ff47dff950f164d69da81147e7d94a516230c23de8a5e8

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

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

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