source: trunk/dports/php/php-amf/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.3 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-amf
8version         0.9.2
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.name   amfext
18php.pecl.prerelease yes
19
20description     ActionScript Message Format extension
21
22long_description \
23    Allows to encode and decode PHP data in ActionScript Message Format (AMF) \
24    version 0 and 3.
25
26checksums       md5     c5899ca580f19ef7f057b6ea41c2d236 \
27                sha1    f2f40d4ddc4416fa09f17e94ed037f907fd87ec4 \
28                rmd160  d55426eb9da3513058fc58db51f5ba35cff831a9
29
30if {${name} ne ${subport}} {
31    post-extract {
32       # DOS to UNIX line endings so we can patch.
33       reinplace "s|\r||g" ${worksrcpath}/amf.c
34    }
35   
36    patchfiles          patch-amf.c.diff
37   
38    configure.args      --with-amf
39   
40    use_parallel_build  yes
41   
42    post-destroot {
43        set docdir ${prefix}/share/doc/${subport}
44        xinstall -d ${destroot}${docdir}
45        xinstall -m 644 -W ${worksrcpath} CREDITS ChangeLog LICENSE README \
46            ${destroot}${docdir}
47    }
48}
Note: See TracBrowser for help on using the repository browser.