# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
# $Id: Portfile 71231 2010-09-05 16:15:38Z mcalhoun@macports.org $

PortSystem 1.0
PortGroup  python26 1.0

name            py26-simpy
version         2.0.1
categories      python
maintainers     mcalhoun openmaintainer
platforms		darwin freebsd
description		python based simulation language
long_description \
    SimPy is an object-oriented, process-based \
    discrete-event simulation language based on standard Python.

homepage        http://simpy.sourceforge.net/
master_sites    sourceforge:simpy
distname        SimPy-${version}

checksums           md5     5a0cb11440dbc3b02f8311df333323dd \
                    sha1    4d34bb66faa69938e6f3c3a24089b3307e4d12fd \
                    rmd160  03f07dbb5a396a715c5cfe02e01084b311167139

post-destroot {
	file copy ${worksrcpath}/SimPyDocs \
        ${destroot}${prefix}/share/doc/${name}
	file copy ${worksrcpath}/SimPyModels \
		${destroot}${prefix}/share/doc/${name}
}

livecheck.regex <title>simpy SimPy-(\\d+(?:\\.\\d+)*) released.*</title>
