Skip to content
Permalink
Browse files

new port

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@3888 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Markus W. Weißmann
Markus W. Weißmann committed Nov 4, 2003
1 parent 62c0c13 commit 38e2eac2ef4fefa3e67c7254ab68761b840dbac6
Showing with 34 additions and 0 deletions.
  1. +34 −0 python/py-simpy/Portfile
@@ -0,0 +1,34 @@
# $Id: Portfile,v 1.1 2003/11/04 08:21:19 mww Exp $

PortSystem 1.0

name py-simpy
version 1.3
categories python
maintainers mww@opendarwin.org
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 f387f32a4a46bbadb9fa91f4752234b2

depends_lib bin:python:python

use_configure no

build.cmd python setup.py
build.target build

destroot.cmd python setup.py
destroot.destdir --prefix=${destroot}${prefix}

post-destroot { system "cd ${worksrcpath} \
&& install -m 755 -d \
${destroot}${prefix}/share/doc/${name}/tests \
&& cp -r SimPyTests/* \
${destroot}${prefix}/share/doc/${name}/tests \
&& cp -r SimPyDocs/* ${destroot}${prefix}/share/doc/${name}"
}

0 comments on commit 38e2eac

Please sign in to comment.
You can’t perform that action at this time.