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

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

php-xcache: update to 3.2.0; add php56 subport; fix livecheck

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 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 132347 2015-01-29 16:08:37Z ryandesign@macports.org $
3
4PortSystem              1.0
5PortGroup               php 1.1
6
7name                    php-xcache
8version                 3.2.0
9categories-append       www
10platforms               darwin
11maintainers             ryandesign openmaintainer
12license                 BSD
13
14php.branches            5.3 5.4 5.5 5.6
15
16homepage                http://xcache.lighttpd.net/
17master_sites            ${homepage}pub/Releases/${version}/
18use_bzip2               yes
19
20description             fast, stable PHP opcode cacher
21
22long_description        ${name} is a ${description}.
23
24checksums               rmd160  1f5edb382b52d9e12bf1c6a9cb34870dcb8cb155 \
25                        sha256  7d12a3cbd5f729b70f9226ac19406d11219f1c5f5e82b3bbb43ea9460cbf6cbd
26
27if {${name} ne ${subport}} {
28    conflicts           ${php}-APC ${php}-APCu ${php}-eaccelerator
29   
30    patchfiles          patch-xcache.ini.diff
31   
32    # gcc-4.2: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags
33    universal_variant   no
34   
35    post-destroot {
36        set docdir ${destroot}${prefix}/share/doc/${subport}
37        xinstall -d ${docdir}
38        xinstall -W ${worksrcpath} -m 644 AUTHORS COPYING ChangeLog NEWS README THANKS xcache.ini ${docdir}
39    }
40}
41
42livecheck.type          regex
43livecheck.url           ${homepage}
44livecheck.regex         {Release-([0-9.]+)}
Note: See TracBrowser for help on using the repository browser.