Ticket #15472: patch-Portfile.diff

File patch-Portfile.diff, 1.5 KB (added by cssdev, 16 years ago)

updated patch for rsync 3.0.3 patches

  • Portfile

     
    1616homepage        http://samba.org/rsync/
    1717master_sites    http://rsync.samba.org/ftp/rsync/ \
    1818                http://rsync.samba.org/ftp/rsync/src/
    19 checksums       md5 16d41aab9ece435198af222c5415a304 \
    20                 sha1 c12668eb888e386511299616f6972bec300ed346 \
    21                 rmd160 9997a18cb5577bb127b26bcc55e50382b6e9f68d
     19checksums       ${distname}${extract.suffix} md5 16d41aab9ece435198af222c5415a304 \
     20                ${distname}${extract.suffix} sha1 c12668eb888e386511299616f6972bec300ed346 \
     21                ${distname}${extract.suffix} rmd160 9997a18cb5577bb127b26bcc55e50382b6e9f68d
    2222
    2323distname        rsync-${version}
    2424
     
    3838                        ${destroot}${prefix}/share/doc/${name}
    3939}
    4040
     41variant macosx_metadata description preserve Mac OS X file flags and creation times {
     42        distfiles-append        ${name}-patches-${version}.tar.gz
     43        checksums-append \
     44                ${name}-patches-${version}.tar.gz md5 ff814658791187a5f32c1a145714db43 \
     45                ${name}-patches-${version}.tar.gz sha1 e91ccdef5462b0fe2953d7b1ca5cce6f56b126cc
     46        post-patch {
     47        ui_info "$UI_PREFIX Applying fileflags.diff ..."
     48        system "cd ${worksrcpath} && patch -p1 < patches/fileflags.diff"
     49        ui_info "$UI_PREFIX Applying crtimes.diff ..."
     50        system "cd ${worksrcpath} && patch -p1 < patches/crtimes.diff"
     51        }
     52}
     53
    4154livecheck.check regex
    4255livecheck.regex "Rsync version (\\d+(?:\\.\\d+)*) released"