source: trunk/dports/games/blobwars/Portfile @ 86632

Last change on this file since 86632 was 86632, checked in by ryandesign@…, 9 years ago

Rewrite master_sites to avoid redirects

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 KB
Line 
1# $Id: Portfile 86632 2011-10-30 12:24:57Z ryandesign@macports.org $
2
3PortSystem              1.0
4PortGroup               app 1.0
5
6name                    blobwars
7version                 1.19
8categories              games
9platforms               darwin
10maintainers             nomaintainer
11license                 GPL-2+
12installs_libs           no
13
14description             jump and run game featuring a Blob as main character
15long_description        In Blob Wars : Metal Blob Solid, you take on the role \
16                        of a fearless Blob agent, Bob. Bob's mission is to \
17                        infiltrate the various enemy bases around the Blobs' \
18                        homeworld and rescue as many MIAs as possible. But \
19                        standing in his way are many vicious aliens, other \
20                        Blobs who have been assimilated and the evil alien \
21                        leader, Galdov.
22
23homepage                http://www.parallelrealities.co.uk/projects/blobWars.php
24master_sites            sourceforge:project/blobwars
25
26checksums               rmd160  39a2bf865e7c2af97dcb2d26e06604e8d1fcc62f \
27                        sha256  f9bafe59ead9e370ceaba4aae3d280241bf05fa06c8ae006eec0322c2fe9e2ed
28
29depends_lib             port:gettext \
30                        path:lib/pkgconfig/sdl.pc:libsdl \
31                        port:libsdl_image \
32                        port:libsdl_ttf \
33                        port:libsdl_mixer \
34                        port:libsdl_net \
35                        port:zlib
36
37post-extract {
38    copy ${filespath}/${name}.in ${workpath}/${name}
39}
40
41patchfiles              patch-makefile.diff patch-src_pak.h.diff
42
43post-patch {
44    reinplace "s|@PREFIX@|${prefix}|g" ${workpath}/${name}
45}
46
47use_configure           no
48
49variant universal {}
50
51use_parallel_build      yes
52build.args              PREFIX=${prefix}
53build.env               CXX="${configure.cxx} [get_canonical_archflags]" \
54                        CFLAGS=${configure.cppflags}
55
56destroot.destdir        PREFIX=${destroot}${prefix}
57
58post-destroot {
59    file delete -force ${destroot}${prefix}/share/applications \
60        ${destroot}${prefix}/share/icons
61}
62
63app.name                Blob Wars
64app.executable          ${workpath}/${name}
65app.icon                gfx/main/alienDevice.png
66app.identifier          uk.co.parallelrealities.BlobWars
67
68livecheck.regex         /${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.