# -*- 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 44404 2008-12-28 00:39:35Z mcalhoun@macports.org $

PortSystem 1.0
PortGroup  python25 1.0

name            py25-simpy
version         1.9.1
categories      python
maintainers     mcalhoun
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 857188f768c4f5fed2ab2b047f21a89c \
    sha1 7e8d3418ec194da8fd033fec1a0c88ec2915f8e6 \
    rmd160 e204fb2d81b5d23cb5f67b5c04126d266cef19a9

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>
