# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup yelp 1.0 name gnome-chess version 3.26.0 license GPL-2+ set branch [join [lrange [split ${version} .] 0 1] .] description Play the classic two-player boardgame of chess long_description ${description} maintainers {devans @dbevans} openmaintainer categories gnome games platforms darwin homepage https://wiki.gnome.org/Apps/Chess master_sites gnome:sources/${name}/${branch}/ use_xz yes checksums rmd160 711d9816c21f31e0cc81c0d4d33bb37339be9919 \ sha256 a0f6f862ab7067626a3a86cdc9c14dde595e38e6719e0198cb967e11facf1f12 depends_build port:pkgconfig \ port:appstream-glib \ port:yelp-tools \ port:itstool depends_lib port:desktop-file-utils \ path:lib/pkgconfig/gdk-pixbuf-2.0.pc:gdk-pixbuf2 \ path:lib/pkgconfig/gtk+-3.0.pc:gtk3 \ path:lib/pkgconfig/librsvg-2.0.pc:librsvg \ path:bin/vala:vala depends_run port:adwaita-icon-theme # use autoreconf to regenerate configure with a valid time stamp # configure is post-dated by about 12 hours causing sanity check # to fail use_autoreconf yes autoreconf.args -fvi configure.args --disable-schemas-compile \ --disable-maintainer-mode \ --disable-silent-rules post-activate { system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor" system "${prefix}/bin/update-desktop-database ${prefix}/share/applications" system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas" } notes " To play against the computer, install a chess engine such as gnuchess. See https://wiki.gnome.org/Apps/Chess/ChessEngines " livecheck.type gnome