# -*- 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           github 1.0
PortGroup           makefile 1.0

github.setup        IMprojtech NotaMy 60362617ed277f8b8adc0f5ed4e5f9ba6b3c1de0
version             2025.08.01
revision            0
categories          sysutils
license             GPL-3
maintainers         nomaintainer
description         Terminal-based note manager with hierarchical tagging and file linking
long_description    {*}${description}.
checksums           rmd160  6e4fa7be5301f1c5ca1afb9041f24f63551b02dc \
                    sha256  6f26962104605190c380c343a5a565f760d21de5441124b418924f735484f945 \
                    size    145530
github.tarball_from archive

# Type redefinitions
compiler.c_standard 2011

patch.pre_args-replace  -p0 -p1

# https://github.com/IMprojtech/NotaMy/pull/2
patchfiles          patch-fix-posix.diff

destroot {
    copy ${worksrcpath}/bin/ntm ${destroot}${prefix}/bin/
    copy ${worksrcpath}/bin/ntm_nc ${destroot}${prefix}/bin/
}
