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

name                wyrd
version             1.4.6
checksums           rmd160  47319812942195d4b56f861b7cbb527e94e7495f \
                    sha256  b2b51d6fb38f8b8b3ec30ee72093f791ba9b6fe35418191bc2011d2c8079997e \
                    size    425829

categories          textproc pim
platforms           darwin
maintainers         nomaintainer
license             GPL-2

description         an ncurses based front-end for remind.

long_description    Wyrd is a text-based front-end to Remind, a sophisticated \
                    calendar and alarm program. Wyrd is designed to make you \
                    more efficient at editing your reminder files directly. It \
                    also offers a scrollable timetable suitable for \
                    visualizing your schedule at a glance.

homepage            https://web.archive.org/web/20160326073411/http://pessimization.com/software/wyrd/
master_sites        https://web.archive.org/web/20160308150852/http://pessimization.com/software/wyrd/

depends_build       port:ocaml-camlp4

depends_lib         port:ncurses \
                    port:ocaml \
                    port:remind

patchfiles          ncurses.patch

# ocaml does not have a universal variant
universal_variant   no

configure.args      --enable-utf8

# Parallel build failures for the same reason as the ocaml-curses port
# (wyrd includes a bundled copy): Two ranlib processes try to process the same
# file; if one isn't done before the next starts, one of several errors occurs:
# ranlib: file: libcurses_stubs.a is not writable (No such file or directory)
# ranlib: archive member: libcurses_stubs.a(OLORS) size too large (archive member extends past the end of the file)
use_parallel_build  no

# Error: This expression has type string but an expression was expected of type
#          bytes
build.env           OCAMLPARAM=safe-string=0,_

livecheck.type      none
