Ticket #42303: xmms2-waf.diff
File xmms2-waf.diff, 2.3 KB (added by raimue (Rainer Müller), 11 years ago) |
---|
-
Users/raimue/src/macports/trunk/dports/audio/xmms2/Portfile
2 2 # $Id$ 3 3 4 4 PortSystem 1.0 5 PortGroup waf 1.0 5 6 6 7 name xmms2 7 8 version 0.8DrO_o … … 21 22 checksums rmd160 35513d7eddd5f79146cb8aa5c6c0bb35369619ec \ 22 23 sha256 c77e41e7bd5788889d5a2f78331ca8c748b8721bd2e59f36c36ad4c7cae8694a 23 24 24 depends_build port:python26 \ 25 port:pkgconfig 25 depends_build-append port:pkgconfig 26 26 27 27 depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \ 28 28 port:gettext \ … … 54 54 patchfiles patch-ffmpeg-2.0.diff \ 55 55 patch-nellymoser.diff 56 56 57 configure.python ${prefix}/bin/python2.658 59 57 post-patch { 60 58 foreach f [glob -directory ${worksrcpath} waf waf-light wafadmin/*.py wafadmin/*/*.py waftools/ruby.py] { 61 reinplace -locale C "s|^#! */usr/bin/env python\$|#!${ configure.python}|" ${f}59 reinplace -locale C "s|^#! */usr/bin/env python\$|#!${waf.python}|" ${f} 62 60 } 63 61 } 64 62 65 configure.cmd ./waf configure66 63 configure.args --conf-prefix=${prefix} \ 67 64 --nocache \ 68 65 --without-optionals python 69 66 70 configure.universal_args-delete --disable-dependency-tracking71 72 build.cmd ./waf73 build.target build74 75 destroot.destdir --destdir=${destroot}76 77 67 variant cpp description {C++ development support} { 78 68 depends_lib-append port:boost 79 69 } … … 120 110 variant python26 description {Support for Python 2.6} { 121 111 depends_lib-append port:py26-pyrex 122 112 configure.args-delete --without-optionals python 113 configure.python ${prefix}/bin/python2.6 123 114 } 124 115 125 default_variants +python26 116 variant python27 description {Support for Python 2.7} { 117 depends_lib-append port:py27-pyrex 118 configure.args-delete --without-optionals python 119 configure.python ${prefix}/bin/python2.7 120 } 126 121 122 default_variants +python27 123 127 124 livecheck.regex /${name}-(.+)${extract.suffix}