source: trunk/dports/games/glob2/Portfile

Last change on this file was 115019, checked in by ryandesign@…, 4 years ago

revbump ports depending on libpng following libpng 1.6.x update (#41842)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.7 KB
Line 
1# $Id: Portfile 115019 2013-12-22 09:29:46Z ryandesign@macports.org $
2
3PortSystem          1.0
4
5name                glob2
6version             0.9.3
7revision            7
8categories          games
9license             GPL-3+
10platforms           darwin
11maintainers         nomaintainer
12description         Globulation 2 - a free and innovative strategy game
13long_description    Globulation 2 is an innovative high quality Real-Time \
14                    Strategy, which minimizes micro-management by \
15                    automatically assigning tasks to the units. The player \
16                    has to choose the number of units he wants for the \
17                    different tasks, and the units will do their best to \
18                    satisfy the requests. This allows to manage more units \
19                    and to focus on the strategy. It can be played alone, \
20                    through your Local Area Network, or through Internet \
21                    thanks to Ysagoon Online Game, a meta-server. It also \
22                    features a scripting language for versatile gameplay or \
23                    tutorials and an integrated map editor.
24
25homepage            http://globulation2.org/
26master_sites        http://dl.sv.nongnu.org/releases/glob2/${version}/
27checksums           md5 e0483d5864cff4ace5ac8e39eae27429 \
28                    sha1 669a43707cf03e4e810e77ef8bef2f46f1116090 \
29                    rmd160 266edd6a57f1e8ea8e1effac3871f3c0083fc05f
30
31depends_build       port:scons
32depends_lib         port:boost \
33                    port:freetype \
34                    port:jpeg \
35                    port:libiconv \
36                    port:libogg \
37                    port:libpng \
38                    port:libsdl \
39                    port:libsdl_image \
40                    port:libsdl_net \
41                    port:libsdl_ttf \
42                    port:libvorbis\
43                    path:lib/libspeex.dylib:speex \
44                    port:tiff \
45                    port:zlib
46
47patchfiles          patch-SConstruct.diff
48
49use_configure       no
50
51set buildoptions    "BINDIR=\"${destroot}${prefix}/bin\" \
52                     INSTALLDIR=\"${destroot}${prefix}/share\" \
53                     DATADIR=\"${prefix}/share/glob2\" \
54                     CXXFLAGS=\"-I${prefix}/include\" \
55                     LINKFLAGS=\"-L${prefix}/lib\""
56
57pre-build {
58    # The destroot directories must be created here so scons can find them
59    # during the build.
60    xinstall -d ${destroot}${prefix}/bin
61    xinstall -d ${destroot}${prefix}/share
62}
63
64build.cmd           ${prefix}/bin/scons
65build.target        $buildoptions
66
67destroot.target     "install $buildoptions"
68
69livecheck.type      regex
70livecheck.url       http://globulation2.org/wiki/Download_and_Install
71livecheck.regex     /${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.