2025-09-02 00:02:39 -07:00
|
|
|
# -*- 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
|
2026-04-11 10:42:55 -07:00
|
|
|
PortGroup meson 1.0
|
2025-09-02 00:02:39 -07:00
|
|
|
|
2026-04-11 10:42:55 -07:00
|
|
|
github.setup msteinert bstring 1.1.0 v
|
2025-09-02 00:02:39 -07:00
|
|
|
github.tarball_from releases
|
|
|
|
|
revision 0
|
|
|
|
|
|
2026-04-11 10:42:55 -07:00
|
|
|
use_xz yes
|
|
|
|
|
|
2025-09-02 00:02:39 -07:00
|
|
|
categories textproc devel
|
|
|
|
|
license BSD
|
|
|
|
|
maintainers {@trodemaster icloud.com:manuals-unread2u} openmaintainer
|
|
|
|
|
|
|
|
|
|
description The Better String Library for C
|
|
|
|
|
long_description ${name} is a fork of Paul Hsieh's Better String Library. \
|
|
|
|
|
It provides a comprehensive string library for C with \
|
2026-04-11 10:42:55 -07:00
|
|
|
UTF-8 support, a meson build system, and continuous \
|
2025-09-02 00:02:39 -07:00
|
|
|
integration via GitHub Actions.
|
|
|
|
|
|
|
|
|
|
homepage https://github.com/msteinert/bstring
|
|
|
|
|
|
2026-04-11 10:42:55 -07:00
|
|
|
checksums rmd160 cf8098657d90d894e911326891ab46696a174a54 \
|
|
|
|
|
sha256 1b513965a658494193ab9431c229ea675a7b1c7c85de9d68b8cc089abfb82240 \
|
|
|
|
|
size 121708
|
2025-09-02 00:02:39 -07:00
|
|
|
|
2026-04-11 10:42:55 -07:00
|
|
|
variant tests description {Build and run tests} {
|
|
|
|
|
depends_build-append port:check
|
|
|
|
|
configure.args-append -Denable-tests=true
|
|
|
|
|
test.run yes
|
2025-09-02 00:02:39 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
post-destroot {
|
2025-09-08 21:25:18 -07:00
|
|
|
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
|
|
|
|
|
xinstall -m 644 -W ${worksrcpath} README.md COPYING \
|
|
|
|
|
${destroot}${prefix}/share/doc/${name}
|
2025-09-02 00:02:39 -07:00
|
|
|
}
|