# -*- 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 06.02.05
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  5160ca5e8cf83178ee6458730eaf70edc48bb824 \
                    sha256  138a655e9c0392dc94875c6b528a6acf2731da8b8ab4c198f90c03afce7f3d49 \
                    size    8945803

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}
}
