# -*- 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           codeberg 1.0

codeberg.setup      dskoll remind 05.00.06
revision            0
categories          textproc pim
license             GPL-2
maintainers         nomaintainer
description         Remind is a sophisticated calendar and alarm program.
long_description    Remind is a sophisticated calendar and alarm service for UNIX. \
                    It is a command line application which interacts well with other \
                    programs. Remind offers a specialized scripting language which can \
                    be used to express rather complicated scheduling methods in just a few lines.

homepage            https://dianne.skoll.ca/projects/remind/

checksums           rmd160  14f00d849e02371b9f99535925f335dd861ed0d5 \
                    sha256  cb60f8790f7fe546bc7bcd3e11fbc351c4443db34b7377e25dfa2055c9e9f947 \
                    size    575221

configure.args      --mandir=\\\${prefix}/share/man

# cc1: error: unrecognized command line option "-flto=auto"
# cc1: error: unrecognized command line option "-ffat-lto-objects"
compiler.blacklist-append \
                    *gcc-4.0 *gcc-4.2

destroot.destdir    prefix=${destroot}${prefix}

post-destroot {
    set docdir ${prefix}/share/${subport}
    xinstall -d ${destroot}${docdir}
    copy ${worksrcpath}/examples ${destroot}${docdir}
}
