Ticket #27071: nonpareil-Portfile.diff
File nonpareil-Portfile.diff, 1.6 KB (added by jmrosenstock@…, 14 years ago) |
---|
-
/opt/local/var/macports/sources/rsync.macports.org/release/ports/emulators/nonpareil/Portfile
old new 58 58 port:python25 \ 59 59 port:scons 60 60 61 patchfiles patch-src-util.diff 61 patchfiles osx.patch \ 62 patch-src-util.diff 62 63 63 64 worksrcdir ${name}-${version} 64 65 use_parallel_build yes 65 66 use_configure no 66 build.cmd "scons -local/scons.py"67 build.cmd "scons" 67 68 build.args prefix=${prefix} 68 69 build.target 69 70 70 destroot.cmd "scons -local/scons.py"71 destroot.cmd "scons" 71 72 destroot.args prefix=${prefix} destdir=${destroot} 72 73 73 74 74 post-extract { 75 system " 76 pushd ${workpath}/${name}-${version}/scons-local; 77 tar -xzf scons-local-0.96.90.tar.gz 78 popd 79 " 75 post-patch { 76 reinplace s|@PREFIX@|${prefix}|g ${worksrcpath}/src/SConscript 80 77 } 81 78 82 79 platform macosx { … … 151 148 rmd160 ec3bea3f6eda7d29a480a880a7875d4e9fc6c8cf 152 149 153 150 patchfiles-delete patch-src-util.diff 154 build.cmd "scons"155 destroot.cmd "scons"156 151 157 152 post-extract { 158 153 system " 159 154 bzip2 --verbose --decompress --stdout ${distpath}/nonpareil-wholepatch-20090714.diff.bz2 >${workpath}/nonpareil-wholepatch-20090714.diff; 160 155 " 161 156 } 162 pre-patch {163 file copy ${filespath}/osx.patch ${filespath}/osx.patch.diff164 reinplace s|@PREFIX@|${prefix}|g ${filespath}/osx.patch.diff165 }166 157 post-patch { 167 158 system " 168 159 pushd ${workpath}; … … 172 163 popd; 173 164 popd; 174 165 " 175 file delete ${filespath}/osx.patch.diff176 166 } 177 167 } 178 168