# -*- 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 45285 2009-01-12 22:19:40Z akitada@macports.org $

PortSystem          1.0
PortGroup           python26 1.0

name                py26-mako
version				0.2.4
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

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

checksums           md5 f1a3d79bb79f6787e6d5c70dfd1c8ff8 \
                    sha1 324d8668ce50c5a59e02eed68e910ae68c7b62bb \
                    rmd160 cddcbf5cf4d892193676166cd40b6745deb98cf6 \

post-destroot {
    foreach bin [glob -tails -directory ${destroot}${python.prefix}/bin *] {
        ln -s ${python.prefix}/bin/${bin} ${destroot}${prefix}/bin/${bin}${python.branch}
    }
}
