Ignore:
Timestamp:
Aug 4, 2007, 9:27:34 AM (12 years ago)
Author:
ryandesign@…
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/games/raceintospace/Portfile

    r27461 r27462  
    55name            raceintospace
    66version         0.4.5
     7revision        1
    78categories      games
    89platforms       darwin
     
    1415homepage        http://raceintospace.sourceforge.net/
    1516master_sites    sourceforge:raceintospace
    16 checksums       md5 e7987f9a26c61fc0fe50833fdd41ffa1
     17
     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
    1732
    1833depends_lib     port:libsdl \
     
    2035                                                port:libvorbis \
    2136                                                port:libtheora
     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 TracChangeset for help on using the changeset viewer.