Files
Lawrence Velázquez 34b3070336 Remove all $Id$ lines
for pf in */*/Portfile
do
    ed -s "$pf" <<-'EOF'
	1,3g/^[[:space:]]*#[[:space:]]*\$Id.*\$[[:space:]]*$/d
	1g/^[[:space:]]*$/d
	w
	q
	EOF
done
2016-12-28 18:14:04 +01:00

39 lines
1.3 KiB
Tcl

# -*- 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
PortSystem 1.0
PortGroup php 1.1
name php-opcache
version 7.0.5
platforms darwin
maintainers ryandesign
license PHP-3.01
# As of PHP 5.5 this extension is bundled with PHP.
php.branches 5.3 5.4
php.pecl yes
php.pecl.name ZendOpcache
php.pecl.prerelease yes
php.extensions.zend opcache
description OPcache improves PHP performance by storing precompiled \
script bytecode in shared memory, thereby removing the \
need for PHP to load and parse scripts on each request.
long_description ${description}
distname zendopcache-${version}
checksums rmd160 9554ef8dbdf9760c8ea3264544fd1c295cb28891 \
sha256 c8e4a23bcc78e6280f41b5020eac4825a810d77684d0ce10608bfa5bece9e9c0
if {${name} ne ${subport}} {
configure.args-append --enable-opcache
post-destroot {
set docdir ${destroot}${prefix}/share/doc/${subport}
xinstall -d ${docdir}
xinstall -W ${worksrcpath} -m 644 LICENSE README ${docdir}
}
}