Ticket #37818: grc-python27.diff

File grc-python27.diff, 855 bytes (added by raimue (Rainer Müller), 12 years ago)
  • Portfile

     
    44
    55name            grc
    66version         1.4
     7revision        1
    78categories      textproc
    89platforms       darwin
    910maintainers     aecollins1
     
    2425                sha1    79fd504d8291f13486d361611415ae60fa56712a \
    2526                rmd160  f95da528389d585994d55b49276853bedffbe498
    2627
    27 depends_lib     port:python25
     28depends_lib     port:python27
    2829
    2930use_configure   no
    3031build           {}
    3132
    3233post-destroot   {
    33     reinplace "s|#! /usr/bin/python|#!${prefix}/bin/python2.5|" \
     34    reinplace "s|#! /usr/bin/python|#!${prefix}/bin/python2.7|" \
    3435        ${worksrcpath}/grc ${worksrcpath}/grcat
    3536    reinplace "s|/etc|${prefix}/etc|g" \
    3637        ${worksrcpath}/grc ${worksrcpath}/grc.1