# -*- 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 76927 2011-03-13 21:24:19Z dh@macports.org $

PortSystem          1.0
PortGroup           python26 1.0

name                py26-mako
version				0.4.0
categories-append   www
maintainers			akitada
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.

platforms           darwin
depends_build       port:py26-distribute

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

checksums           md5     d8acbf3c1d302760f5e4bf0ed2a2ee41 \
                    sha1    05ce25d0d72fb9dc1d5ad4447db07aee9b94c199 \
                    rmd160  a3b181c0160542636c99936f3246e354abc44742

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