source: trunk/dports/php/php-svm/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.0 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-svm
8version                 0.1.9
9categories-append       math
10platforms               darwin
11maintainers             ryandesign openmaintainer
12license                 BSD
13
14php.branches            5.3 5.4 5.5 5.6
15php.pecl                yes
16php.pecl.prerelease     yes
17
18description             PHP bindings for libsvm, a support vector machine implementation
19
20long_description        ${description}
21
22checksums               rmd160  174f667f56c051bf29f3e36766d92b68012b976b \
23                        sha256  28c0eda03b47fb79a7a584143e8fb539fd796aacbcb11dc8dcc7b66d42cd007f
24
25test.run                yes
26
27if {${name} ne ${subport}} {
28    # Rebuild with php55 @5.5.0alpha2
29    if {[vercmp ${php.branch} 5.5] == 0} {
30        revision 1
31    }
32   
33    depends_lib-append      port:libsvm
34   
35    configure.args-append   --with-svm=${prefix}
36}
Note: See TracBrowser for help on using the repository browser.