Revision: 89384 http://trac.macports.org/changeset/89384 Author: hum@macports.org Date: 2012-01-27 08:33:29 -0800 (Fri, 27 Jan 2012) Log Message: ----------- New port: liblbfgs @1.10 - A library of Limited-memory Broyden-Fletcher-Goldfarb-Shanno (L-BFGS) Added Paths: ----------- trunk/dports/math/liblbfgs/ trunk/dports/math/liblbfgs/Portfile trunk/dports/math/liblbfgs/files/ trunk/dports/math/liblbfgs/files/patch-autogen.sh.diff Added: trunk/dports/math/liblbfgs/Portfile =================================================================== --- trunk/dports/math/liblbfgs/Portfile (rev 0) +++ trunk/dports/math/liblbfgs/Portfile 2012-01-27 16:33:29 UTC (rev 89384) @@ -0,0 +1,35 @@ +# -*- 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 +PortGroup github 1.0 + +github.setup chokkan liblbfgs 1.10 v +categories math +maintainers hum openmaintainer + +description A library of Limited-memory Broyden-Fletcher-Goldfarb-Shanno (L-BFGS) +long_description libLBFGS is a C port of the implementation of Limited-memory \ + Broyden-Fletcher-Goldfarb-Shanno (L-BFGS) method written by \ + Jorge Nocedal. + +homepage http://www.chokkan.org/software/liblbfgs/ +platforms darwin +license MIT + +checksums rmd160 2e4de03916e7b50443df1dcdbf48059dbbb54783 \ + sha256 8d300c585e5726be735205cb86f8c5d0952b76f405e6289897df5a703aeb7b0b + +depends_build port:libtool + +patchfiles patch-autogen.sh.diff + +pre-configure { + system -W ${worksrcpath} "./autogen.sh" +} + +variant sse2 description {Enable SSE2} { + configure.args-append --enable-sse2 +} + +default_variants +sse2 Property changes on: trunk/dports/math/liblbfgs/Portfile ___________________________________________________________________ Added: svn:keywords + Id Added: svn:eol-style + native Added: trunk/dports/math/liblbfgs/files/patch-autogen.sh.diff =================================================================== --- trunk/dports/math/liblbfgs/files/patch-autogen.sh.diff (rev 0) +++ trunk/dports/math/liblbfgs/files/patch-autogen.sh.diff 2012-01-27 16:33:29 UTC (rev 89384) @@ -0,0 +1,13 @@ +--- autogen.sh.orig 2010-12-21 01:16:22.000000000 +0900 ++++ autogen.sh 2012-01-25 01:08:23.000000000 +0900 +@@ -12,8 +12,8 @@ + FORCE_MISSING= + fi + +-libtoolize --copy $FORCE 2>&1 | sed '/^You should/d' || { +- echo "libtoolize failed!" ++glibtoolize --copy $FORCE 2>&1 | sed '/^You should/d' || { ++ echo "glibtoolize failed!" + exit 1 + } +