New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 82823


Ignore:
Timestamp:
08/20/11 18:07:08 (4 years ago)
Author:
ryandesign@…
Message:

wesnoth: update to 1.8.6; use app portgroup and add app icon; rewrite master_sites to avoid redirects; fix livecheck; see #30843

File:
1 edited

Legend:

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

    r82508 r82823  
    22 
    33PortSystem              1.0 
     4PortGroup               app 1.0 
    45 
    56name                    wesnoth 
    6 version                 1.8.5 
     7version                 1.8.6 
     8set branch              [join [lrange [split ${version} .] 0 1] .] 
    79categories              games 
    810platforms               darwin 
     
    1012license                 GPL-2+ 
    1113homepage                http://www.wesnoth.org/ 
    12 master_sites            sourceforge 
     14master_sites            sourceforge:project/wesnoth/wesnoth-${branch}/wesnoth-${version} 
    1315use_bzip2               yes 
    1416use_parallel_build      yes 
     
    2527                        next campaign. 
    2628 
    27 checksums               sha1    22c6cc10dc7172daf636158dba0acac35f538597 \ 
    28                         rmd160  c2a6a9f094b862ef274838fd062c5d961f97c261 
     29checksums               rmd160  2190efe45d554df59052db1a58fcc3bdf766c47e \ 
     30                        sha256  4fe603fa984ac76a384dc94ba28bd99fe2d1adf02ddf1706f2fa1b82b40f8081 
    2931 
    3032depends_lib             port:xorg-libX11 \ 
     
    6163configure.cppflags-append   -DBOOST_IOSTREAMS_USE_DEPRECATED 
    6264 
    63 platform macosx { 
    64     pre-destroot { 
    65         xinstall -d ${destroot}${applications_dir}/Wesnoth.app/Contents/MacOS 
    66         ln -sf ${prefix}/bin/wesnoth \ 
    67             ${destroot}${applications_dir}/Wesnoth.app/Contents/MacOS/Wesnoth 
    68     } 
    69 } 
     65app.icon                icons/wesnoth-icon-Mac.png 
    7066 
    71 livecheck.regex         <title>${name}.* ${name}-(\[0-9\]+\\.\[0-9\]*\[02468\](\\.\[0-9\]+)*) released.*</title> 
     67livecheck.type          sourceforge 
     68livecheck.regex         /${name}-(\[0-9\]+\\.\[0-9\]*\[02468\](\\.\[0-9\]+)*)${extract.suffix} 
Note: See TracChangeset for help on using the changeset viewer.