# -*- 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
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 \
\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\
homepage http://pio.sourceforge.net/
depends_build port:intltool \
path:lib/pkgconfig/cairo.pc:cairo \
path:lib/pkgconfig/glib-2.0.pc:glib2 \
path:lib/pkgconfig/pango.pc:pango
# 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 40e254ff4d7a00b3e4bd70f02c9daed0a6261381 \
sha256 3ee1415e7c48dc144fbdb99105a6ef8a818e67ed34e9d0f8e01224c3636cef0c
copy ${filespath}/launcher.sh ${worksrcpath}
reinplace s|@PREFIX@|${prefix}| ${worksrcpath}/launcher.sh
configure.env-append with_avahi=no
reinplace {s| -Wl,-z,relro -Wl,-z,now||} ${worksrcpath}/Makefile
reinplace s|-Wl,--as-needed|| ${worksrcpath}/Makefile
system "${prefix}/bin/gtk-update-icon-cache-3.0 --ignore-theme-index ${prefix}/share/icons/hicolor"