source: trunk/dports/audio/libsdl_mixer-framework/Portfile @ 75277

Last change on this file since 75277 was 75277, checked in by jmr@…, 8 years ago

libsdl_mixer-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: 885 bytes
Line 
1# $Id: Portfile 75277 2011-01-19 16:38:42Z jmr@macports.org $
2
3PortSystem      1.0
4
5name            libsdl_mixer-framework
6version         20110119
7categories      audio devel
8platforms       darwin
9supported_archs noarch
10maintainers     jmr openmaintainer
11description     Framework version of libsdl_mixer
12
13long_description \
14    ${description}
15
16homepage        http://www.libsdl.org/projects/SDL_mixer/
17distfiles
18
19depends_run     port:libsdl-framework port:libsdl_mixer
20
21use_configure   no
22build           {}
23
24destroot {
25    set path ${frameworks_dir}/SDL_mixer.framework
26    xinstall -d ${destroot}${path}/Versions/A/Headers
27
28    ln -sf ${prefix}/lib/libSDL_mixer.dylib ${destroot}${path}/Versions/A/SDL_mixer
29    ln -sf Versions/A/SDL_mixer ${destroot}${path}/SDL_mixer
30
31    ln -sf ${prefix}/include/SDL/SDL_mixer.h ${destroot}${path}/Versions/A/Headers/
32    ln -sf Versions/A/Headers ${destroot}${path}/Headers
33}
34
35livecheck.type  none
Note: See TracBrowser for help on using the repository browser.