# -*- Mode: Tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           github 1.0

github.setup        robotfindskitten robotfindskitten 2.8284271.702
github.tarball_from archive
revision            0

categories          games
license             GPL-2
maintainers         nomaintainer

description         You are robot. Your job is to find kitten.
long_description    In 1997, Peter A. Peterson II held a contest for \
                    his now-defunct Nerth Pork magazine. The goal: come \
                    up with the best piece of art entitled robotfindskitten. \
                    Leonard Richardson submitted the winning (read: only) \
                    entry, a Zen Simulation.

homepage            http://robotfindskitten.org/

checksums           rmd160  a123006a701f66ba2c74d19fe3ec367a1e1f479b \
                    sha256  bc199c96a0a2ef79621b548d0f223bd8dce5cff798b7277708e31037e32df9fb \
                    size    79605

post-patch {
    reinplace "s|\$\(\prefix\)\/games|\$\(\prefix\)\/bin|g" ${worksrcpath}/src/Makefile.am
}

depends_build       bin:makeinfo:texinfo

depends_lib         port:ncurses
configure.args-append \
                    --infodir=${prefix}/share/info

use_autoreconf      yes
