Ticket #26140: Portfile.diff
File Portfile.diff, 7.0 KB (added by jjahson@…, 14 years ago) |
---|
-
Portfile
old new 3 3 PortSystem 1.0 4 4 5 5 name vim 6 set vim_version 7. 27 set vim_patchlevel 4466 set vim_version 7.3 7 set vim_patchlevel 3 8 8 version ${vim_version}.${vim_patchlevel} 9 9 categories editors 10 10 maintainers raimue … … 18 18 19 19 use_bzip2 yes 20 20 21 master_sites http://ftp.vim.org/pub/vim/unix/:vim \ 22 http://ftp.vim.org/pub/vim/extra/:extra 21 master_sites http://ftp.vim.org/pub/vim/unix/:vim 23 22 patch_sites http://ftp.vim.org/pub/vim/patches/${vim_version} 24 23 distfiles \ 25 [suffix ${name}-${vim_version}]:vim \ 26 ${name}-${vim_version}-extra.tar.gz:extra \ 27 ${name}-${vim_version}-lang.tar.gz:extra 24 [suffix ${name}-${vim_version}]:vim 28 25 29 26 # Generate patchfiles 30 27 set low 1 … … 42 39 43 40 checksums \ 44 41 [suffix ${name}-${vim_version}] \ 45 md5 f0901284b338e448bfd79ccca0041254 \ 46 sha1 a4b6641ca528fada71ea77c998a441495ed4984c \ 47 rmd160 eaff64d0fec09d725addf8de569f508b80a5766e \ 48 ${name}-${vim_version}-extra.tar.gz \ 49 md5 35e04482f07c57221c9a751aaa3b8dac \ 50 sha1 6a17629093e59958bff336b6c122dea1b8b1b649 \ 51 rmd160 05976466c8a6c1bd2fb2b1d58eb4613947de07df \ 52 ${name}-${vim_version}-lang.tar.gz \ 53 md5 d8884786979e0e520c112faf2e176f05 \ 54 sha1 970e0dda7e5b2308cf33488be1ea33d593d951cb \ 55 rmd160 946bd64fbf030b341cc13bee7101f2c0acb26ce2 42 md5 5b9510a17074e2b37d8bb38ae09edbf2 \ 43 sha1 46faa96c5fab639899b1c655c23d8755b62f036f \ 44 rmd160 1846e7f4aa8e0a329d8360a9e05d7e93da23b4b5 56 45 57 46 checksums-append \ 58 7.2.001-100.gz md5 ba91b19374cee90f71b8f4ab1d92dc0f \ 59 7.2.101-200.gz md5 b485233d360041d043c56cd99057dbff \ 60 7.2.201-300.gz md5 069fb537772a8e4a74119d8a6a7e61f3 \ 61 7.2.301-400.gz md5 137b5821ff4a2266796d14d867be5f9f \ 62 7.2.401 md5 540a3aa9d405a30b6fef97c1faf80c0c \ 63 7.2.402 md5 f9b2000d9ef2b3e23c62244efd640f40 \ 64 7.2.403 md5 5df130e5db1097c5d062af517014ecd8 \ 65 7.2.404 md5 27aacd95c4834b38c17b04378486cab8 \ 66 7.2.405 md5 d2cdd35d3b9e76ce0d6b4abdf7b703ba \ 67 7.2.406 md5 64d97351da772dc675f1c11c5886d9f7 \ 68 7.2.407 md5 277b53d418c9fb0c48983c5e53b2b74b \ 69 7.2.408 md5 73845e7170e672e15655610d9f73e1ec \ 70 7.2.409 md5 c723bf80bdd72053f334cf37269cd2fd \ 71 7.2.410 md5 ad3c5edcc695600ef7ad254eccb064f4 \ 72 7.2.411 md5 a3c882ee8006eb4f6a1a1334bca08c11 \ 73 7.2.412 md5 adba03739abbe73d058fc8ddf474c531 \ 74 7.2.413 md5 53b9fa0d13737d5efd2827be007ccf4b \ 75 7.2.414 md5 8e54ea844390ed324d4d449d38cbd260 \ 76 7.2.415 md5 9212103515da33938f49318fefb2ce27 \ 77 7.2.416 md5 3b39b379e637de3578796305f8e75e9d \ 78 7.2.417 md5 cbd7975c5d1488ab24f398198f15ca1e \ 79 7.2.418 md5 2face7141504f2d89b31c69fbba9b653 \ 80 7.2.419 md5 e116f5f6c9be5b47aaf8cd1034a61937 \ 81 7.2.420 md5 5785f807b23a7073c78244cc05ca7a86 \ 82 7.2.421 md5 5fa7dc7b528b518d5618c35ea38cf048 \ 83 7.2.422 md5 2ff19a6db082f3e78c764b2131890872 \ 84 7.2.423 md5 4527e41594caed5bb8ffc140a7a2ad79 \ 85 7.2.424 md5 119448ee7b1e5fe05ebbb231ae43027e \ 86 7.2.425 md5 d8c3f2287ea065950ac9bb34ff80b138 \ 87 7.2.426 md5 2e9fb8257681220bee6509597d3bc6b5 \ 88 7.2.427 md5 fad1dd6de9372b2e610e52d5f8ee7a56 \ 89 7.2.428 md5 892bf014f642bfb810be64004a3ddb2a \ 90 7.2.429 md5 1c4fad5af7e702d7021c30f792914e69 \ 91 7.2.430 md5 a21c2c41d50b97812f3eb4b1716f72e1 \ 92 7.2.431 md5 77939e599f984013f53b3dc645bc995a \ 93 7.2.432 md5 10693840368e34e40430c7d34c71bd2d \ 94 7.2.433 md5 6a9731f83856d6f7d7d5b37852a1b83f \ 95 7.2.434 md5 ee9dc8c448acf229a2793a9346bd5da3 \ 96 7.2.435 md5 34b7f62f312e50010c7dbff7576a3cef \ 97 7.2.436 md5 302f9fb4166fd5409d7e5af5fa82a21d \ 98 7.2.437 md5 ad06590e1c4b047be814ce77b17341ed \ 99 7.2.438 md5 864fc1d3c5618c435696d561f2727e5d \ 100 7.2.439 md5 6c6dc0563d0f620927b489283e75743c \ 101 7.2.440 md5 3574cadd16ca3d597561428e15ab2e30 \ 102 7.2.441 md5 9ca6bbe0ac7b386f90601bf1f3e6b547 \ 103 7.2.442 md5 59f5aebe4538888c764584bdc0f0baca \ 104 7.2.443 md5 d325e9e01da6caec619467a3fbad835a \ 105 7.2.444 md5 f6638637c0b1e2dca86f08f80522db0d \ 106 7.2.445 md5 60895806c3825624f568a829ddba4494 \ 107 7.2.446 md5 f8e5224071732870d42e0c077ac13e2e 47 7.3.001 md5 aa5582d8289b43255f45d4bb6f62e140 \ 48 7.3.002 md5 2949cbdfe86f533c487fd144c5935c7a \ 49 7.3.003 md5 9059db41cf3a468935745242cb9c0514 108 50 109 51 distname ${name}[strsed ${vim_version} {g/\.//}] 110 52 dist_subdir ${distname} … … 118 60 autoconf.cmd make autoconf 119 61 autoconf.dir ${worksrcpath}/src 120 62 121 configure.args -- enable-gui=no\63 configure.args --disable-gui \ 122 64 --without-x \ 123 65 --disable-gpm \ 124 66 --disable-nls \ … … 128 70 --with-developer-dir=${developer_dir} 129 71 130 72 extract.only [suffix ${name}-${vim_version}] 131 post-extract {132 system "gnutar xvfz ${distpath}/${name}-${vim_version}-extra.tar.gz -C \133 ${workpath}"134 system "gnutar xvfz ${distpath}/${name}-${vim_version}-lang.tar.gz -C \135 ${workpath}"136 }137 73 138 74 post-patch { 139 75 set features [open ${worksrcpath}/src/feature.h a+] … … 155 91 } 156 92 157 93 variant athena description {Build GUI version using Athena widgets} requires x11 conflicts gtk1 gtk2 motif { 158 configure.args-delete -- enable-gui=no94 configure.args-delete --disable-gui 159 95 configure.args-append --enable-gui=athena --disable-darwin 160 96 depends_lib-append port:xorg-libXaw 161 97 } 162 variant gtk1 description {Build GUI version using GTK 1.x widgets} requires x11 conflicts athena gtk2 motif {163 configure.args-delete --enable-gui=no164 configure.args-append --enable-gui=gtk --disable-darwin165 depends_lib-append port:gtk1166 }167 98 variant gtk2 description {Build GUI version using GTK 2.x widgets} requires x11 conflicts athena gtk1 motif { 168 configure.args-delete -- enable-gui=no99 configure.args-delete --disable-gui 169 100 configure.args-append --enable-gui=gtk2 --disable-darwin 170 101 depends_lib-append port:gtk2 171 102 } 172 103 variant motif description {Build GUI version with Motif widgets} requires x11 conflicts athena gtk1 gtk2 { 173 configure.args-delete -- enable-gui=no104 configure.args-delete --disable-gui 174 105 configure.args-append --enable-gui=motif --disable-darwin 175 106 depends_lib-append lib:libXm:openmotif 176 107 } … … 219 150 # Overwriting autoconf.cmd above removes dependency, add it again 220 151 depends_build-append port:autoconf 221 152 } 153 variant python31 conflicts python25 python26 description {Enable Python scripting} { 154 configure.args-append --enable-python3interp --with-python=${prefix}/bin/python3.1 155 patchfiles-append patch-python3.diff 156 depends_lib-append port:python31 157 158 use_autoconf yes 159 # Overwriting autoconf.cmd above removes dependency, add it again 160 depends_build-append port:autoconf 161 } 222 162 variant ruby description {Enable Ruby scripting} { 223 163 configure.args-append --enable-rubyinterp 224 164 depends_lib-append port:ruby