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

Last change on this file was 124944, checked in by ryandesign@…, 3 years ago

add php56 subports

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 124944 2014-09-01 01:05:32Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           php 1.1
6
7name                php-xslcache
8version             0.7.2
9categories          php www devel
10platforms           darwin
11maintainers         ryandesign openmaintainer
12license             PHP
13
14php.branches        5.3 5.4 5.5 5.6
15php.pecl            yes
16php.pecl.prerelease yes
17
18description         a modification of PHP's standard XSL extension that \
19                    caches the parsed XSL stylesheet representation
20
21long_description    The XSL Cache extension is ${description} between \
22                    sessions for 2.5x boost in performance for sites that \
23                    repeatedly apply the same transform. Although there is \
24                    still some further work that could be done on the \
25                    extension, this code is already proving beneficial in \
26                    production use for a few applications on the New York \
27                    Times' website.
28
29homepage            http://code.nytimes.com/projects/xslcache
30
31checksums           rmd160  432b382046a6f172b1b6269bdc631a2405d4286d \
32                    sha256  a9fbb22bde327de0c8aeeb298a4f6d7abd1d80a8f45e5b6acc98fb14c4420ea3
33
34if {${name} ne ${subport}} {
35    depends_lib-append  port:libxslt
36
37    use_parallel_build  yes
38
39    post-destroot {
40        set docdir ${prefix}/share/doc/${subport}
41        xinstall -d ${destroot}${docdir}
42        xinstall -m 644 -W ${worksrcpath} CREDITS EXPERIMENTAL \
43            ${destroot}${docdir}
44    }
45}
Note: See TracBrowser for help on using the repository browser.