source: trunk/dports/php/php-ming/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: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
7# Keep relevant lines in sync between ming and php-ming.
8
9name                        php-ming
10version                     0.4.5
11categories-append           multimedia graphics
12platforms                   darwin
13maintainers                 ryandesign openmaintainer
14license                     PHP-3.01
15
16php.branches                5.3 5.4 5.5 5.6
17
18homepage                    http://www.libming.org/
19master_sites                sourceforge:project/ming/Releases
20dist_subdir                 ming
21use_bzip2                   yes
22worksrcdir                  ${worksrcdir}/php_ext
23extract.post_args-append    ${worksrcdir}
24
25description                 a PHP interface for generating Flash SWF files with Ming
26
27long_description            ${description}
28
29checksums                   rmd160  cd28c115a1eb37442f1b9c507ce3fad7837a6d54 \
30                            sha256  82da089bdfc3a7fcb732dc11c11a35003ee270d5102d4043d61ea69834239aeb
31
32if {${name} ne ${subport}} {
33    depends_lib-append      port:ming
34   
35    post-extract {
36        # config.m4 is missing from the 0.4.4 and 0.4.5 distfiles; see:
37        # https://github.com/libming/libming/issues/8
38        copy ${filespath}/config.m4 ${worksrcpath}
39    }
40   
41    patchfiles-append       patch-config.m4.diff
42   
43    configure.args-append   --with-ming=${prefix}
44}
45
46livecheck.regex             /ming-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.