Ticket #34029: yorick-yao-python-path.diff

File yorick-yao-python-path.diff, 1.4 KB (added by paumard, 12 years ago)
  • Portfile

    old new  
    66
    77set uname           yao
    88github.setup        frigaut ${uname} 4.9.0
     9revision            1
     10license             GPL-2+
    911name                yorick-${uname}
    1012categories          science
    1113platforms           darwin
    12 maintainers         users.sourceforge.net:paumard
     14maintainers         users.sourceforge.net:paumard openmaintainer
    1315description         A Yorick-based adaptive optics system simulator
    1416long_description    Yao is a monte-carlo simulation package for adaptive \
    1517                    optics. It can be used stand-alone through a GTK-based \
     
    2022checksums           rmd160  7409982765176d27bb046839293d2cd1ed042914 \
    2123                    sha256  eeff60aad302a8c81e4af13d77e407964b4c7ffbb539f53d3d107a2aaaaacb90
    2224
    23 depends_lib-append  port:yorick \
     25depends_lib-append  path:bin/yorick:yorick \
    2426                    port:yorick-imutil \
    2527                    port:fftw-3-single
    2628
    2729depends_run         port:yorick-yutils \
    28                     port:py26-gtk
     30                    port:py27-gtk
    2931
    3032universal_variant   no
    3133
     34post-patch {
     35    reinplace "s|#!/usr/bin/env python|#!${prefix}/bin/python2.7|" \
     36        ${worksrcpath}/${uname}.py
     37}
     38
    3239configure.cmd       ${prefix}/bin/yorick
    3340configure.pre_args
    3441configure.args      -batch make.i