# -*- 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 76814 2011-03-09 12:23:31Z stromnov@macports.org $

PortSystem          1.0
PortGroup           python26 1.0

name                py26-tornado
set real_name       tornado
version             1.2.1
categories-append   www
platforms           darwin
license             Apache 2.0

maintainers         singingwolfboy openmaintainer

description         Scalable, non-blocking web server and related tools
long_description    \
    Tornado is an open source version of the scalable, non-blocking web server \
    and tools that power FriendFeed. The FriendFeed application is written \
    using a web framework that looks a bit like web.py or Google's webapp, \
    but with additional tools and optimizations to take advantage of the \
    underlying non-blocking infrastructure.

homepage            http://www.tornadoweb.org/
master_sites        http://github.com/downloads/facebook/tornado/
distname            ${real_name}-${version}

checksums           md5     e2bfb4e0d97e79101dfb0832d76f9e2b \
                    sha1    2eb5222440ce85f0947c0f4e9ccfc4b55fd6f99b \
                    rmd160  186711763caaea489a609fa736e11de695830355

depends_lib-append  port:py26-curl

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