# -*- 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
PortGroup           github 1.0
PortGroup           cmake 1.1

github.setup        shlomif fortune-mod 3.20.0 fortune-mod-
github.tarball_from releases
conflicts           fortune

categories          games
platforms           darwin
license             BSD
maintainers         {outlook.com:mohd.akram @mohd-akram} openmaintainer

description         Fortune-cookie generator

long_description    Implementation of the Unix fortune command for displaying \
                    a random quotation.

depends_lib         port:recode

checksums           rmd160  540198dd238431bfaa2a16e911abbbf991b4e575 \
                    sha256  3101be95fb89c4848d483e72930da8d03f6925737a23d78803d6b55c42fe2094 \
                    size    1472864

use_xz              yes

configure.args      -DLOCALDIR=${prefix}/share/games/fortunes

post-destroot {
    move ${destroot}${prefix}/games/fortune ${destroot}${prefix}/bin
}
