# -*- 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 107069 2013-06-17 19:13:25Z mk@macports.org $

PortSystem          1.0

PortGroup           qmake  1.0

name                abtransfers
version             0.0.4.1

categories          finance
maintainers         mk openmaintainer

description         AB-Transfers allows to carry out bank transactions online. It is meant to complement KMyMoney and GnuCash.
long_description    AB-Transfers allows to carry out bank transactions online. It is not indented to become a full-fledged \
                    financial application like KMyMoney or GnuCash, but is meant to be used in parallel to them. \
                    This application can execute transactions which are not (yet) supported by those applications and thus complements them. \
                    AB-Transfers is meant for private use and it is not planned to implement functions which make sense for business use. \
                    AB-Transfers makes use of the AqBanking tool. All transaction types known to AqBanking are supported and should be \
                    usable in AB-Transfers. \
                    NOTE: Currently the application is not internationalized, i.e. the UI is only in German.

platforms           darwin
license             GPL-2+

homepage            http://schmufu.dyndns.org/dokuwiki/ab_transfer:start
master_sites        http://schmufu.dyndns.org/abtransfers/source

livecheck.type      regex
livecheck.url       http://schmufu.dyndns.org/dokuwiki/ab_transfer:download
livecheck.regex     "${name}-(0\\.\\d+\\.\\d+\\.\\d+)\\.tar"

use_bzip2           yes

use_parallel_build  yes

pre-configure {
	configure.pre_args-append	INCLUDEPATH+="${prefix}/include/aqbanking5 ${prefix}/include/gwenhywfar4"
}

destroot {
	xinstall -m 0755 -d ${destroot}${qt_apps_dir}
	file copy ${worksrcpath}/build/${name}.app ${destroot}${qt_apps_dir}
}

checksums           md5     eb9385764ccd2b8ea11afb35b90c2948 \
                    sha1    5a86749d75972171c80285c6f282cf3a1075c9ca \
                    rmd160  33d10540992fe257b714ce8a64bdcdf099b8d2dc

depends_lib-append  port:aqbanking5

