Changeset 49556


Ignore:
Timestamp:
Apr 12, 2009, 7:28:20 AM (11 years ago)
Author:
blb@…
Message:

python/py25-libxslt - fix removal of files which interfere with py25-libxml2
since the build path will most like contain the port's name and, hence,
always match "*xslt*" (ticket #16795)
use regex instead of md5 for livecheck

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/python/py25-libxslt/Portfile

    r31825 r49556  
    2929
    3030post-destroot {
    31   # strip out anything not related to libxslt, so py-libxml2 doesn't conflict
    32   # with py-libxml2
     31  # strip out anything not related to libxslt, so this doesn't conflict
     32  # with py25-libxml2
    3333  fs-traverse file ${destroot} {
    3434    if {[file isfile ${file}]} {
    35       if {![string match "*xslt*" ${file}]} {
     35      if {[string match "*libxml2*" ${file}]} {
    3636         file delete ${file}
    3737      }
     
    4040}
    4141
    42 livecheck.check         md5
     42livecheck.check         regex
    4343livecheck.url           ftp://xmlsoft.org/libxml2/python/
    44 livecheck.md5           a2cc31311f1b3fb52a08cf1056efda11
     44livecheck.regex         {libxml2-python-(.*)\.tar\.gz}
     45
Note: See TracChangeset for help on using the changeset viewer.