source: trunk/dports/php/php-opcache/Portfile

Last change on this file was 135208, checked in by ryandesign@…, 2 years ago

php-opcache: update to 7.0.5

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 135208 2015-04-19 04:54:55Z ryandesign@macports.org $
3
4PortSystem              1.0
5PortGroup               php 1.1
6
7name                    php-opcache
8version                 7.0.5
9platforms               darwin
10maintainers             ryandesign
11license                 PHP-3.01
12
13# As of PHP 5.5 this extension is bundled with PHP.
14php.branches            5.3 5.4
15php.pecl                yes
16php.pecl.name           ZendOpcache
17php.pecl.prerelease     yes
18php.extensions.zend     opcache
19
20description             OPcache improves PHP performance by storing precompiled \
21                        script bytecode in shared memory, thereby removing the \
22                        need for PHP to load and parse scripts on each request.
23
24long_description        ${description}
25
26distname                zendopcache-${version}
27
28checksums               rmd160  9554ef8dbdf9760c8ea3264544fd1c295cb28891 \
29                        sha256  c8e4a23bcc78e6280f41b5020eac4825a810d77684d0ce10608bfa5bece9e9c0
30
31if {${name} ne ${subport}} {
32    configure.args-append --enable-opcache
33   
34    post-destroot {
35        set docdir ${destroot}${prefix}/share/doc/${subport}
36        xinstall -d ${docdir}
37        xinstall -W ${worksrcpath} -m 644 LICENSE README ${docdir}
38    }
39}
Note: See TracBrowser for help on using the repository browser.