# $Id: Portfile 65907 2010-04-02 22:08:22Z jmr@macports.org $

PortSystem          1.0
PortGroup           python25 1.0

name                py25-jinja
version             1.2
revision            1
categories-append   devel
maintainers         rickvanderzwet.nl:info
description         Python based sandboxed template engine
long_description \
    Jinja is a sandboxed template engine written in pure Python licensed\
    under the BSD license. It provides a Django-like non-XML syntax and\
    compiles templates into executable python code. It's basically a\
    combination of Django templates and python code.

platforms           darwin

homepage            http://sphinx.pocoo.org/
master_sites        http://pypi.python.org/packages/source/J/Jinja/
distname            Jinja-${version}

checksums           md5 1235a005ade00b213800ff1e798c0241 \
                    sha1 46fcf22ce2a1d432296ebfe16bcf11ce17f5c097 \
                    rmd160 5b0a9ba2241e8ec6417b382384bbe3e1bf4dba8a

patchfiles          patch-setup.py.diff
post-patch {
   reinplace "s|@@NAME@@|${name}|g" ${worksrcpath}/setup.py
}

depends_lib-append  port:py25-distribute
