Ticket #34560: php5-spidermonkey-1.0.0.diff
File php5-spidermonkey-1.0.0.diff, 1.7 KB (added by ryandesign (Ryan Carsten Schmidt), 12 years ago) |
---|
-
Portfile
4 4 PortSystem 1.0 5 5 PortGroup php5extension 1.0 6 6 7 php5extension.setup spidermonkey 0.1.4 pecl 8 license PHP 7 php5extension.setup spidermonkey 1.0.0 pecl 9 8 categories-append devel lang 10 9 platforms darwin freebsd openbsd 11 10 maintainers ouarz.net:franck.cassedanne 12 homepage http://pecl.php.net/package/spidermonkey 11 license PHP-3.01 13 12 14 13 description JavaScript engine for PHP 15 14 16 15 long_description The ${name} extension embeds Mozilla's JavaScript engine \ 17 16 Spidermonkey in PHP. 18 17 19 checksums md5 4f4a9d3558d1354e728ab168e11c35c5 \ 20 sha1 dd3f922452519f042227684bfee79af6d2a30324 \ 21 rmd160 059761f39d3e5fe2a0aba55e897fb1b6399bc3f4 18 checksums rmd160 40f6d23aadd43055e9ace002ba55b01fdd0e8ee9 \ 19 sha256 6f6985c77efbede156826729ad307e73fabdbfb8bb6eb1077e341b0ed2d599fb 22 20 23 depends_lib-append port:spidermonkey 21 depends_lib-append port:spidermonkey185 24 22 23 # spidermonkey185 is not universal 24 universal_variant no 25 26 patchfiles patch-config.m4.diff 27 28 post-patch { 29 # https://github.com/christopherobin/php-spidermonkey/issues/3 30 set ext so 31 platform darwin { 32 set ext dylib 33 } 34 reinplace "s|@EXT@|${ext}|" ${worksrcpath}/config.m4 35 } 36 25 37 configure.args-append --with-spidermonkey=${prefix} 26 38 27 39 use_parallel_build yes 28 40 test.run yes 29 30 livecheck.regex {(\d+(?:\.\d+)*)</a></th>}