# $Id: Portfile 104991 2013-04-06 23:05:55Z mfeiri@macports.org $

PortSystem              1.0
PortGroup               xcode 1.0

name                    libm-headers
version                 2026
categories              devel
maintainers             mfeiri openmaintainer
supported_archs         noarch

homepage                http://opensource.apple.com/source/Libm/
master_sites            http://opensource.apple.com/tarballs/Libm/
license                 APSL-1.1 APSL-2
description             Typedefs, function prototypes, and macros for working \
                        with C99 floating point and complex math.
long_description        ${description} Headers only, because the library is \
                        included in the base operating system.

distname                Libm-${version}
checksums               rmd160  6591bc8f7100c9dc1c9cbc93110e80c25409b759 \
                        sha256  876a4fbce9818c2d508a066a14f38f565ff3ef23ab42a69df77b4bf1a2404d0b

xcode.target            InstallHeaders
xcode.destroot.settings PUBLIC_HEADERS_FOLDER_PATH=${prefix}/include

platform darwin 9 {
    version             292.4
    distname            Libm-${version}
    checksums           rmd160  59e0a551f7dd98cde75b3cac805a38dbfa73107f \
                        sha256  1e0bbd14fb0ec0eb38f59ea1c32e98fb964101d397d9efc9f2310ce2be1f2d4c
}

platform darwin 10 {
    version             315
    distname            Libm-${version}
    checksums           rmd160  25af4f3b4d17abe8f96f99404b35e521e36a4eff \
                        sha256  ca17eb421518aef01ba0b7144c01cee12297ca98a481bf029f5ea81c9dfaa1e2
}

livecheck.type          regex
livecheck.regex         "Libm-(\[\\d.\]+)"
