[82823] trunk/dports/games/wesnoth/Portfile

ryandesign at macports.org ryandesign at macports.org
Sat Aug 20 18:07:08 PDT 2011


Revision: 82823
          http://trac.macports.org/changeset/82823
Author:   ryandesign at macports.org
Date:     2011-08-20 18:07:08 -0700 (Sat, 20 Aug 2011)
Log Message:
-----------
wesnoth: update to 1.8.6; use app portgroup and add app icon; rewrite master_sites to avoid redirects; fix livecheck; see #30843

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

Modified: trunk/dports/games/wesnoth/Portfile
===================================================================
--- trunk/dports/games/wesnoth/Portfile	2011-08-21 01:02:14 UTC (rev 82822)
+++ trunk/dports/games/wesnoth/Portfile	2011-08-21 01:07:08 UTC (rev 82823)
@@ -1,15 +1,17 @@
 # $Id$
 
 PortSystem              1.0
+PortGroup               app 1.0
 
 name                    wesnoth
-version                 1.8.5
+version                 1.8.6
+set branch              [join [lrange [split ${version} .] 0 1] .]
 categories              games
 platforms               darwin
 maintainers             nodetwo.com:jordan
 license                 GPL-2+
 homepage                http://www.wesnoth.org/
-master_sites            sourceforge
+master_sites            sourceforge:project/wesnoth/wesnoth-${branch}/wesnoth-${version}
 use_bzip2               yes
 use_parallel_build      yes
 supported_archs         i386 ppc
@@ -24,8 +26,8 @@
                         levels, and are carried over from one scenario to the \
                         next campaign.
 
-checksums               sha1    22c6cc10dc7172daf636158dba0acac35f538597 \
-                        rmd160  c2a6a9f094b862ef274838fd062c5d961f97c261
+checksums               rmd160  2190efe45d554df59052db1a58fcc3bdf766c47e \
+                        sha256  4fe603fa984ac76a384dc94ba28bd99fe2d1adf02ddf1706f2fa1b82b40f8081
 
 depends_lib             port:xorg-libX11 \
                         port:boost \
@@ -60,12 +62,7 @@
 
 configure.cppflags-append   -DBOOST_IOSTREAMS_USE_DEPRECATED
 
-platform macosx {
-    pre-destroot {
-        xinstall -d ${destroot}${applications_dir}/Wesnoth.app/Contents/MacOS
-        ln -sf ${prefix}/bin/wesnoth \
-            ${destroot}${applications_dir}/Wesnoth.app/Contents/MacOS/Wesnoth
-    }
-}
+app.icon                icons/wesnoth-icon-Mac.png
 
-livecheck.regex         <title>${name}.* ${name}-(\[0-9\]+\\.\[0-9\]*\[02468\](\\.\[0-9\]+)*) released.*</title>
+livecheck.type          sourceforge
+livecheck.regex         /${name}-(\[0-9\]+\\.\[0-9\]*\[02468\](\\.\[0-9\]+)*)${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110820/baddcbaf/attachment.html>


More information about the macports-changes mailing list