Ticket #20119: php5.diff
File php5.diff, 5.8 KB (added by simon+macports@…, 15 years ago) |
---|
-
(a) Portfile-1.txt vs. (b) (clipboard)
a b 4 4 5 5 name php5 6 6 epoch 1 7 version 5. 2.107 version 5.3.0 8 8 revision 1 9 9 set major [lindex [split ${version} .] 0] 10 10 set my_name php${major} 11 11 dist_subdir ${my_name} 12 12 categories lang php www 13 13 maintainers ryandesign jwa 14 homepage http:// www.php.net/14 homepage http://qa.php.net/ 15 15 distname php-${version} 16 use_bzip2 yes16 use_bzip2 no 17 17 platforms darwin freebsd 18 18 use_parallel_build yes 19 19 … … 26 26 be used for command-line scripting. 27 27 28 28 master_sites \ 29 ${homepage}distributions/ \ 30 http://it.php.net/distributions/ \ 31 http://fi.php.net/distributions/ \ 32 http://de.php.net/distributions/ \ 33 http://gr.php.net/distributions/ \ 34 http://fr.php.net/distributions/ \ 35 http://es.php.net/distributions/ \ 36 http://se.php.net/distributions/ 29 http://downloads.php.net/ilia/ \ 30 http://downloads.php.net/johannes/ 37 31 38 32 checksums \ 39 md5 15c7b5a87f57332d6fc683528e28247b\40 sha1 9a287e2791d28928fb1ee1a1167290c5005feccd\41 rmd160 9a9ec823eda9d6b3c085967e7a71f776071fc78f33 md5 f4905eca4497da3f0beb5c96863196b4 \ 34 sha1 a4bc5f2bf9d42f5932d8467fba4b0024d957adf4 \ 35 rmd160 ce5abd751a0cbf4e3745376053eb2053c4b56339 42 36 43 37 depends_build \ 44 38 port:pkgconfig \ … … 64 58 port:libpng \ 65 59 port:freetype 66 60 67 patchfiles \68 patch-ext-date-php_date.c.diff \69 patch-bind.diff70 71 61 use_autoconf yes 72 62 autoconf.cmd ${prefix}/bin/autoconf213 73 63 … … 103 93 --with-openssl=${prefix} \ 104 94 --with-mhash=${prefix} \ 105 95 --with-mcrypt=${prefix} \ 106 --with-mime-magic \107 96 --with-xsl=${prefix} \ 108 97 --with-curl=${prefix} \ 109 98 --with-pcre-regex=${prefix} \ … … 148 137 variant apache conflicts apache2 no_web description {Add Apache 1 web server module} { 149 138 if { ! [variant_isset macosx] } { 150 139 depends_lib-append \ 151 p ath:sbin/apxs:apache140 port:apache 152 141 configure.args-append \ 153 142 --with-apxs=${prefix}/sbin/apxs 154 143 } else { … … 168 157 } 169 158 destroot.violate_mtree yes 170 159 depends_lib-append \ 171 p ath:apache2/bin/apxs:apache2160 port:apache2 172 161 configure.args-append \ 173 162 --with-apxs2=${prefix}/apache2/bin/apxs 174 163 } … … 200 189 variant imap description {enable operation with IMAP protocol} { 201 190 depends_lib-append \ 202 191 port:cclient 192 configure.cppflags-append \ 193 -I${prefix}/include/c-client 203 194 configure.args-append \ 204 195 --with-imap=${prefix} \ 205 196 --with-imap-ssl=${prefix} … … 250 241 --with-snmp=${prefix} 251 242 } 252 243 253 variant mysql3 conflicts mysql4 mysql5 description {build MySQL 3 support} {244 variant mysql3 conflicts mysql4 mysql5 mysqlnd description {build MySQL 3 support} { 254 245 depends_lib-append \ 255 246 port:mysql3 256 247 configure.args-delete \ … … 260 251 --with-pdo-mysql=${prefix} 261 252 } 262 253 263 variant mysql4 conflicts mysql3 mysql5 description {build MySQL 4 support} {254 variant mysql4 conflicts mysql3 mysql5 mysqlnd description {build MySQL 4 support} { 264 255 depends_lib-append \ 265 256 port:mysql4 266 257 configure.args-delete \ … … 270 261 --with-pdo-mysql=${prefix} 271 262 } 272 263 273 variant mysql5 conflicts mysql3 mysql4 description {build MySQL 5 support} {264 variant mysql5 conflicts mysql3 mysql4 mysqlnd description {build MySQL 5 support} { 274 265 depends_lib-append \ 275 266 path:bin/mysql_config5:mysql5 276 267 configure.args-delete \ … … 287 278 } 288 279 } 289 280 281 variant mysqlnd conflicts mysql3 mysql4 mysql5 description {build MySQL Native Driver support for MySQL 4.1 and up} { 282 configure.args-delete \ 283 --without-mysql 284 configure.args-append \ 285 --with-mysql=mysqlnd \ 286 --with-mysqli=mysqlnd \ 287 --with-pdo-mysql=mysqlnd 288 } 289 290 290 variant oracle description {Add Oracle oci8 database functions with the Oracle Instant Client} { 291 291 patchfiles-append \ 292 292 patch-ext-pdo_oci-config.m4.diff … … 454 454 # Copy the default php.ini files. 455 455 xinstall -m 755 -d ${destroot}${phpinidir} 456 456 xinstall -m 644 -W ${worksrcpath} \ 457 php.ini-d ist \458 php.ini- recommended\457 php.ini-development \ 458 php.ini-production \ 459 459 ${destroot}${phpinidir} 460 460 } 461 461 … … 467 467 } 468 468 if {![file exists ${phpinidir}/php.ini]} { 469 469 ui_msg "To customize php, copy" 470 ui_msg "${phpinidir}/php.ini-d ist (if this is a development server) or"471 ui_msg "${phpinidir}/php.ini- recommended(if this is a production server) to"470 ui_msg "${phpinidir}/php.ini-development (if this is a development server) or" 471 ui_msg "${phpinidir}/php.ini-production (if this is a production server) to" 472 472 ui_msg "${phpinidir}/php.ini and then make changes." 473 473 } else { 474 474 ui_msg "You may need to update your php.ini for any changes that have been made" 475 475 ui_msg "in this version of php. Compare ${phpinidir}/php.ini with" 476 ui_msg "${phpinidir}/php.ini-d ist (if this is a development server) or"477 ui_msg "${phpinidir}/php.ini- recommended(if this is a production server)."476 ui_msg "${phpinidir}/php.ini-development (if this is a development server) or" 477 ui_msg "${phpinidir}/php.ini-production (if this is a production server)." 478 478 } 479 479 480 480 if {![variant_isset no_web]} { … … 506 506 test.run yes 507 507 508 508 livecheck.check regex 509 livecheck.url ${homepage} downloads.php510 livecheck.regex get/php-(5\\.\[0-9.\]+)\\.tar509 livecheck.url ${homepage} 510 livecheck.regex php-?(5\\.\[0-9.\]+(?:(?:alpha|beta|RC)\\d+|-latest))\\.tar