notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
I started running short on disk space for the non-production FreshPorts hosts. This time, I have decided to ask for donations. See my recent blog post which points to my Patreon account.
Port details
stc Modern, user-friendly, generic, type-safe and fast C99 library
5.0 develnew! on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: alven@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2025-09-20 09:48:07
Last Update: 2025-09-20 09:46:44
Commit Hash: 050e562
License: MIT
WWW:
https://github.com/stclib/STC/
Description:
STC is a comprehensive, modern, typesafe and fast templated general purpose container and algorithms library for C99. It aims to make C-programming even more fun, more productive and safer.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (50 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/stc-library-5.0/catalog.mk
  3. /usr/local/share/licenses/stc-library-5.0/LICENSE
  4. /usr/local/share/licenses/stc-library-5.0/MIT
  5. include/c11/fmt.h
  6. include/stc/algorithm.h
  7. include/stc/arc.h
  8. include/stc/box.h
  9. include/stc/cbits.h
  10. include/stc/common.h
  11. include/stc/coption.h
  12. include/stc/coroutine.h
  13. include/stc/cregex.h
  14. include/stc/cspan.h
  15. include/stc/cstr.h
  16. include/stc/csview.h
  17. include/stc/ctest.h
  18. include/stc/deque.h
  19. include/stc/hmap.h
  20. include/stc/hset.h
  21. include/stc/list.h
  22. include/stc/pqueue.h
  23. include/stc/priv/cstr_prv.h
  24. include/stc/priv/linkage.h
  25. include/stc/priv/linkage2.h
  26. include/stc/priv/queue_prv.h
  27. include/stc/priv/sort_prv.h
  28. include/stc/priv/template.h
  29. include/stc/priv/template2.h
  30. include/stc/priv/utf8_prv.h
  31. include/stc/queue.h
  32. include/stc/random.h
  33. include/stc/smap.h
  34. include/stc/sort.h
  35. include/stc/sset.h
  36. include/stc/stack.h
  37. include/stc/sys/crange.h
  38. include/stc/sys/filter.h
  39. include/stc/sys/sumtype.h
  40. include/stc/sys/utility.h
  41. include/stc/types.h
  42. include/stc/utf8.h
  43. include/stc/vec.h
  44. include/stc/zsview.h
  45. @comment lib/libstc.a
  46. lib/libstc.so
  47. lib/libstc.so.5
  48. @owner
  49. @group
  50. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • stc-library>0:devel/stc
To install the port:
cd /usr/ports/devel/stc/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/stc
  • pkg install stc-library
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: stc-library
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1758282222 SHA256 (stclib-STC-v5.0_GH0.tar.gz) = d61353852b9d7ef69b56fa32edcbc7934f2153385f3778536234201ceebcc950 SIZE (stclib-STC-v5.0_GH0.tar.gz) = 972147

Packages (timestamps in pop-ups are UTC):
stc-library
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-5.0--5.0---
FreeBSD:13:quarterly--------
FreeBSD:14:latest-5.0--5.0---
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
FreeBSD:15:quarterly--n/a-n/a---
FreeBSD:16:latest--n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. meson : devel/meson
  2. ninja : devel/ninja
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for stc-library-5.0: DOCS=on: Build and/or install documentation EXAMPLES=on: Build and/or install examples STATIC=off: Build static executables and/or libraries ===> Use 'make config' to modify these settings
Options name:
devel_stc
USES:
meson
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/stclib/STC/tar.gz/v5.0?dummy=/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
5.0
20 Sep 2025 09:46:44
commit hash: 050e562c9dd9c7a6e6eba3032bba75dc8b6bea44commit hash: 050e562c9dd9c7a6e6eba3032bba75dc8b6bea44commit hash: 050e562c9dd9c7a6e6eba3032bba75dc8b6bea44commit hash: 050e562c9dd9c7a6e6eba3032bba75dc8b6bea44 files touched by this commit
Älven (alven) search for other commits by this committer
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

Number of commits found: 1