# -*- 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 92868 2012-05-09 07:35:09Z jmr@macports.org $

PortSystem      1.0
PortGroup       python 1.0

name            py-pyttsx
version         1.1
python.versions 27
python.default_version 27
revision        1
categories      python devel audio
platforms       darwin
license         BSD
maintainers     phw openmaintainer
description     Cross-platform Python wrapper for text-to-speech synthesis
long_description    ${description}

homepage        https://github.com/parente/pyttsx

if {$subport != $name} {
    depends_build   port:py${python.version}-distribute
    fetch.type      git
    git.url         https://github.com/parente/pyttsx.git
    git.branch      3d13e83b76e9d43d1e86afde8953fcabebb96c01
    livecheck.type  none
} else {
    livecheck.type  regex
    livecheck.url   https://raw.github.com/parente/pyttsx/master/setup.py
    livecheck.regex   {version='(\d+(?:\.\d+)*)'}
}
