PortSystem      1.0

name            libsdl_net-framework
version         1.2.8
categories      devel net
platforms       {darwin any}
license         BSD
maintainers     {jmr @jmroot} openmaintainer
description     Framework version of libsdl_net

long_description \
    ${description}

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

depends_run     port:libsdl-framework port:libsdl_net

use_configure   no
build           {}

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

    ln -sf ${prefix}/lib/libSDL_net.dylib ${destroot}${path}/Versions/A/SDL_net
    ln -sf Versions/A/SDL_net ${destroot}${path}/SDL_net

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

livecheck.type  none
