New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #34028: yorick-spydr-python-path.diff

File yorick-spydr-python-path.diff, 1.2 KB (added by thibaut.paumard@…, 14 months ago)
  • Portfile

    old new  
    66 
    77set uname           spydr 
    88github.setup        frigaut yorick-${uname} 0.8.2 
     9revision            1 
     10license             GPL-3+ 
    911categories          science 
    1012platforms           darwin 
    11 maintainers         users.sourceforge.net:paumard 
     13maintainers         users.sourceforge.net:paumard openmaintainer 
    1214supported_archs     noarch 
    1315description         FITS image display and simple analysis 
    1416long_description    Spydr (pronounced like spider) basically is an FITS \ 
     
    2628checksums           rmd160  63297f26fce89822fe99129a256c2d0bebe0b9be\ 
    2729                    sha256  d0306c0d62705f54c33f7688f416b7b32e0d7971861d674f0621b1fc59455bbd 
    2830 
    29 depends_lib         port:yorick 
     31depends_lib         path:bin/yorick:yorick 
    3032 
    3133depends_run         port:yorick-yao \ 
    32                     port:py26-gtk \ 
     34                    port:py27-gtk \ 
    3335                    port:zenity 
    3436 
     37post-patch { 
     38    reinplace "s|#!/usr/bin/env python|#!${prefix}/bin/python2.7|" \ 
     39        ${worksrcpath}/${uname}.py 
     40} 
     41 
    3542configure.cmd       ${prefix}/bin/yorick 
    3643configure.pre_args 
    3744configure.args      -batch make.i