source: trunk/dports/math/liblbfgs/Portfile

Last change on this file was 89433, checked in by hum@…, 6 years ago

liblbfgs: fix depends_build; declare "sse2" variant in a "platform i386" block; see http://lists.macosforge.org/pipermail/macports-dev/2012-January/017559.html.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
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: Portfile 89433 2012-01-29 02:20:32Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6
7github.setup        chokkan liblbfgs 1.10 v
8categories          math
9maintainers         hum openmaintainer
10
11description         A library of Limited-memory Broyden-Fletcher-Goldfarb-Shanno (L-BFGS)
12long_description    libLBFGS is a C port of the implementation of Limited-memory \
13                    Broyden-Fletcher-Goldfarb-Shanno (L-BFGS) method written by \
14                    Jorge Nocedal.
15
16homepage            http://www.chokkan.org/software/liblbfgs/
17platforms           darwin
18license             MIT
19
20checksums           rmd160  3fc1f7e7f3b46100a1ca856a082b5975ab4ceda2 \
21                    sha256  ba6d8ef191c34c289f34645462ecfb8209099ad88a7a45788004841776de0a9f
22
23depends_build       port:libtool  \
24                    port:autoconf \
25                    port:automake
26
27patchfiles          patch-autogen.sh.diff
28
29pre-configure {
30    system -W ${worksrcpath} "./autogen.sh"
31}
32
33platform i386 {
34    variant sse2 description {Enable SSE2} {
35        configure.args-append  --enable-sse2
36    }
37
38    default_variants    +sse2
39}
Note: See TracBrowser for help on using the repository browser.