# -*- 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
# $Id: Portfile 58657 2009-10-02 14:43:13Z nox@macports.org $

PortSystem      1.0
PortGroup       xcode 1.0

name            libsdl-framework
set my_name     SDL
version         20091002
categories      devel multimedia
maintainers     nox 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 ${prefix}/Library/Frameworks/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
}

universal_variant   no

livecheck.type  none
