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

Last change on this file since 60603 was 60603, checked in by snc@…, 11 years ago

updated version, #22496. maintainer timeout

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
2# $Id: Portfile 60603 2009-11-16 18:09:11Z snc@macports.org $
3
4PortSystem 1.0
5
6name                    libsvm
7version                 2.9
8
9categories              math
10maintainers             febeling
11platforms               darwin
12description             A free Support Vector Machine implementation.
13long_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.\"
14 
15homepage                http://www.csie.ntu.edu.tw/~cjlin/libsvm/
16master_sites            ${homepage}
17
18checksums           md5     c48109c825d8326d71c8c8564589736d \
19                    sha1    506725e3328b7fd78b00b99b93e5fb4c90506528 \
20                    rmd160  ff6207d399f59eea3329fd629fcdf4c399583a2b
21patchfiles              patch-Makefile.diff
22
23use_configure           no
24
25set libver              ${version}.0
26build.target            all
27build.args              PREFIX=${prefix} VERSION=${libver}
28
29destroot {
30    xinstall -m 755 -W ${worksrcpath} svm-train svm-predict svm-scale ${destroot}${prefix}/bin
31    xinstall -m 644 -W ${worksrcpath} libsvm.a libsvm.${libver}.dylib ${destroot}${prefix}/lib
32    xinstall -m 644 -W ${worksrcpath} svm.h ${destroot}${prefix}/include
33
34    ln -sf ${name}.${libver}.dylib ${destroot}${prefix}/lib/${name}.dylib
35
36    set docs ${destroot}${prefix}/share/doc/${name}-${version}
37    xinstall -m 755 -d ${docs}
38    xinstall -m 644 -W ${worksrcpath} COPYRIGHT README FAQ.html ${docs}
39}
40
Note: See TracBrowser for help on using the repository browser.