source: trunk/dports/php/php-peb/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.8 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-peb
8version         0.20b
9revision        1
10license         BSD
11categories      php devel
12platforms       darwin
13maintainers     ryandesign openmaintainer
14
15php.branches    5.3 5.4 5.5 5.6
16
17description     PHP-Erlang Bridge
18
19long_description \
20    peb (PHP-Erlang Bridge) is an open-source PHP extension to run PHP as an \
21    Erlang cnode
22
23homepage        http://code.google.com/p/mypeb/
24master_sites    googlecode:mypeb
25
26checksums       md5     5ccde4b9e8bcd0dc0a420e290941703a \
27                sha1    c9c940b79d8b739af95a456a2ad90f93d8ef6982 \
28                rmd160  169f7d6bfcb855c45c132db1091fad428f739a30
29
30if {${name} ne ${subport}} {
31    depends_build-append    port:erlang
32   
33    # erlang is not universal, but that doesn't need to prevent peb from being universal
34    depends_skip_archcheck  erlang
35   
36    worksrcdir              peb_release
37   
38    patchfiles              patch-peb.c.diff
39   
40    pre-configure {
41        set ei_dir [glob -directory ${prefix}/lib/erlang/lib/ erl_interface-*/]
42        configure.cppflags-append -I${ei_dir}/include
43        configure.ldflags-append -L${ei_dir}/lib
44    }
45   
46    use_parallel_build      yes
47   
48    post-destroot {
49        set docdir ${prefix}/share/doc/${subport}
50        xinstall -d ${destroot}${docdir}
51        xinstall -m 644 -W ${worksrcpath} CREDITS EXPERIMENTAL LICENSE \
52            ${destroot}${docdir}
53        copy ${worksrcpath}/manual ${destroot}${docdir}/html
54    }
55}
56
57livecheck.type              regex
58livecheck.url               http://code.google.com/feeds/p/mypeb/downloads/basic
59livecheck.regex             ${php.rootname}-(\[0-9a-z.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.