# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
# $Id: Portfile 80538 2011-07-14 10:57:48Z ryandesign@macports.org $

PortSystem          1.0

name                contao
version             2.9.5
categories          www php
platforms           darwin freebsd
maintainers         freebsd.org:miwi
supported_archs     noarch
license             LGPL-3+

description         Powerful web content management system

long_description    cantao webCMS is a powerful web content management system that \
                    specializes in accessibility (back end and front end) and uses XHTML \
                    and CSS to generate W3C/WAI compliant pages.

depends_run         port:php5-web \
                    port:php5-imagick \
                    port:php5-gd \
                    port:php5-mysql \
                    port:php5-xsl

homepage            http://www.contao.org/
master_sites        sourceforge:typolight

checksums           sha1    93c1fb67a396f057eb700ec181aaed839c10cb1d \
                    rmd160  0a7229382d50f1d08dd05c10274d08b0bdb1b12c

use_configure       no

build               {}

set docpath         ${destroot}${prefix}/www/data

destroot {
    xinstall -d -m 0755 ${docpath}
    copy ${worksrcpath} ${docpath}/${name}
}

livecheck.type      regex
livecheck.url       http://sourceforge.net/projects/typolight/files/
livecheck.regex     ${name}-(\\d+(?:\\.\\d+)*)
