source: trunk/dports/games/starfighter/Portfile @ 32662

Last change on this file since 32662 was 31341, checked in by saispo@…, 12 years ago

Fix master_sites URL

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 31341 2007-11-20 15:45:13Z saispo@macports.org $
2
3PortSystem 1.0
4
5name            starfighter
6version         1.1-1
7categories      games
8platforms       darwin
9maintainers     nomaintainer
10description     2D Space Shooter
11long_description        2D Space Shooter\; after decades of war one company, \
12                        who had gained powerful supply both sides with \
13                        weaponary, steps forwards and crushes both warring \
14                        factions in one swift movement. Using far superior \
15                        weaponary and AI craft, the company was completely \
16                        unstoppable and now no one can stand in their way. \
17                        Thousands began to perish under the iron fist of the \
18                        company. The people cried out for a saviour, for \
19                        someone to light this dark hour... and someone did.
20
21homepage        http://www.parallelrealities.co.uk/starfighter.php
22master_sites    http://www.sourcefiles.org/Games/Arcade/
23checksums       md5 6a4b704dbc83c7403842b936f95ee958
24patchfiles      patch-makefile.diff
25
26post-extract    {
27        file rename ${workpath}/starfighter-1.1 ${worksrcpath}
28}
29
30depends_lib     bin:sdl-config:libsdl \
31                lib:libSDL_mixer:libsdl_mixer \
32                lib:libSDL_image:libsdl_image
33
34use_configure   no
35
36build.args      PREFIX=${prefix}
37
38destroot.destdir        PREFIX=${destroot}${prefix}
39
40post-destroot   {
41        xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name} \
42                ${destroot}/Applications/MacPorts/Starfighter.app/Contents/MacOS
43        xinstall -m 644 ${worksrcpath}/docs/LICENSE \
44                ${destroot}${prefix}/share/doc/${name}
45        system "ln -s ${prefix}/bin/starfighter ${destroot}/Applications/MacPorts/Starfighter.app/Contents/MacOS/Starfighter"
46}
Note: See TracBrowser for help on using the repository browser.