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$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name py25-shogun |
---|
7 | version 0.6.7 |
---|
8 | categories python science math |
---|
9 | maintainers jameskyle@ucla.edu |
---|
10 | description The machine learning toolbox's focus is on large scale kernel methods and especially on Support Vector Machines (SVM). |
---|
11 | long_description ${description} It provides a generic SVM object interfacing to several different SVM implementations, among them the state of the art OCAS, LibSVM , SVMLight, SVMLin and GPDT . Each of the SVMs can be combined with a variety of kernels. The toolbox not only provides efficient implementations of the most common kernels, like the Linear, Polynomial, Gaussian and Sigmoid Kernel but also comes with a number of recent string kernels as e.g. the Locality Improved , Fischer , TOP , Spectrum , Weighted Degree Kernel (with shifts). |
---|
12 | |
---|
13 | use_parallel_build yes |
---|
14 | use_bzip2 yes |
---|
15 | homepage http://www.shogun-toolbox.org |
---|
16 | platforms darwin |
---|
17 | master_sites http://shogun-toolbox.org/archives/shogun/releases/0.6/sources/ |
---|
18 | |
---|
19 | checksums md5 03d2c5ae44fa7ca8baeb8c3fd2bae010 \ |
---|
20 | sha1 7657da29d9f9afc0c204b8f2e68c784308185a1e \ |
---|
21 | rmd160 c00ceceb791d2073413c089e23e361a3d584cc24 |
---|
22 | |
---|
23 | distfiles shogun-${version}${extract.suffix} |
---|
24 | |
---|
25 | configure.args --disable-svm-light \ |
---|
26 | --interface=python \ |
---|
27 | --python=${prefix}/bin/python2.5 \ |
---|
28 | --libs=${prefix}/lib \ |
---|
29 | --includes=${prefix}/include \ |
---|
30 | --cxx=${prefix}/bin/g++-mp-4.3 \ |
---|
31 | --cc=${prefix}/bin/gcc-mp-4.3 \ |
---|
32 | --install-path=${prefix} \ |
---|
33 | --enable-readline \ |
---|
34 | --destdir=${destroot} |
---|
35 | |
---|
36 | worksrcdir shogun-${version}/src |
---|
37 | |
---|
38 | # default_variants +atlas +glpk +lp_solve |
---|
39 | default_variants +glpk +lp_solve +atlas |
---|
40 | |
---|
41 | depends_lib port:python25 \ |
---|
42 | port:py25-numpy \ |
---|
43 | port:gcc43 \ |
---|
44 | port:readline \ |
---|
45 | port:py25-setuptools |
---|
46 | |
---|
47 | |
---|
48 | patchfiles \ |
---|
49 | patch-src-configure.diff \ |
---|
50 | patch-src-lib-lapack.cpp.diff |
---|
51 | |
---|
52 | variant cplex description {enable Multiple Kernel Learning CPLEX(tm)} { |
---|
53 | configure.args-append --enable-cplex |
---|
54 | } |
---|
55 | |
---|
56 | variant python description {build the python interface} { |
---|
57 | } |
---|
58 | |
---|
59 | variant atlas description {use the fast atlas and lapack libraries} { |
---|
60 | depends_lib-append port:atlas |
---|
61 | } |
---|
62 | |
---|
63 | variant glpk description {enable support for the GNU Linear Programming Kit} { |
---|
64 | depends_lib-append port:glpk |
---|
65 | } |
---|
66 | |
---|
67 | variant lp_solve description {enable support for the lp_solve library} { |
---|
68 | depends_lib-append port:lp_solve |
---|
69 | } |
---|
70 | |
---|
71 | post-clean { |
---|
72 | ui_msg "Make sure that /opt/local/lib is in your DYLD_LIBRARY_PATH or the sg module will not load properly!" |
---|
73 | } |
---|