source: trunk/dports/games/SDLInvaders/Portfile @ 19869

Last change on this file since 19869 was 5452, checked in by mww, 16 years ago

Submitted by: toby@

change permissions of highscore file (oh and only write to ${destroot} during destroot)

  • Property svn:eol-style set to native
File size: 944 bytes
Line 
1# $Id: Portfile,v 1.4 2004/02/13 18:25:05 mww Exp $
2
3PortSystem 1.0
4
5name            SDLInvaders
6version         0.8.0
7categories      games
8platforms       darwin
9maintainers     mww@opendarwin.org
10description     simple clone of the famous Space Invaders game.
11long_description        ${description}
12
13homepage        http://www.sdlinvaders.de/
14master_sites    http://home.snafu.de/nath/SDLInvaders/
15checksums       md5 f3fbca07eb05acfae23d2d554a0f1375
16
17depends_lib     lib:libsdl:libsdl \
18                lib:libsdl_image:libsdl_image \
19                lib:libsdl_mixer:libsdl_mixer
20
21configure.env   CFLAGS=-I${prefix}/include \
22                LDFLAGS=-L${prefix}/lib
23configure.args  --disable-sdltest
24
25build.env       ${configure.env}
26
27variant darwin  {
28        post-destroot   {
29                file attributes \
30                        ${destroot}${prefix}/share/SDLInvaders/highscores \
31                        -permissions +w
32                file mkdir ${destroot}/Applications/DarwinPorts/${name}.app/Contents/MacOS
33                system "ln -s ${prefix}/bin/${name} \
34                        ${destroot}/Applications/DarwinPorts/${name}.app/Contents/MacOS"
35        }
36}
Note: See TracBrowser for help on using the repository browser.