# $Id: Portfile 114324 2013-12-05 08:44:51Z ryandesign@macports.org $

PortSystem 1.0
PortGroup python 1.0

name                py-cx_Freeze
version             4.3.1
categories-append   devel
license             PSF
maintainers         nomaintainer
description         Scripts and modules for freezing Python scripts into executables
long_description    cx_Freeze is a set of scripts and modules for freezing Python \
                    scripts into executables in much the same way that py2exe and \
                    py2app do. Unlike these two tools, cx_Freeze is cross platform \
                    and should work on any platform that Python itself works on.

platforms           darwin
universal_variant   no

homepage            http://cx-freeze.sourceforge.net/
master_sites        sourceforge:cx-freeze
distname            cx_Freeze-${version}

checksums           rmd160  746c673c2f3e5c6ff5fa50874f898be9d288ae17 \
                    sha256  11f8818ab4e1754c81c1226ce3430f29e6ba231a22a153ce3794a5cc464fa11b

python.versions 25 26 27 31 32 33

if {${name} ne ${subport}} {
    livecheck.type      none
} else {
    livecheck.type      regex
    livecheck.url       ${homepage}
    livecheck.regex     Download (\\d+\\.\\d+\\.\\d+) released
}
