Ticket #22522: fix_gpodder.diff
File fix_gpodder.diff, 1.6 KB (added by neric27@…, 15 years ago) |
---|
-
gpodder/Portfile
old new 5 5 6 6 name gpodder 7 7 version 2.0 8 revision 1 8 9 categories gnome audio 9 10 license GPLv3 10 11 maintainers neric27@wanadoo.fr openmaintainer … … 37 38 patch { 38 39 reinplace s|python|${prefix}/bin/python2.5|g ${worksrcpath}/Makefile 39 40 } 41 42 destroot.args PREFIX=${prefix} 40 43 } 41 44 45 46 set my_python "${frameworks_dir}/Python.framework/Versions/2.6" 47 42 48 variant python26 conflicts python25 description {Use Python 2.6} { 43 49 depends_lib-append port:py26-feedparser\ 44 50 port:py26-pil\ 45 51 port:dbus-python26\ 46 52 port:gnome-python26-extras 53 47 54 patch { 48 reinplace s|python|${prefix}/bin/python2.6|g ${worksrcpath}/Makefile 55 reinplace s|python|${my_python}/bin/python|g ${worksrcpath}/Makefile 56 } 57 58 # install in python 2.6 prefix, see bug #22522 59 destroot.args PREFIX=${frameworks_dir}/Python.framework/Versions/2.6 60 61 # Install the 2.6 apps in the standard path : 62 # the 2 variants can't be active simultaneously. 63 post-destroot { 64 foreach {app} {gpodder gpo gpodder-backup} { 65 ln -s ${my_python}/bin/${app} ${destroot}${prefix}/bin/${app} 66 } 49 67 } 50 68 } 51 69 … … 57 75 58 76 build {} 59 77 60 destroot.args PREFIX=${prefix}61 78 62 79 livecheck.type regex 63 80 livecheck.url ${master_sites}