# -*- 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 90172 2012-02-24 23:21:05Z cal@macports.org $

PortSystem          1.0
PortGroup           kde4 1.1

name                grantlee
version             0.2.0
categories          devel kde kde4
maintainers         nomaintainer
description         string template engine based on the Django template system
long_description    Grantlee is a ${description}.
license             LGPL
platforms           darwin
homepage            http://www.grantlee.org/
master_sites        http://downloads.grantlee.org/

checksums           rmd160  14ac226fcfff07cef7bc43ef971f1a819284a7ec \
                    sha256  43a6256b46a14cc12a2a6bdbe300f1c5ab52abd0cb6ba357db4580148bddd474

patch.pre_args      -p1
patchfiles          0001-Test-for-working-tr1-unordered_map.diff \
                    util-path.patch \
                    templates-i18n-with_locale.cpp.patch \
                    templates-tests-testfilters.cpp.patch

livecheck.url       http://downloads.grantlee.org/
livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
