source: trunk/dports/php/php-cairo_wrapper/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.2 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_wrapper
8version         0.2.4
9revision        1
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 Wrapper Extension
20
21long_description \
22    A cairo API wrapper.
23
24checksums       md5     c10d73a5280b8441efe5d56eac04873c \
25                sha1    1ec2e0680f34c7e0f750ab44770d04d18d77207a \
26                rmd160  7e3dc07318001654afd1bc6bbcc33e6b489823ac
27
28if {${name} ne ${subport}} {
29    conflicts   ${php}-cairo
30   
31    depends_build-append port:pkgconfig
32   
33    depends_lib-append  path:lib/libcairo.dylib:cairo
34   
35    patchfiles          patch-cairo_wrapper.c.diff \
36                        patch-tests-cairo_version_string.phpt.diff
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 ${destroot}${docdir}
44    }
45}
Note: See TracBrowser for help on using the repository browser.