# -*- 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 name scid version 4.7.0 categories games license GPL-2 maintainers {en.sent.com:macports @Raimondi} openmaintainer description Shane's Chess Information Database long_description Scid is an open source application to view, edit, and \ manage collections of chess games. homepage http://scid.sourceforge.net/ master_sites sourceforge checksums rmd160 2770906e46c4459b837b33cce59489fab223fa76 \ sha256 2ed25781ec3c82d60fcee85259c19fd8934feae2547f9464304cdb01960f86da \ size 15782104 distname ${name}-code-${version} use_zip yes worksrcdir ${name} depends_lib port:tcl \ port:tcl-tls \ port:tDOM \ port:tk patchfiles patch-Makefile.conf.diff compiler.cxx_standard 2014 configure.post_args BINDIR="${prefix}/bin" SHAREDIR="${prefix}/share/${name}" \ COMPILE="${configure.cxx}" LINK="${configure.cxx}" build.args-append CC=${configure.cc} \ CXX=${configure.cxx} \ CPP=${configure.cpp} destroot.target install_scid destroot.target-append install_engines destroot.target-append install_mac post-patch { reinplace "s|x\\.x|${version}|g" ${worksrcpath}/resources/macos/Info.plist } post-destroot { copy ${worksrcpath}/dist/Scid.app ${destroot}${applications_dir} } livecheck.type regex livecheck.url https://sourceforge.net/projects/scid/rss?path=/ livecheck.regex scid-(\[0-9.\]+)\\.zip