source: trunk/dports/devel/libsdl_net-framework/Portfile

Last change on this file was 89087, checked in by jmr@…, 6 years ago

libsdl_net-framework: switch to creating framework the same way as libsdl-framework

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 880 bytes
Line 
1# $Id: Portfile 89087 2012-01-19 06:28:40Z ryandesign@macports.org $
2
3PortSystem      1.0
4
5name            libsdl_net-framework
6version         1.2.8
7categories      devel net
8platforms       darwin
9license         BSD
10supported_archs noarch
11maintainers     jmr openmaintainer
12description     Framework version of libsdl_net
13
14long_description \
15    ${description}
16
17homepage        http://www.libsdl.org/projects/SDL_net/
18distfiles
19
20depends_run     port:libsdl-framework port:libsdl_net
21
22use_configure   no
23build           {}
24
25destroot {
26    set path ${frameworks_dir}/SDL_net.framework
27    xinstall -d ${destroot}${path}/Versions/A/Headers
28
29    ln -sf ${prefix}/lib/libSDL_net.dylib ${destroot}${path}/Versions/A/SDL_net
30    ln -sf Versions/A/SDL_net ${destroot}${path}/SDL_net
31
32    ln -sf ${prefix}/include/SDL/SDL_net.h ${destroot}${path}/Versions/A/Headers/
33    ln -sf Versions/A/Headers ${destroot}${path}/Headers
34}
35
36livecheck.type  none
Note: See TracBrowser for help on using the repository browser.