source: trunk/dports/games/pioneers/Portfile

Last change on this file was 152124, checked in by snc@…, 11 months ago

pioneers: update to 15.4

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.8 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 152124 2016-08-29 15:35:33Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           app 1.0
6
7name                pioneers
8version             15.4
9categories          games
10license             GPL
11maintainers         snc gmail.com:jweede
12description         Multiplayer strategy board game for GNOME
13long_description    A GNOME/GTK+2 clone of the board game Settlers of Catan. \
14                    Colonize the island, get all the resources, and frustrate \
15                    your opponents. \n\
16                    \nPioneers includes the standard game, the 5-6 player board,\
17                    Seafarers, many custom layouts, and a board layout editor.\
18                    The game can be played against an AI or with other humans\
19                    over a network or both.
20
21homepage            http://pio.sourceforge.net/
22platforms           freebsd darwin
23depends_build       port:intltool \
24                    port:pkgconfig \
25                    port:rarian
26depends_lib         port:atk \
27                    path:lib/pkgconfig/cairo.pc:cairo \
28                    port:fontconfig \
29                    port:freetype \
30                    port:gdk-pixbuf2 \
31                    port:gettext \
32                    path:lib/pkgconfig/glib-2.0.pc:glib2 \
33                    port:gtk3 \
34                    path:lib/pkgconfig/pango.pc:pango
35                    #port:libpng
36# port:xorg-libX11 \
37#                    port:xorg-libXau port:xorg-libXcomposite port:xorg-libXcursor \
38#                    port:xorg-libXdamage port:xorg-libXdmcp port:xorg-libXext \
39#                    port:xorg-libXfixes port:xorg-libXi port:xorg-libXinerama \
40#                    port:xorg-libXrandr port:xorg-libxcb port:xrender port:zlib
41                   
42
43master_sites        sourceforge:pio
44
45checksums           rmd160  2c8abaf9146057ce8010aa301619f7104c4217ef \
46                    sha256  9a0d3198dc0ddf131d9e6d6e9992347fe2a2d99f508f1be1b30c5797210a2ddc
47
48post-extract {
49    copy ${filespath}/launcher.sh ${worksrcpath}
50}
51
52post-patch {
53    reinplace s|@PREFIX@|${prefix}| ${worksrcpath}/launcher.sh
54}
55
56configure.env-append    with_avahi=no
57post-configure {
58    reinplace {s| -Wl,-z,relro -Wl,-z,now||} ${worksrcpath}/Makefile
59    reinplace s|-Wl,--as-needed|| ${worksrcpath}/Makefile
60}
61
62post-activate {
63    system "${prefix}/bin/gtk-update-icon-cache-3.0 --ignore-theme-index ${prefix}/share/icons/hicolor"
64    system "${prefix}/bin/update-mime-database -V ${prefix}/share/mime"
65    system "${prefix}/bin/gdk-pixbuf-query-loaders > ${prefix}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache"
66}
67
68app.name            Pioneers
69app.executable      ${worksrcpath}/launcher.sh
70app.icon            ${filespath}/logo.png
71
72livecheck.url       http://sourceforge.net/projects/pio/files/
73livecheck.regex     ${name}-(\\d+(\\.\\d+)+)
Note: See TracBrowser for help on using the repository browser.