You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
45 lines
1.5 KiB
Tcl
45 lines
1.5 KiB
Tcl
# -*- 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
|
|
|
|
PortSystem 1.0
|
|
PortGroup php 1.1
|
|
|
|
name php-svm
|
|
categories-append math
|
|
maintainers {ryandesign @ryandesign} {mathiesen.info:macintosh @BjarneDMat} openmaintainer
|
|
license BSD
|
|
|
|
php.branches 5.3 5.4 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 8.5
|
|
php.pecl yes
|
|
php.pecl.prerelease yes
|
|
|
|
if {[vercmp ${php.branch} >= 7.0]} {
|
|
version 0.2.3
|
|
revision 5
|
|
checksums rmd160 0df66ac9fb15b82efbf8de56439aabc7cfca4e69 \
|
|
sha256 80cf414942cc558a6934d0a508f056daaaa7399df5bd8dc556bff5ee1ebf5c9a \
|
|
size 130776
|
|
|
|
patch.pre_args-replace -p0 -p1
|
|
patchfiles-append \
|
|
patch_zend-ce-exception.diff
|
|
|
|
} elseif {[vercmp ${php.branch} >= 5.2]} {
|
|
version 0.1.9
|
|
revision 5
|
|
checksums rmd160 174f667f56c051bf29f3e36766d92b68012b976b \
|
|
sha256 28c0eda03b47fb79a7a584143e8fb539fd796aacbcb11dc8dcc7b66d42cd007f \
|
|
size 111685
|
|
}
|
|
|
|
description PHP bindings for libsvm, a support vector machine implementation
|
|
|
|
long_description ${description}
|
|
|
|
test.run yes
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_lib-append port:libsvm
|
|
|
|
configure.args-append --with-svm=${prefix}
|
|
}
|