# -*- 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                poke
version             4.1
revision            0
categories          sysutils
license             GPL-3+
maintainers         {makr @mohd-akram} openmaintainer

description         interactive, extensible editor for binary data

long_description    GNU poke is an interactive, extensible editor for binary \
                    data. Not limited to editing basic entities such as bits \
                    and bytes, it provides a full-fledged procedural, \
                    interactive programming language designed to describe data \
                    structures and to operate on them.

homepage            https://www.jemarch.net/poke

master_sites        gnu

checksums           rmd160  f71af38516baef744992a228a6bd57a0b775ffbe \
                    sha256  08ecaea41f7374acd4238e12bbf97e8cd5e572d5917e956b73b9d43026e9d740 \
                    size    8243284

depends_build       path:bin/pkg-config:pkgconfig \
                    port:bash

depends_lib         port:boehmgc \
                    port:readline \
                    port:libtextstyle

# macOS shell has a bug with case statement inside command substitution
# configure: error: ./configure failed for jitter
# https://sourceware.org/bugzilla/show_bug.cgi?id=31829
configure.env       CONFIG_SHELL=${prefix}/bin/bash
