[77996] trunk/dports/science

ryandesign at macports.org ryandesign at macports.org
Tue Apr 19 00:45:18 PDT 2011


Revision: 77996
          http://trac.macports.org/changeset/77996
Author:   ryandesign at macports.org
Date:     2011-04-19 00:45:17 -0700 (Tue, 19 Apr 2011)
Log Message:
-----------
TinySVM: new port, version 0.09; see #29161

Added Paths:
-----------
    trunk/dports/science/TinySVM/
    trunk/dports/science/TinySVM/Portfile
    trunk/dports/science/TinySVM/files/
    trunk/dports/science/TinySVM/files/patch-configure.diff

Added: trunk/dports/science/TinySVM/Portfile
===================================================================
--- trunk/dports/science/TinySVM/Portfile	                        (rev 0)
+++ trunk/dports/science/TinySVM/Portfile	2011-04-19 07:45:17 UTC (rev 77996)
@@ -0,0 +1,40 @@
+# -*- 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
+# $Id$
+
+PortSystem          1.0
+
+name                TinySVM
+version             0.09
+categories          science
+platforms           darwin
+maintainers         nomaintainer
+license             LGPL-2.1
+
+description         Support Vector Machines (SVMs)
+long_description    TinySVM is an implementation of Support Vector Machines (SVMs), \
+                    for the problem of pattern recognition. Support Vector Machines \
+                    is  a new generation learning algorithms based on recent advances \
+                    in statistical learning theory, and applied to large number of \
+                    real-world applications, such as text categorization, hand-written \
+                    character recognition.
+
+homepage            http://chasen.org/~taku/software/TinySVM/
+master_sites        ${homepage}src/
+
+checksums           sha1    9c3c36454c475180ef6646d059376f35549cad08 \
+                    rmd160  d44586810d4776a251cda4a08b1aa9148108c8e6
+
+# respect build_arch / universal_archs
+patchfiles          patch-configure.diff
+
+configure.args      --disable-shared \
+                    --mandir=${prefix}/share/man
+
+configure.cppflags-append -D__GNU_LIBRARY__
+
+test.run            yes
+test.target         check
+
+livecheck.type      regex
+livecheck.url       [lindex ${master_sites} 0]
+livecheck.regex     ${name}-(\[0-9.\]+)\\.


Property changes on: trunk/dports/science/TinySVM/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/science/TinySVM/files/patch-configure.diff
===================================================================
--- trunk/dports/science/TinySVM/files/patch-configure.diff	                        (rev 0)
+++ trunk/dports/science/TinySVM/files/patch-configure.diff	2011-04-19 07:45:17 UTC (rev 77996)
@@ -0,0 +1,13 @@
+--- configure.orig	2002-08-20 01:01:54.000000000 -0500
++++ configure	2011-04-19 02:33:14.000000000 -0500
+@@ -6105,8 +6105,8 @@
+ 
+ 
+ if test -n "$GCC"; then
+-   CFLAGS="-Wall -O9 -funroll-all-loops -finline -ffast-math"
+-   CXXFLAGS="-Wall -O9 -funroll-all-loops -finline -ffast-math"
++   CFLAGS="$CFLAGS -Wall -O9 -funroll-all-loops -finline -ffast-math"
++   CXXFLAGS="$CXXFLAGS -Wall -O9 -funroll-all-loops -finline -ffast-math"
+ fi
+ 
+ # On Intel systems with gcc, we may need to compile with -mieee-fp to
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110419/08d715a9/attachment.html>


More information about the macports-changes mailing list