# -*- 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 # $Id$ PortSystem 1.0 PortGroup app 1.0 name pioneers version 15.4 categories games license GPL maintainers snc 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:pkgconfig \ port:rarian depends_lib port:atk \ path:lib/pkgconfig/cairo.pc:cairo \ port:fontconfig \ port:freetype \ port:gdk-pixbuf2 \ port:gettext \ path:lib/pkgconfig/glib-2.0.pc:glib2 \ port: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 2c8abaf9146057ce8010aa301619f7104c4217ef \ sha256 9a0d3198dc0ddf131d9e6d6e9992347fe2a2d99f508f1be1b30c5797210a2ddc 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+)+)