Ticket #15472: patch-Portfile.diff
File patch-Portfile.diff, 1.5 KB (added by cssdev, 16 years ago) |
---|
-
Portfile
16 16 homepage http://samba.org/rsync/ 17 17 master_sites http://rsync.samba.org/ftp/rsync/ \ 18 18 http://rsync.samba.org/ftp/rsync/src/ 19 checksums md5 16d41aab9ece435198af222c5415a304 \20 sha1 c12668eb888e386511299616f6972bec300ed346 \21 rmd160 9997a18cb5577bb127b26bcc55e50382b6e9f68d19 checksums ${distname}${extract.suffix} md5 16d41aab9ece435198af222c5415a304 \ 20 ${distname}${extract.suffix} sha1 c12668eb888e386511299616f6972bec300ed346 \ 21 ${distname}${extract.suffix} rmd160 9997a18cb5577bb127b26bcc55e50382b6e9f68d 22 22 23 23 distname rsync-${version} 24 24 … … 38 38 ${destroot}${prefix}/share/doc/${name} 39 39 } 40 40 41 variant 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 41 54 livecheck.check regex 42 55 livecheck.regex "Rsync version (\\d+(?:\\.\\d+)*) released"