Ticket #42069: Portfile.diff
File Portfile.diff, 1.3 KB (added by zpeeters@…, 11 years ago) |
---|
-
Portfile
old new 19 19 20 20 master_sites ftp://fr.rpmfind.net/pub/libxml/ \ 21 21 ftp://gd.tuwien.ac.at/pub/libxml/ \ 22 ${homepage}sources/ \22 http://xmlsoft.org/sources/ \ 23 23 ftp://xmlsoft.org/libxml2/ 24 24 25 25 distname libxml2-${version} … … 28 28 checksums rmd160 257285d9ac070ed9f58666b7bd7c4653651c871b \ 29 29 sha256 fd3c64cb66f2c4ea27e934d275904d92cec494a8e8405613780cbc8a71680fdb 30 30 31 python.versions 24 25 26 27 31 python.versions 24 25 26 27 32 33 32 32 33 33 if {${name} ne ${subport}} { 34 34 depends_lib-append port:libxml2 … … 36 36 worksrcdir ${worksrcdir}/python 37 37 38 38 patchfiles patch-setup.py.diff 39 40 if {${python.version} >= 30} { 41 patchfiles-append patch-drv_libxml2.py.diff 42 } 43 39 44 post-patch { 40 45 reinplace "s|@PREFIX@|$prefix|" ${worksrcpath}/setup.py 41 46 } … … 49 54 livecheck.type none 50 55 } else { 51 56 livecheck.type regex 52 livecheck.url ${homepage}news.html57 livecheck.url http://xmlsoft.org/news.html 53 58 livecheck.regex {<h3>(\d+(?:\.\d+)*): .*</h3>} 54 59 }