# -*- 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
description 52-card solitaire game
This 52-card solitaire starts with the entire deck shuffled and \
dealt out in four rows. The aces are then moved to the left end \
of the layout, making 4 initial free spaces. You may move to a \
space only the card that matches the left neighbor in suit, and \
is one greater in rank. Kings are high, so no cards may be placed \
to their right (they create dead spaces). When no moves can be \
made, cards still out of sequence are reshuffled and dealt face \
up after the ends of the partial sequences, leaving a card space \
after each sequence, so that each row looks like a partial \
sequence followed by a space, followed by enough cards to make a \
row of 14. A moment's reflection will show that this game cannot \
take more than 13 deals. A good score is 1-3 deals, 4-7 is \
average, 8 or more is poor.
homepage http://www.catb.org/~esr/bluemoon/
# Add $homepage in master_sites, since other mirrors in
# sunsite:games seems to be returning 404 error, connection failures
# and some of them don't have the updated tarball.
master_sites ${homepage} \
checksums md5 49fba3643c689970939267fc821fedcf \
rmd160 7c5059986ecaf8dfa6698312049e6a05f2bb7154 \
sha256 52aec7ba74d0e811f46de44c30252877b612d780bc531e872357375b54083006
reinplace s|/usr|${prefix}|g ${worksrcpath}/Makefile
reinplace "s|cp bluemoon |cp bluemoon \$\{DESTDIR\}|" ${worksrcpath}/Makefile
reinplace "s|cp bluemoon.6 |cp bluemoon.6 \$\{DESTDIR\}|" ${worksrcpath}/Makefile
livecheck.regex ${name}-(\[0-9.\]+)\\.tar