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

Last change on this file was 75300, checked in by jmr@…, 7 years ago

libsdl_gfx-framework: fix link names (#24781), use frameworks_dir, mark noarch, depend on libsdl-framework, cleanup

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
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 75300 2011-01-20 10:53:43Z ryandesign@macports.org $
3
4PortSystem      1.0
5
6name            libsdl_gfx-framework
7set my_name     SDL_gfx
8version         20110120
9categories      devel graphics
10platforms       macosx
11supported_archs noarch
12maintainers     nomaintainer
13description     Framework version of libsdl_gfx
14
15long_description \
16    ${description}
17
18homepage        http://www.ferzkopp.net/~aschiffler/Software/SDL_gfx-2.0/
19distfiles
20
21depends_run     port:libsdl_gfx port:libsdl-framework
22
23use_configure   no
24build           {}
25
26destroot {
27    set path ${frameworks_dir}/SDL_gfx.framework
28    xinstall -d ${destroot}${path}/Versions/A/Headers
29
30    ln -sf ${prefix}/lib/libSDL_gfx.dylib ${destroot}${path}/Versions/A/SDL_gfx
31    ln -sf Versions/A/SDL_gfx ${destroot}${path}/SDL_gfx
32    ln -sf Versions/A/Headers ${destroot}${path}/Headers
33
34    set headers {
35        framerate
36        gfxBlitFunc
37        gfxPrimitives
38        gfxPrimitives_font
39        imageFilter
40        rotozoom
41    }
42
43    foreach h ${headers} {
44        ln -s ${prefix}/include/SDL/SDL_${h}.h \
45            ${destroot}${path}/Versions/A/Headers
46    }
47}
48
49livecheck.type  none
Note: See TracBrowser for help on using the repository browser.