# -*- 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
maintainers {ryandesign @ryandesign} openmaintainer
php.branches 5.5 5.6 7.0 7.1 7.2 7.3
if {[vercmp ${php.branch} 7.0] < 0} {
conflicts-append ${php}-phalcon2
if {[vercmp ${php.branch} 7.2] >= 0} {
conflicts-append ${php}-phalcon4
if {[vercmp ${php.branch} 5.5] >= 0} {
github.setup phalcon cphalcon 3.4.4 v
checksums rmd160 745e5eaed58fa32cc6d44a748d8a2a9505eba34c \
sha256 3e1204105e10d94759ad51dae36aebcd5a2a3634dd753eb46f3c55f46d7bc4b0 \
description full stack PHP framework written as an extension
long_description Phalcon is an open source full stack framework for \
PHP, written as a C-extension. Phalcon is optimized \
for high performance. Its unique architecture allows \
the framework to always be memory resident, offering \
its functionality whenever it's needed, without \
expensive file stats and file reads that traditional \
homepage https://phalconphp.com
if {${name} ne ${subport}} {
# The build/install script makes all sorts of assumptions I don't like
set phpmajor [lindex [split ${php.branch} .] 0]
set build build/php${phpmajor}
if {[string match *64 ${build_arch}]} {
set build ${build}/64bits
set build ${build}/32bits
worksrcdir ${worksrcdir}/${build}
# Separate dir for each arch means using the muniversal portgroup
# but it doesn't get along with the php portgroup.
configure.args --enable-phalcon
github.livecheck.regex {(3\.[0-9.]+)}