Ticket #39378: Portfile

File Portfile, 1.1 KB (added by petrrr, 10 years ago)

for convenience the new Portfile, updated

Line 
1# -*- 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
2# $Id$
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-ode
8version             1.2.1
9categories-append   games graphics
10platforms           darwin
11
12license             { LGPL-2.1+ BSD }
13maintainers         jameskyle
14
15description         Python bindings for The Open Dynamics Engine
16
17long_description    ${description}, an open-source physics engine.
18
19homepage            http://pyode.sourceforge.net/
20
21master_sites        http://pypi.python.org/packages/source/P/PyODE
22distname            PyODE-${version}
23
24checksums           md5     02015056f80121c4730178e8198c19c8 \
25                    rmd160  ae23ba127a472407aa8fde7e33c5115f3efbacbe \
26                    sha256  29062581255e1bf3cd91e5630225f1e5bc3e7e9446f94a325f9467cb9b08be67
27
28python.versions     25 26 27
29
30if {$subport ne $name} {
31    depends_lib-append port:ode
32
33    patchfiles      patch-setup-py.diff
34    post-patch {
35      reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/setup.py
36    }
37}