Ticket #37818: grc-python27.diff
File grc-python27.diff, 855 bytes (added by raimue (Rainer Müller), 12 years ago) |
---|
-
Portfile
4 4 5 5 name grc 6 6 version 1.4 7 revision 1 7 8 categories textproc 8 9 platforms darwin 9 10 maintainers aecollins1 … … 24 25 sha1 79fd504d8291f13486d361611415ae60fa56712a \ 25 26 rmd160 f95da528389d585994d55b49276853bedffbe498 26 27 27 depends_lib port:python2 528 depends_lib port:python27 28 29 29 30 use_configure no 30 31 build {} 31 32 32 33 post-destroot { 33 reinplace "s|#! /usr/bin/python|#!${prefix}/bin/python2. 5|" \34 reinplace "s|#! /usr/bin/python|#!${prefix}/bin/python2.7|" \ 34 35 ${worksrcpath}/grc ${worksrcpath}/grcat 35 36 reinplace "s|/etc|${prefix}/etc|g" \ 36 37 ${worksrcpath}/grc ${worksrcpath}/grc.1