[153719] trunk/dports/games/widelands

khindenburg at macports.org khindenburg at macports.org
Sun Oct 9 02:52:01 CEST 2016


Revision: 153719
          https://trac.macports.org/changeset/153719
Author:   khindenburg at macports.org
Date:     2016-10-08 17:52:00 -0700 (Sat, 08 Oct 2016)
Log Message:
-----------
widelands: update to build18 maintainer #52188

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

Removed Paths:
-------------
    trunk/dports/games/widelands/files/

Modified: trunk/dports/games/widelands/Portfile
===================================================================
--- trunk/dports/games/widelands/Portfile	2016-10-08 19:17:29 UTC (rev 153718)
+++ trunk/dports/games/widelands/Portfile	2016-10-09 00:52:00 UTC (rev 153719)
@@ -3,10 +3,10 @@
 
 PortSystem          1.0
 PortGroup           cmake 1.0
+PortGroup           cxx11 1.0
 
 name                widelands
-version             build17
-revision            7
+version             build18
 categories          games
 platforms           darwin
 maintainers         nomaintainer
@@ -22,15 +22,13 @@
                     widelands is heavily inspired by those two games.
 
 homepage            http://wl.widelands.org/
-master_sites        https://launchpad.net/${name}/${version}/build-17/+download/
-
+master_sites        https://launchpad.net/${name}/${version}/build-18/+download/
 use_bzip2           yes
 distfiles           ${distname}-src${extract.suffix}
-worksrcdir          ${distname}-src/build
+worksrcdir          ${distname}-src/
+checksums           rmd160  9af8cf7b8108475bec23ac94c2ac05f4d9a60d67 \
+                    sha256  6dffd9178f93ff7a9c3c0c9b31b7d3b8eb060c79fbd98901e6311837390b7de3
 
-checksums           rmd160  4ea81d21d3b3e02fc22194d1a39e8c08e05aaa44 \
-                    sha256  be48b3b8f342a537b39a3aec2f7702250a6a47e427188ba3bece67d7d90f3cc5
-
 depends_lib         port:libsdl \
                     port:libsdl_image \
                     port:libsdl_mixer \
@@ -39,19 +37,16 @@
                     port:libsdl_gfx \
                     port:boost \
                     port:glew \
-                    port:lua
+                    port:lua51
 
-# https://code.launchpad.net/~peter.waller/widelands/fix-clang-crashes/+merge/103991
-patchfiles          clang.patch
-patch.dir           ${worksrcpath}/..
+cmake.out_of_source yes
+configure.env       LUA_DIR=${prefix}/lib/lua-5.1
+configure.args      -DLUA_INCLUDE_DIR="${prefix}/include/lua-5.1" -DCMAKE_INSTALL_PREFIX:PATH="${applications_dir}/Widelands.app/Contents/MacOS"
 
-configure.args      ../ \
-                    -DCMAKE_INSTALL_PREFIX:PATH="${applications_dir}/Widelands.app/Contents/MacOS"
-
 pre-destroot {
     xinstall -d ${destroot}${applications_dir}/Widelands.app/Contents/Resources \
                 ${destroot}${applications_dir}/Widelands.app/MacOS
-    file copy ${worksrcpath}/../pics/widelands.icns ${destroot}${applications_dir}/Widelands.app/Contents/Resources/widelands.icns
+    file copy ${worksrcpath}/pics/widelands.icns ${destroot}${applications_dir}/Widelands.app/Contents/Resources/widelands.icns
     set data    " {\n\
                 CFBundleName = widelands;\n\
                 CFBundleDisplayName = Widelands;\n\
@@ -68,3 +63,9 @@
     puts -nonewline $fileId $data
     close $fileId
 }
+
+notes \
+"On some systems, Widelands might demonstrate button artifacts or other visual \
+ \nanomalies. If this occurs, consider editing ~/.widelands/config to change \
+ \nthe opengl setting to opengl=\"false.\""
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-changes/attachments/20161008/6c097618/attachment-0002.html>


More information about the macports-changes mailing list