# -*- 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.10
revision            0
categories          textproc pim
license             GPL-2
maintainers         {mark @markemer} openmaintainer 
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  2d4b0ccf38c350f5871879748159954eb5056a88 \
                    sha256  2950ab2d2cb2796ebee857f7a448bc6917bf440617f4b58231d317b619a8e696 \
                    size    9076180

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