[27462] trunk/dports/games/raceintospace/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Sat Aug 4 02:27:34 PDT 2007
Revision: 27462
http://trac.macosforge.org/projects/macports/changeset/27462
Author: ryandesign at macports.org
Date: 2007-08-04 02:27:34 -0700 (Sat, 04 Aug 2007)
Log Message:
-----------
raceintospace: now also download necessary datafiles. Thanks to Simon Ruderich. Ticket #12368.
Modified Paths:
--------------
trunk/dports/games/raceintospace/Portfile
Modified: trunk/dports/games/raceintospace/Portfile
===================================================================
--- trunk/dports/games/raceintospace/Portfile 2007-08-04 09:03:19 UTC (rev 27461)
+++ trunk/dports/games/raceintospace/Portfile 2007-08-04 09:27:34 UTC (rev 27462)
@@ -4,6 +4,7 @@
name raceintospace
version 0.4.5
+revision 1
categories games
platforms darwin
maintainers raceintospace.org:mkmccarty
@@ -13,9 +14,30 @@
homepage http://raceintospace.sourceforge.net/
master_sites sourceforge:raceintospace
-checksums md5 e7987f9a26c61fc0fe50833fdd41ffa1
+set source_file ${distname}${extract.suffix}
+set data_file ${name}-data-${version}${extract.suffix}
+
+distfiles ${source_file} ${data_file}
+
+checksums \
+ ${source_file} \
+ md5 e7987f9a26c61fc0fe50833fdd41ffa1 \
+ sha1 abe71d9ee14254662fd671cb9a5479df298a934f \
+ rmd160 d5cca12d65a8b6b998186c310bac51da0987f6ce \
+ ${data_file} \
+ md5 618f3d68f6d2d49567b34e09c143221b \
+ sha1 4d8866239be5319f6a77e276c42bac0b0f1ff764 \
+ rmd160 2865debe15e60ee1870eee78e625a4b9e082b869
+
depends_lib port:libsdl \
port:libogg \
port:libvorbis \
port:libtheora
+
+post-destroot {
+ # move the game data into the destroot directory
+ foreach dir {audio gamedata images video} {
+ file copy ${workpath}/${dir} ${destroot}${prefix}/share/raceintospace/${dir}
+ }
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070804/4186ce0f/attachment.html
More information about the macports-changes
mailing list