source: trunk/dports/devel/libsdl-framework/Portfile @ 75269

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

libsdl-framework: use frameworks_dir, mark noarch, cleanup

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 918 bytes
Line 
1# -*- 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
2# $Id: Portfile 75269 2011-01-19 13:44:11Z jmr@macports.org $
3
4PortSystem      1.0
5
6name            libsdl-framework
7version         20110119
8categories      devel multimedia
9platforms       darwin
10supported_archs noarch
11maintainers     jmr openmaintainer
12description     Framework version of libsdl
13
14long_description \
15    ${description}
16
17homepage        http://www.libsdl.org/
18distfiles
19
20depends_run     port:libsdl
21
22use_configure   no
23build           {}
24
25destroot {
26    set path ${frameworks_dir}/SDL.framework
27    xinstall -d ${destroot}${path}/Versions/A
28
29    ln -sf ${prefix}/lib/libSDL.dylib ${destroot}${path}/Versions/A/SDL
30    ln -sf Versions/A/SDL ${destroot}${path}/SDL
31
32    ln -sf ${prefix}/include/SDL ${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.