# -*- 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 89450 2012-01-29 20:48:49Z l2g@macports.org $

PortSystem          1.0
PortGroup           perl5 1.0

# Author specifies 5.10.1 minimum
perl5.branches 5.10 5.12 5.14

perl5.setup         Mojolicious 2.46
epoch               2
categories-append   www
platforms           darwin
maintainers         l2g
# Contains content licensed under all of these licenses (no choosing)
license             Artistic-2+ CC-SA-3.0 MIT
homepage            http://mojolicio.us/
supported_archs     noarch

description         An MVC web framework emphasizing minimalism and simplicity

long_description    The Mojolicious MVC web framework is all about minimalism \
                    and simplicity.  Features include: A simplified single \
                    file mode through Mojolicious::Lite * Very clean, \
                    portable and Object Oriented pure Perl API without any \
                    hidden magic and no requirements besides Perl 5.8.7 * \
                    Full stack HTTP 1.1 and WebSocket client/server \
                    implementation with TLS, Bonjour, IDNA, Comet, chunking \
                    and multipart support * Builtin async IO web server \
                    supporting epoll, kqueue, UNIX domain sockets and hot \
                    deployment, perfect for embedding * Automatic CGI, \
                    FastCGI and PSGI detection * Powerful out of the box \
                    with RESTful routes, plugins, Perl-ish templates, \
                    session management, signed cookies, testing framework, \
                    static file server, I18N, first class Unicode support \
                    and much more for you to discover.

checksums           sha1    f919bcc69fd37874b408246ccd09eea2d28b4ba9 \
                    rmd160  d6b4ed3428b6032ad14831bff9622a33806b8410

if {${perl5.major} != ""} {
# Uncomment the following to run more tests.
# But don't expect TEST_ONLINE or TEST_KQUEUE to work.
#
#test.env-append         TEST_HYPNOTOAD=1
#test.env-append         TEST_MORBO=1
#test.env-append         TEST_ONLINE=1
#
#depends_build-append    port:p${perl5.major}-io-kqueue
#test.env-append         TEST_KQUEUE=1
#
#depends_build-append    port:p${perl5.major}-io-socket-ssl
#test.env-append         TEST_TLS=1
}
