# $Id: Portfile 65678 2010-03-30 06:43:39Z ryandesign@macports.org $

PortSystem       1.0
name             bs
version          2.7
categories       games
maintainers      nomaintainer
description      ncurses version of Battleship
long_description \
    The classic game of Battleships against the computer. Uses \
    character-cell graphics with a visual point-and-shoot interface. \
    If you're using an xterm under Linux the mouse will work.
homepage         http://www.catb.org/~esr/bs/
platforms        darwin
master_sites     sunsite:games/strategy
checksums        md5 5786c6006e503d100e65139dadb5d5a7
patch {
    reinplace s|/usr|$prefix| $worksrcpath/Makefile
}
use_configure    no
build.target     ${name}

livecheck.type   regex
livecheck.regex  ${name}-(\[0-9.\]+)\\.tar
