# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4

PortSystem      1.0

name            libsdl-framework
version         20110119
categories      devel multimedia
platforms       {darwin any}
license         BSD
maintainers     {jmr @jmroot} openmaintainer
description     Framework version of libsdl

long_description \
    ${description}

homepage        http://www.libsdl.org/
distfiles

depends_run     port:libsdl

use_configure   no
build           {}

destroot {
    set path ${frameworks_dir}/SDL.framework
    xinstall -d ${destroot}${path}/Versions/A

    ln -sf ${prefix}/lib/libSDL.dylib ${destroot}${path}/Versions/A/SDL
    ln -sf Versions/A/SDL ${destroot}${path}/SDL

    ln -sf ${prefix}/include/SDL ${destroot}${path}/Versions/A/Headers
    ln -sf Versions/A/Headers ${destroot}${path}/Headers
}

livecheck.type  none
