source: trunk/dports/php/php-phalcon/Portfile

Last change on this file was 149094, checked in by ryandesign@…, 18 months ago

php-phalcon: update to 2.0.13

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 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 149094 2016-05-30 07:45:43Z ryandesign@macports.org $
3
4PortSystem              1.0
5PortGroup               github 1.0
6PortGroup               php 1.1
7
8name                    php-phalcon
9platforms               darwin
10maintainers             ryandesign openmaintainer
11license                 BSD
12
13php.branches            5.3 5.4 5.5 5.6
14
15if {[vercmp ${php.branch} 5.4] >= 0} {
16    github.setup        phalcon cphalcon 2.0.13 phalcon-v
17    checksums           rmd160  c94dadcf628d8611cbcb44f35b1b536c9b0e3fc9 \
18                        sha256  00f7e45282e6e793c37c75742da696ebb031cf5b880d324eefd19039bd27b74e
19} else {
20    github.setup        phalcon cphalcon 2.0.9 phalcon-v
21    checksums           rmd160  3955e097b18c3ea8b29264bb184b70ad2a7eebd7 \
22                        sha256  d4607491b801da973796c44eaed9f909787d9a588ec5a7ea7c84d74d43106a46
23}
24
25description             full stack PHP framework written as an extension
26
27long_description        Phalcon is an open source, full stack framework for \
28                        PHP 5 written as a C extension, optimized for high \
29                        performance. Phalcon is a loosely coupled set of PHP \
30                        classes, allowing you to use its objects as glue \
31                        components based on the needs of your application. \
32                        Phalcon is not only about performance\; the goal is \
33                        to make it robust, rich in features and easy to use!
34
35homepage                http://www.phalconphp.com/
36
37if {${name} ne ${subport}} {
38    # The build/install script makes all sorts of assumptions I don't like
39    # so I'm ignoring it.
40
41    # Ugh... separate 32-bit and 64-bit source trees.
42    if {[string match *64 ${build_arch}]} {
43        worksrcdir      ${worksrcdir}/build/64bits
44    } else {
45        worksrcdir      ${worksrcdir}/build/32bits
46    }
47
48    # Separate source trees means using the muniversal portgroup
49    # but it doesn't get along with the php portgroup.
50    universal_variant   no
51
52    configure.args      --enable-phalcon
53}
Note: See TracBrowser for help on using the repository browser.