Ticket #4989: Portfile.diff
File Portfile.diff, 1.6 KB (added by kdulzo@…, 19 years ago) |
---|
-
Portfile
old new 58 58 } 59 59 60 60 variant carbon-beta { 61 version 21.5.2 061 version 21.5.21 62 62 63 set carbonport_name ${name}-${version}-carbon-b 2.diff63 set carbonport_name ${name}-${version}-carbon-b3.diff 64 64 65 65 distfiles ${name}-${version}${extract.suffix}:beta \ 66 66 ${carbonport_name}.bz2:carbonport \ 67 toolbar-tiger-fix.diff:toolbarpatch68 67 69 68 checksums-append ${name}-${version}${extract.suffix} \ 70 md5 8bf5f1af05588cb59a67bade939c4aeb\71 ${carbonport_name}.bz2 md5 5e4dfcb7faddfd4066eb1ad92b991f32\72 toolbar-tiger-fix.diff md5 b9152e518961c69f568ae0c64136a4f769 md5 5941238fe8eda3a120bc5735cc50a94d \ 70 ${carbonport_name}.bz2 \ 71 md5 6ad58b2b3c77a8030e26b83b6361e39f 73 72 74 73 extract.only ${name}-${version}.tar.gz 75 74 … … 78 77 } 79 78 80 79 post-extract { 81 system "cp ${distpath}/${name}-${version}-carbon-b2.diff.bz2 ${workpath}" 82 system "cd ${workpath} && bzip2 -d ${name}-${version}-carbon-b2.diff.bz2" 83 system "cd ${workpath} && cp ${distpath}/toolbar-tiger-fix.diff ." 84 system "cd ${workpath} && patch -p1 -d ${distname} <${name}-${version}-carbon-b2.diff" 85 system "cd ${workpath} && \ 86 patch -p1 ${distname}/src/toolbar-carbon.c <toolbar-tiger-fix.diff" 80 system "cp ${distpath}/${name}-${version}-carbon-b3.diff.bz2 ${workpath}" 81 system "cd ${workpath} && bzip2 -d ${name}-${version}-carbon-b3.diff.bz2" 82 system "cd ${workpath} && patch -p1 -d ${distname} <${name}-${version}-carbon-b3.diff" 87 83 } 88 84 89 85 set worksrcpath ${workpath}/${name}-${version}