Ticket #22897: Portfile.diff
File Portfile.diff, 2.2 KB (added by neric27@…, 15 years ago) |
---|
-
Portfile
old new 4 4 PortSystem 1.0 5 5 6 6 name gpodder 7 version 2.0 7 version 2.1 8 revision 0 8 9 categories gnome audio 9 10 license GPLv3 10 11 maintainers neric27@wanadoo.fr openmaintainer … … 19 20 homepage http://gpodder.org 20 21 master_sites http://download.berlios.de/gpodder/ 21 22 22 checksums md5 288641768cdef679ed2e7976562b200e\23 sha1 47841ff1832dd222b7c63f765660b3d9716cbe95\24 rmd160 f637599125f6b2de9d803187039d920fea49876b23 checksums md5 57ed679e3722b7c214956b8d4e13141a \ 24 sha1 3528e0925654373deef54a6c4e7929c0d31b9c3a \ 25 rmd160 62cbb236f3327e685c5d8b63da8fe4b817e71ac6 25 26 26 27 depends_build port:help2man\ 27 28 port:intltool … … 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}