source: trunk/dports/math/libsvm/Portfile @ 41203

Last change on this file since 41203 was 41203, checked in by febeling@…, 12 years ago

Remove whitespace to make lint happy.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
RevLine 
[34108]1# $Id: Portfile 41203 2008-10-27 22:12:19Z febeling@macports.org $
2
3PortSystem 1.0
4
5name                    libsvm
[41202]6version                 2.87
[34108]7
8categories              math
[37708]9maintainers             febeling
[34108]10platforms               darwin
11description             A free Support Vector Machine implementation.
12long_description        ${description} By Chih-Chung Chang and Chih-Jen Lin of National Taiwan University. \"LIBSVM is an integrated software for support vector classification, (C-SVC, nu-SVC), regression (epsilon-SVR, nu-SVR) and distribution estimation (one-class SVM ). It supports multi-class classification.\"
13 
14homepage                http://www.csie.ntu.edu.tw/~cjlin/libsvm/
15master_sites            ${homepage}
16
[41203]17checksums               sha1 b65a3bf1d636d03522b62a8e7bcfa9196f0a3a8c
[34108]18patchfiles              patch-Makefile.diff
19
20use_configure           no
21
22set libver              ${version}.0
23build.target            all
24build.args              PREFIX=${prefix} VERSION=${libver}
25
26destroot {
[34115]27    xinstall -m 755 -W ${worksrcpath} svm-train svm-predict svm-scale ${destroot}${prefix}/bin
28    xinstall -m 644 -W ${worksrcpath} libsvm.a libsvm.${libver}.dylib ${destroot}${prefix}/lib
29    xinstall -m 644 -W ${worksrcpath} svm.h ${destroot}${prefix}/include
[34108]30
[34116]31    ln -sf ${name}.${libver}.dylib ${destroot}${prefix}/lib/${name}.dylib
[34108]32
[34117]33    set docs ${destroot}${prefix}/share/doc/${name}-${version}
[34108]34    xinstall -m 755 -d ${docs}
[34115]35    xinstall -m 644 -W ${worksrcpath} COPYRIGHT README FAQ.html ${docs}
[34108]36}
37
Note: See TracBrowser for help on using the repository browser.