# -*- 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
maintainers {ryandesign @ryandesign} openmaintainer
php.branches 5.3 5.4 5.5 5.6 7.0 7.1 7.2 7.3
if {[vercmp ${php.branch} 7.0] >= 0} {
checksums rmd160 0df66ac9fb15b82efbf8de56439aabc7cfca4e69 \
sha256 80cf414942cc558a6934d0a508f056daaaa7399df5bd8dc556bff5ee1ebf5c9a \
} elseif {[vercmp ${php.branch} 5.2] >= 0} {
# Rebuild with php55 @5.5.0alpha2
if {[vercmp ${php.branch} 5.5] == 0} {
checksums rmd160 174f667f56c051bf29f3e36766d92b68012b976b \
sha256 28c0eda03b47fb79a7a584143e8fb539fd796aacbcb11dc8dcc7b66d42cd007f \
description PHP bindings for libsvm, a support vector machine implementation
long_description ${description}
if {${name} ne ${subport}} {
depends_lib-append port:libsvm
configure.args-append --with-svm=${prefix}