[39179] trunk/dports/games/rrgbis

simon at macports.org simon at macports.org
Mon Aug 11 07:38:22 PDT 2008


Revision: 39179
          http://trac.macosforge.org/projects/macports/changeset/39179
Author:   simon at macports.org
Date:     2008-08-11 07:38:21 -0700 (Mon, 11 Aug 2008)
Log Message:
-----------
games/rrgbis: Updated to 1.11.

Modified Paths:
--------------
    trunk/dports/games/rrgbis/Portfile

Removed Paths:
-------------
    trunk/dports/games/rrgbis/files/patch-Makefile.diff

Modified: trunk/dports/games/rrgbis/Portfile
===================================================================
--- trunk/dports/games/rrgbis/Portfile	2008-08-11 14:01:53 UTC (rev 39178)
+++ trunk/dports/games/rrgbis/Portfile	2008-08-11 14:38:21 UTC (rev 39179)
@@ -3,7 +3,7 @@
 PortSystem          1.0
 
 name                rrgbis
-version             1.06-2
+version             1.11
 categories          games
 platforms           darwin
 maintainers         simon openmaintainer
@@ -12,10 +12,19 @@
 
 homepage            http://rrgbis.sourceforge.net/
 master_sites        sourceforge
-checksums           md5 195038ed3b76e2189fa126e0c88ddcba \
-                    sha1 82b65ad78de21f3760a51377f4ed75c3b497780b \
-                    rmd160 bab91a9d4ead8e0aa6c4986c0f0ecae679ac3871
 use_bzip2           yes
+set source          rrgbis-${version}-src${extract.suffix}
+set data            rrgbis-${version}-data${extract.suffix}
+distfiles           ${source} \
+                    ${data}
+checksums           ${source} \
+                        md5 9bfddad4d0e106592eb942729d8c123a \
+                        sha1 531e5df0d45696b2e6da18763a72247bf9613d53 \
+                        rmd160 7321f49031031365b69ada356d263fb05adc2873 \
+                    ${data} \
+                        md5 abd55dc67686ac99e96f9db2e59b5981 \
+                        sha1 bbfb809982f3c1a9d39d1685f23bd2e6b9b5599e \
+                        rmd160 65d9eca5be7c67d3e3c48bf90fb4a5a17f2bada4
 worksrcdir          ${name}
 
 depends_lib         port:libsdl \
@@ -23,8 +32,7 @@
                     port:libsdl_mixer \
                     port:libvorbis
 
-patchfiles          patch-Makefile.diff \
-                    patch-src_GLSDL.cpp.diff
+patchfiles          patch-src_GLSDL.cpp.diff
 
 pre-patch {
     # Convert files from DOS to UNIX linefeeds before patching.
@@ -35,9 +43,11 @@
     reinplace "s|pwd|${prefix}/share/rrgbis/|g" ${worksrcpath}/settings.dat
 }
 
-use_configure       no
+configure {
+    system "cd ${worksrcpath}/src/FTGL; ${configure.env} ./configure ${configure.pre_args}"
+}
 
-build.target        {}
+build.target        default
 
 destroot {
     # Install the helper script which automatically sets the correct
@@ -56,7 +66,7 @@
     # Create the directory for the rrgbis data.
     xinstall -d ${destroot}${prefix}/share/rrgbis
     # Copy all data files and directories to ${destroot}.
-    set files {aiscripts images missions music settings.dat sound \
+    set files {aiscripts fonts images missions music settings.dat sound \
                squirrelscripts unitdata unitpictures}
     foreach file $files {
         move ${worksrcpath}/${file} ${destroot}${prefix}/share/rrgbis/${file}
@@ -75,5 +85,3 @@
     ui_msg "*                                                              *"
     ui_msg "****************************************************************"
 }
-
-livecheck.version   1.06

Deleted: trunk/dports/games/rrgbis/files/patch-Makefile.diff
===================================================================
--- trunk/dports/games/rrgbis/files/patch-Makefile.diff	2008-08-11 14:01:53 UTC (rev 39178)
+++ trunk/dports/games/rrgbis/files/patch-Makefile.diff	2008-08-11 14:38:21 UTC (rev 39179)
@@ -1,11 +0,0 @@
---- Makefile	2008-02-05 01:40:16.000000000 +0100
-+++ Makefile	2008-02-05 01:41:26.000000000 +0100
-@@ -11,7 +11,7 @@
- #if making rrgbis64 (though it will still crash):
- #CXXFLAGS = $(shell sdl-config --cflags) -D_SQ64 -Isrc/squirrel/include -O3
- CXXFLAGS = $(shell sdl-config --cflags) -Isrc/squirrel/include -O3
--LDFLAGS = $(shell sdl-config --libs) -lSDL_image -lSDL_mixer -lGL -L$(SQUIRREL)/lib
-+LDFLAGS = $(shell sdl-config --libs) -lSDL_image -lSDL_mixer -lGL -L$(SQUIRREL)/lib -L/usr/X11R6/lib
- LIBS = -lsquirrel -lsqstdlib
- 
- SOURCES = $(wildcard src/*.cpp) $(wildcard src/scripting/*.cpp)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080811/567575e7/attachment.html 


More information about the macports-changes mailing list