# $Id: Portfile 64725 2010-03-15 13:11:19Z nox@macports.org $

PortSystem      1.0
PortGroup       xcode 1.0

name            libsdl_ttf-framework
version         20100314
categories      devel graphics
maintainers     nox openmaintainer
description     Framework version of libsdl_ttf

long_description \
    ${description}

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

depends_run     port:libsdl_ttf

use_configure   no
build           {}

destroot {
    set path ${prefix}/Library/Frameworks/SDL_ttf.framework
    xinstall -d ${destroot}${path}/Versions/A/Headers

    ln -sf ${prefix}/lib/libSDL_ttf.dylib ${destroot}${path}/Versions/A/SDL_ttf
    ln -sf Versions/A/SDL_ttf ${destroot}${path}/SDL_ttf

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

universal_variant   no

livecheck.type  none
