source: trunk/dports/games/raceintospace/Portfile @ 27462

Last change on this file since 27462 was 27462, checked in by ryandesign@…, 12 years ago

raceintospace: now also download necessary datafiles. Thanks to Simon Ruderich. Ticket #12368.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
RevLine 
[27461]1# $Id: Portfile 27462 2007-08-04 09:27:34Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            raceintospace
6version         0.4.5
[27462]7revision        1
[27461]8categories      games
9platforms       darwin
10maintainers     raceintospace.org:mkmccarty
11
12description     Open Source version of old MS-DOS game Buzz Aldrin's Race Into Space
13long_description        ${description}
14
15homepage        http://raceintospace.sourceforge.net/
16master_sites    sourceforge:raceintospace
17
[27462]18set source_file ${distname}${extract.suffix}
19set data_file ${name}-data-${version}${extract.suffix}
20
21distfiles ${source_file} ${data_file}
22
23checksums \
24        ${source_file} \
25                md5 e7987f9a26c61fc0fe50833fdd41ffa1 \
26                sha1 abe71d9ee14254662fd671cb9a5479df298a934f \
27                rmd160 d5cca12d65a8b6b998186c310bac51da0987f6ce \
28        ${data_file} \
29                md5 618f3d68f6d2d49567b34e09c143221b \
30                sha1 4d8866239be5319f6a77e276c42bac0b0f1ff764 \
31                rmd160 2865debe15e60ee1870eee78e625a4b9e082b869
32
[27461]33depends_lib     port:libsdl \
34                                                port:libogg \
35                                                port:libvorbis \
36                                                port:libtheora
[27462]37
38post-destroot {
39        # move the game data into the destroot directory
40        foreach dir {audio gamedata images video} {
41                file copy ${workpath}/${dir} ${destroot}${prefix}/share/raceintospace/${dir}
42        }
43}
Note: See TracBrowser for help on using the repository browser.