# -*- 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 79969 2011-07-01 01:40:00Z snc@macports.org $

PortSystem          1.0
PortGroup           python27 1.0

name                py27-mako
version             0.4.1
categories-append   www
platforms           darwin
maintainers         nomaintainer

description         A super-fast templating language that borrows \
                    the best ideas from the existing templating \
                    languages.

long_description    Mako is a template library written in Python. \
                    It provides a familiar, non-XML syntax which \
                    compiles into Python modules for maximum \
                    performance. Mako's syntax and API borrows from \
                    the best ideas of many others, including Django \
                    templates, Cheetah, Myghty, and Genshi. Conceptually, \
                    Mako is an embedded Python (i.e. Python Server Page) \
                    language, which refines the familiar ideas of \
                    componentized layout and inheritance to produce one \
                    of the most straightforward and flexible models \
                    available, while also maintaining close ties to \
                    Python calling and scoping semantics.

depends_build       port:py27-distribute

homepage            http://www.makotemplates.org/
master_sites        http://cheeseshop.python.org/packages/source/M/Mako/
distname            Mako-${version}

checksums           sha1    a4e30660794aab5224e0c776d03c45f3c8b5fa7e \
                    rmd160  cdd3cb92a86b0fc67346c3ed06ade077d12cbd20

livecheck.type      regex
livecheck.url       ${master_sites}
livecheck.regex     "Mako-(\\d+(?:\\.\\d+)*)${extract.suffix}"
