source: trunk/dports/php/php-cairo/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.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 124944 2014-09-01 01:05:32Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           php 1.1
6
7name                php-cairo
8version             0.3.2
9revision            3
10license             PHP
11categories          php devel
12platforms           darwin
13maintainers         ryandesign openmaintainer
14
15php.branches        5.3 5.4 5.5 5.6
16php.pecl            yes
17php.pecl.prerelease yes
18
19description         Cairo Graphics Library Extension
20
21long_description    Cairo is a 2D graphics library with support for multiple \
22                    output devices. Currently supported output targets \
23                    include the X Window System, Quartz, Win32, image \
24                    buffers, PostScript, PDF, and SVG file output.
25
26checksums           rmd160  de19dfadb9c4f8e4b209e6b51dff727b64b510db \
27                    sha256  c69a33b4d8c9611c0e32383b577509f64406afb5670518c8de2e34d53c926359
28
29distname            Cairo-${version}
30
31if {${name} ne ${subport}} {
32    conflicts           ${php}-cairo_wrapper
33   
34    depends_build-append port:pkgconfig
35   
36    depends_lib-append  path:lib/libcairo.dylib:cairo
37   
38    test.run            yes
39   
40    post-destroot {
41        set docdir ${prefix}/share/doc/${subport}
42        xinstall -d ${destroot}${docdir}
43        xinstall -m 644 -W ${worksrcpath} CREDITS IGNORED README SYMBOLS TODO \
44            ${destroot}${docdir}
45    }
46}
Note: See TracBrowser for help on using the repository browser.