# -*- 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 PortSystem 1.0 PortGroup app 1.0 name pioneers version 15.6 categories games license GPL maintainers {snc @nerdling} gmail.com:jweede description Multiplayer strategy board game for GNOME long_description A GNOME/GTK+2 clone of the board game Settlers of Catan. \ Colonize the island, get all the resources, and frustrate \ your opponents. \n\ \nPioneers includes the standard game, the 5-6 player board,\ Seafarers, many custom layouts, and a board layout editor.\ The game can be played against an AI or with other humans\ over a network or both. homepage http://pio.sourceforge.net/ platforms freebsd darwin depends_build port:intltool \ port:itstool \ port:pkgconfig \ port:rarian depends_lib port:atk \ path:lib/pkgconfig/cairo.pc:cairo \ port:fontconfig \ port:freetype \ path:lib/pkgconfig/gdk-pixbuf-2.0.pc:gdk-pixbuf2 \ port:gettext \ path:lib/pkgconfig/glib-2.0.pc:glib2 \ path:lib/pkgconfig/gtk+-3.0.pc:gtk3 \ path:lib/pkgconfig/pango.pc:pango #port:libpng # port:xorg-libX11 \ # port:xorg-libXau port:xorg-libXcomposite port:xorg-libXcursor \ # port:xorg-libXdamage port:xorg-libXdmcp port:xorg-libXext \ # port:xorg-libXfixes port:xorg-libXi port:xorg-libXinerama \ # port:xorg-libXrandr port:xorg-libxcb port:xrender port:zlib master_sites sourceforge:pio checksums rmd160 cbef5e5c3bc240c522e532c8539f1e41d0fa0335 \ sha256 9a358d88548e3866e14c46c2707f66c98f8040a7857d47965e1ed9805aeb631d \ size 5054353 post-extract { copy ${filespath}/launcher.sh ${worksrcpath} } post-patch { reinplace s|@PREFIX@|${prefix}| ${worksrcpath}/launcher.sh } configure.env-append with_avahi=no post-configure { reinplace {s| -Wl,-z,relro -Wl,-z,now||} ${worksrcpath}/Makefile reinplace s|-Wl,--as-needed|| ${worksrcpath}/Makefile } post-activate { system "${prefix}/bin/gtk-update-icon-cache-3.0 --ignore-theme-index ${prefix}/share/icons/hicolor" system "${prefix}/bin/update-mime-database -V ${prefix}/share/mime" system "${prefix}/bin/gdk-pixbuf-query-loaders > ${prefix}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache" } app.name Pioneers app.executable ${worksrcpath}/launcher.sh app.icon ${filespath}/logo.png livecheck.url http://sourceforge.net/projects/pio/files/ livecheck.regex ${name}-(\\d+(\\.\\d+)+)