# -*- 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 117146 2014-02-17 19:27:40Z mk@macports.org $

PortSystem        1.0

name              ktoblzcheck
version           1.45
categories        devel finance
maintainers       mk openmaintainer
description       a library to check bank account numbers and bank codes
long_description  ${description}
platforms         darwin
license           LGPL-2.1+
homepage          http://ktoblzcheck.sourceforge.net/
master_sites      sourceforge
checksums         md5     80719a2920a40c6a01fa2a70ecc23e48 \
                  sha1    a552012bb219ac24dcdbac977cf94c951bfe31bc \
                  rmd160  6ab80c5ea41d47d78260f878a7258b9ab2b5fa6f

depends_lib       port:python27
patchfiles        patch-src_python_ktoblzcheck.py.diff
configure.python  ${prefix}/bin/python2.7
configure.args    --enable-static
set python_prefix    ${frameworks_dir}/Python.framework/Versions/2.7
set python_libsite   ${python_prefix}/lib/python2.7/site-packages
configure.env     am_cv_python_pythondir=${python_libsite} \
                  am_cv_python_pyexecdir=${python_libsite}

livecheck.type    regex
livecheck.url     http://sourceforge.net/projects/ktoblzcheck/files/
livecheck.regex   ${name}-(\[0-9.\]+)\\.tar
