# -*- 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.24.0 fortune-mod-
github.tarball_from releases
conflicts           fortune

categories          games
license             BSD
maintainers         {makr @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  93c3a21280c6d22f53a751110eb821a6db792b24 \
                    sha256  1f387877254e95eab61f937257b42609f29b994ef0571531655bbfc3a2ac74ac \
                    size    1475996

use_xz              yes

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

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