Files
ports/devel/stc/Makefile
Älven 050e562c9d devel/stc: [NEW PORT] Modern, user-friendly, generic, type-safe and fast C99 library
STC is a mature, comprehensive, general purpose container and
algorithm library for C99/C11. It has excellent ergonomics and
requires virtually no boilerplate code. The library adds many missing
features to C, like common data containers, algorithms, and
abstractions found in contemporary system languages like Zig, Rust,
and C++. Containers and algorithms are templated or generic, which
allows for a fully typesafe, compact, and high performance
implementation.

WWW:		https://github.com/stclib/STC/

Approved by:	yuri@ (Mentor)

Differential Revision: https://reviews.freebsd.org/D52520
2025-09-20 13:46:44 +04:00

34 lines
698 B
Makefile

PORTNAME= stc
DISTVERSIONPREFIX= v
DISTVERSION= 5.0
CATEGORIES= devel
PKGNAMESUFFIX= -library
MAINTAINER= alven@FreeBSD.org
COMMENT= Modern, user-friendly, generic, type-safe and fast C99 library
WWW= https://github.com/stclib/STC/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= meson
USE_GITHUB= yes
GH_ACCOUNT= stclib
GH_PROJECT= STC
USE_LDCONFIG= yes
PORTDOCS= *
PORTEXAMPLES= *
OPTIONS_DEFINE= DOCS EXAMPLES STATIC
OPTIONS_SUB= yes
DOCS_MESON_ENABLED= docs
DOCS_MESON_ON= -Ddocsdir=${DOCSDIR}
EXAMPLES_MESON_ENABLED= examples
EXAMPLES_MESON_ON= -Dexamplesdir=${EXAMPLESDIR}
STATIC_MESON_ON= -Ddefault_library=both
STATIC_MESON_OFF= -Ddefault_library=shared
.include <bsd.port.mk>