# -*- 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 106707 2013-06-05 22:25:08Z mk@macports.org $

PortSystem        1.0

name              ktoblzcheck
version           1.42
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     86f25d5c6a07313638bb74d6b11eb57c \
                  sha1    1a756886ed2ca1dcff3113391a204675f6be236a \
                  rmd160  0cd7d440e6d8058bab655718d46ecd8e95c75c81

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
