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
kefir C17/C23 compiler
0.5.0 langnew! 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: fuz@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2025-10-19 08:06:30
Last Update: 2025-10-19 08:03:25
Commit Hash: 8a2fd68
Also Listed In: devel
License: GPLv3
WWW:
https://kefir.protopopov.lv/
Description:
Kefir is an independent compiler for the C17/C23 programming language, developed by Jevgenij Protopopov. Kefir has been validated with a test suite of 80 software projects, among which are GNU core- and binutils, Curl, Nginx, OpenSSL, Perl, Postgresql, Tcl and many others. The compiler targets x86_64 architecture and System-V AMD64 ABI, supporting Linux, FreeBSD, NetBSD an OpenBSD. While the primary priority is compatibility and compliance, Kefir also features conservative SSA-based optimization pipeline, debug information generation, position-independent code, and implements bit-identical bootstrap. Kefir focuses on C source code translation to assembly, and integrates with the rest of system toolchain (assembler, linker, standard library) for other tasks.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
pkg-plist: as obtained via: make generate-plist
Expand this list (267 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/kefir-0.5.0/catalog.mk
  3. /usr/local/share/licenses/kefir-0.5.0/LICENSE
  4. /usr/local/share/licenses/kefir-0.5.0/GPLv3
  5. bin/kefir
  6. bin/kefir-cc
  7. bin/kefir-cc1
  8. bin/kefir-detect-host-env
  9. etc/kefir.local
  10. include/kefir/runtime
  11. include/kefir/toolchain/kefir/ast-translator/base.h
  12. include/kefir/toolchain/kefir/ast-translator/cache.h
  13. include/kefir/toolchain/kefir/ast-translator/context.h
  14. include/kefir/toolchain/kefir/ast-translator/debug/translator.h
  15. include/kefir/toolchain/kefir/ast-translator/environment.h
  16. include/kefir/toolchain/kefir/ast-translator/flow_control.h
  17. include/kefir/toolchain/kefir/ast-translator/function_declaration.h
  18. include/kefir/toolchain/kefir/ast-translator/function_definition.h
  19. include/kefir/toolchain/kefir/ast-translator/initializer.h
  20. include/kefir/toolchain/kefir/ast-translator/jump.h
  21. include/kefir/toolchain/kefir/ast-translator/layout.h
  22. include/kefir/toolchain/kefir/ast-translator/lvalue.h
  23. include/kefir/toolchain/kefir/ast-translator/misc.h
  24. include/kefir/toolchain/kefir/ast-translator/scope/global_scope_layout.h
  25. include/kefir/toolchain/kefir/ast-translator/scope/local_scope_layout.h
  26. include/kefir/toolchain/kefir/ast-translator/scope/scope_layout_impl.h
  27. include/kefir/toolchain/kefir/ast-translator/scope/scoped_identifier.h
  28. include/kefir/toolchain/kefir/ast-translator/scope/translator.h
  29. include/kefir/toolchain/kefir/ast-translator/temporaries.h
  30. include/kefir/toolchain/kefir/ast-translator/translator.h
  31. include/kefir/toolchain/kefir/ast-translator/translator_impl.h
  32. include/kefir/toolchain/kefir/ast-translator/type.h
  33. include/kefir/toolchain/kefir/ast-translator/typeconv.h
  34. include/kefir/toolchain/kefir/ast-translator/util.h
  35. include/kefir/toolchain/kefir/ast-translator/value.h
  36. include/kefir/toolchain/kefir/ast/alignment.h
  37. include/kefir/toolchain/kefir/ast/analyzer/analyzer.h
  38. include/kefir/toolchain/kefir/ast/analyzer/declarator.h
  39. include/kefir/toolchain/kefir/ast/analyzer/initializer.h
  40. include/kefir/toolchain/kefir/ast/analyzer/member_designator.h
  41. include/kefir/toolchain/kefir/ast/analyzer/nodes.h
  42. include/kefir/toolchain/kefir/ast/analyzer/type_traversal.h
  43. include/kefir/toolchain/kefir/ast/attributes.h
  44. include/kefir/toolchain/kefir/ast/base.h
  45. include/kefir/toolchain/kefir/ast/cache.h
  46. include/kefir/toolchain/kefir/ast/constant_expression.h
  47. include/kefir/toolchain/kefir/ast/constant_expression_impl.h
  48. include/kefir/toolchain/kefir/ast/constants.h
  49. include/kefir/toolchain/kefir/ast/context.h
  50. include/kefir/toolchain/kefir/ast/context_impl.h
  51. include/kefir/toolchain/kefir/ast/declarator.h
  52. include/kefir/toolchain/kefir/ast/declarator_specifier.h
  53. include/kefir/toolchain/kefir/ast/deprecation.h
  54. include/kefir/toolchain/kefir/ast/designator.h
  55. include/kefir/toolchain/kefir/ast/downcast.h
  56. include/kefir/toolchain/kefir/ast/flow_control.h
  57. include/kefir/toolchain/kefir/ast/format.h
  58. include/kefir/toolchain/kefir/ast/function_declaration_context.h
  59. include/kefir/toolchain/kefir/ast/global_context.h
  60. include/kefir/toolchain/kefir/ast/initializer.h
  61. include/kefir/toolchain/kefir/ast/initializer_traversal.h
  62. include/kefir/toolchain/kefir/ast/local_context.h
  63. include/kefir/toolchain/kefir/ast/node.h
  64. include/kefir/toolchain/kefir/ast/node_base.h
  65. include/kefir/toolchain/kefir/ast/node_helpers.h
  66. include/kefir/toolchain/kefir/ast/node_internal.h
  67. include/kefir/toolchain/kefir/ast/object.h
  68. include/kefir/toolchain/kefir/ast/runtime.h
  69. include/kefir/toolchain/kefir/ast/scope.h
  70. include/kefir/toolchain/kefir/ast/target_environment.h
  71. include/kefir/toolchain/kefir/ast/temporaries.h
  72. include/kefir/toolchain/kefir/ast/type.h
  73. include/kefir/toolchain/kefir/ast/type/array.h
  74. include/kefir/toolchain/kefir/ast/type/base.h
  75. include/kefir/toolchain/kefir/ast/type/basic.h
  76. include/kefir/toolchain/kefir/ast/type/enum.h
  77. include/kefir/toolchain/kefir/ast/type/function.h
  78. include/kefir/toolchain/kefir/ast/type/pointer.h
  79. include/kefir/toolchain/kefir/ast/type/qualified.h
  80. include/kefir/toolchain/kefir/ast/type/struct.h
  81. include/kefir/toolchain/kefir/ast/type_completion.h
  82. include/kefir/toolchain/kefir/ast/type_conv.h
  83. include/kefir/toolchain/kefir/ast/type_layout.h
  84. include/kefir/toolchain/kefir/cc1/cc1.h
  85. include/kefir/toolchain/kefir/cc1/options.h
  86. include/kefir/toolchain/kefir/codegen/amd64-common.h
  87. include/kefir/toolchain/kefir/codegen/amd64/asmcmp.h
  88. include/kefir/toolchain/kefir/codegen/amd64/codegen.h
  89. include/kefir/toolchain/kefir/codegen/amd64/devirtualize.h
  90. include/kefir/toolchain/kefir/codegen/amd64/dwarf.h
  91. include/kefir/toolchain/kefir/codegen/amd64/function.h
  92. include/kefir/toolchain/kefir/codegen/amd64/lowering.h
  93. include/kefir/toolchain/kefir/codegen/amd64/module.h
  94. include/kefir/toolchain/kefir/codegen/amd64/stack_frame.h
  95. include/kefir/toolchain/kefir/codegen/amd64/static_data.h
  96. include/kefir/toolchain/kefir/codegen/amd64/symbolic_labels.h
  97. include/kefir/toolchain/kefir/codegen/amd64/xregalloc.h
  98. include/kefir/toolchain/kefir/codegen/asmcmp/base.h
  99. include/kefir/toolchain/kefir/codegen/asmcmp/context.h
  100. include/kefir/toolchain/kefir/codegen/asmcmp/debug.h
  101. include/kefir/toolchain/kefir/codegen/asmcmp/format.h
  102. include/kefir/toolchain/kefir/codegen/asmcmp/pipeline.h
  103. include/kefir/toolchain/kefir/codegen/asmcmp/type_defs.h
  104. include/kefir/toolchain/kefir/codegen/codegen.h
  105. include/kefir/toolchain/kefir/codegen/variable_allocator.h
  106. include/kefir/toolchain/kefir/compiler/compiler.h
  107. include/kefir/toolchain/kefir/compiler/configuration.h
  108. include/kefir/toolchain/kefir/compiler/profile.h
  109. include/kefir/toolchain/kefir/core/base.h
  110. include/kefir/toolchain/kefir/core/basic-types.h
  111. include/kefir/toolchain/kefir/core/bitset.h
  112. include/kefir/toolchain/kefir/core/block_tree.h
  113. include/kefir/toolchain/kefir/core/data_model.h
  114. include/kefir/toolchain/kefir/core/error.h
  115. include/kefir/toolchain/kefir/core/error_format.h
  116. include/kefir/toolchain/kefir/core/extensions.h
  117. include/kefir/toolchain/kefir/core/hash.h
  118. include/kefir/toolchain/kefir/core/hashset.h
  119. include/kefir/toolchain/kefir/core/hashtable.h
  120. include/kefir/toolchain/kefir/core/hashtree.h
  121. include/kefir/toolchain/kefir/core/hashtreeset.h
  122. include/kefir/toolchain/kefir/core/interval_tree.h
  123. include/kefir/toolchain/kefir/core/list.h
  124. include/kefir/toolchain/kefir/core/mem.h
  125. include/kefir/toolchain/kefir/core/optional.h
  126. include/kefir/toolchain/kefir/core/os_error.h
  127. include/kefir/toolchain/kefir/core/platform.h
  128. include/kefir/toolchain/kefir/core/queue.h
  129. include/kefir/toolchain/kefir/core/sort.h
  130. include/kefir/toolchain/kefir/core/source_error.h
  131. include/kefir/toolchain/kefir/core/source_location.h
  132. include/kefir/toolchain/kefir/core/standard_version.h
  133. include/kefir/toolchain/kefir/core/string_array.h
  134. include/kefir/toolchain/kefir/core/string_buffer.h
  135. include/kefir/toolchain/kefir/core/string_builder.h
  136. include/kefir/toolchain/kefir/core/string_pool.h
  137. include/kefir/toolchain/kefir/core/tree.h
  138. include/kefir/toolchain/kefir/core/trie.h
  139. include/kefir/toolchain/kefir/core/util.h
  140. include/kefir/toolchain/kefir/core/vector.h
  141. include/kefir/toolchain/kefir/core/version.h
  142. include/kefir/toolchain/kefir/driver/compiler_options.h
  143. include/kefir/toolchain/kefir/driver/configuration.h
  144. include/kefir/toolchain/kefir/driver/driver.h
  145. include/kefir/toolchain/kefir/driver/driver_prologue.h
  146. include/kefir/toolchain/kefir/driver/externals.h
  147. include/kefir/toolchain/kefir/driver/parser.h
  148. include/kefir/toolchain/kefir/driver/runner.h
  149. include/kefir/toolchain/kefir/driver/target.h
  150. include/kefir/toolchain/kefir/driver/target_configuration.h
  151. include/kefir/toolchain/kefir/driver/tools.h
  152. include/kefir/toolchain/kefir/ir/assembly.h
  153. include/kefir/toolchain/kefir/ir/bitfields.h
  154. include/kefir/toolchain/kefir/ir/builder.h
  155. include/kefir/toolchain/kefir/ir/compact.h
  156. include/kefir/toolchain/kefir/ir/data.h
  157. include/kefir/toolchain/kefir/ir/debug.h
  158. include/kefir/toolchain/kefir/ir/format.h
  159. include/kefir/toolchain/kefir/ir/format_impl.h
  160. include/kefir/toolchain/kefir/ir/function.h
  161. include/kefir/toolchain/kefir/ir/instr.h
  162. include/kefir/toolchain/kefir/ir/mnemonic.h
  163. include/kefir/toolchain/kefir/ir/module.h
  164. include/kefir/toolchain/kefir/ir/opcode_defs.h
  165. include/kefir/toolchain/kefir/ir/opcodes.h
  166. include/kefir/toolchain/kefir/ir/platform.h
  167. include/kefir/toolchain/kefir/ir/type.h
  168. include/kefir/toolchain/kefir/ir/type_tree.h
  169. include/kefir/toolchain/kefir/lexer/allocator.h
  170. include/kefir/toolchain/kefir/lexer/base.h
  171. include/kefir/toolchain/kefir/lexer/buffer.h
  172. include/kefir/toolchain/kefir/lexer/context.h
  173. include/kefir/toolchain/kefir/lexer/format.h
  174. include/kefir/toolchain/kefir/lexer/lexem.h
  175. include/kefir/toolchain/kefir/lexer/lexer.h
  176. include/kefir/toolchain/kefir/lexer/source_cursor.h
  177. include/kefir/toolchain/kefir/lexer/string_literal_impl.h
  178. include/kefir/toolchain/kefir/optimizer/analysis.h
  179. include/kefir/toolchain/kefir/optimizer/base.h
  180. include/kefir/toolchain/kefir/optimizer/builder.h
  181. include/kefir/toolchain/kefir/optimizer/code.h
  182. include/kefir/toolchain/kefir/optimizer/code_util.h
  183. include/kefir/toolchain/kefir/optimizer/configuration.h
  184. include/kefir/toolchain/kefir/optimizer/constructor.h
  185. include/kefir/toolchain/kefir/optimizer/constructor_internal.h
  186. include/kefir/toolchain/kefir/optimizer/debug.h
  187. include/kefir/toolchain/kefir/optimizer/format.h
  188. include/kefir/toolchain/kefir/optimizer/function.h
  189. include/kefir/toolchain/kefir/optimizer/inline.h
  190. include/kefir/toolchain/kefir/optimizer/liveness.h
  191. include/kefir/toolchain/kefir/optimizer/local_variables.h
  192. include/kefir/toolchain/kefir/optimizer/loop_nest.h
  193. include/kefir/toolchain/kefir/optimizer/module.h
  194. include/kefir/toolchain/kefir/optimizer/opcode_defs.h
  195. include/kefir/toolchain/kefir/optimizer/pipeline.h
  196. include/kefir/toolchain/kefir/optimizer/schedule.h
  197. include/kefir/toolchain/kefir/optimizer/structure.h
  198. include/kefir/toolchain/kefir/optimizer/type.h
  199. include/kefir/toolchain/kefir/parser/base.h
  200. include/kefir/toolchain/kefir/parser/builder.h
  201. include/kefir/toolchain/kefir/parser/builtins.h
  202. include/kefir/toolchain/kefir/parser/cursor.h
  203. include/kefir/toolchain/kefir/parser/parser.h
  204. include/kefir/toolchain/kefir/parser/rule_helpers.h
  205. include/kefir/toolchain/kefir/parser/rules.h
  206. include/kefir/toolchain/kefir/parser/ruleset.h
  207. include/kefir/toolchain/kefir/parser/scope.h
  208. include/kefir/toolchain/kefir/platform/cli_parser.h
  209. include/kefir/toolchain/kefir/platform/filesystem.h
  210. include/kefir/toolchain/kefir/platform/filesystem_source.h
  211. include/kefir/toolchain/kefir/platform/input.h
  212. include/kefir/toolchain/kefir/platform/process.h
  213. include/kefir/toolchain/kefir/platform/tempfile.h
  214. include/kefir/toolchain/kefir/preprocessor/ast_context.h
  215. include/kefir/toolchain/kefir/preprocessor/directives.h
  216. include/kefir/toolchain/kefir/preprocessor/format.h
  217. include/kefir/toolchain/kefir/preprocessor/macro.h
  218. include/kefir/toolchain/kefir/preprocessor/macro_scope.h
  219. include/kefir/toolchain/kefir/preprocessor/predefined_macro.h
  220. include/kefir/toolchain/kefir/preprocessor/preprocessor.h
  221. include/kefir/toolchain/kefir/preprocessor/source_dependency_locator.h
  222. include/kefir/toolchain/kefir/preprocessor/source_file.h
  223. include/kefir/toolchain/kefir/preprocessor/token_sequence.h
  224. include/kefir/toolchain/kefir/preprocessor/tokenizer.h
  225. include/kefir/toolchain/kefir/preprocessor/user_macro.h
  226. include/kefir/toolchain/kefir/preprocessor/util.h
  227. include/kefir/toolchain/kefir/preprocessor/virtual_source_file.h
  228. include/kefir/toolchain/kefir/runtime/common/alloca.h
  229. include/kefir/toolchain/kefir/runtime/common/float.h
  230. include/kefir/toolchain/kefir/runtime/common/typeclass.h
  231. include/kefir/toolchain/kefir/runtime/common/typeclass_kefir_impl.h
  232. include/kefir/toolchain/kefir/target/abi/amd64/base.h
  233. include/kefir/toolchain/kefir/target/abi/amd64/bitfields.h
  234. include/kefir/toolchain/kefir/target/abi/amd64/function.h
  235. include/kefir/toolchain/kefir/target/abi/amd64/parameters.h
  236. include/kefir/toolchain/kefir/target/abi/amd64/platform.h
  237. include/kefir/toolchain/kefir/target/abi/amd64/return.h
  238. include/kefir/toolchain/kefir/target/abi/amd64/system-v/bitfields.h
  239. include/kefir/toolchain/kefir/target/abi/amd64/system-v/data.h
  240. include/kefir/toolchain/kefir/target/abi/amd64/system-v/parameters.h
  241. include/kefir/toolchain/kefir/target/abi/amd64/system-v/qwords.h
  242. include/kefir/toolchain/kefir/target/abi/amd64/system-v/return.h
  243. include/kefir/toolchain/kefir/target/abi/amd64/system-v/type_layout.h
  244. include/kefir/toolchain/kefir/target/abi/amd64/type_layout.h
  245. include/kefir/toolchain/kefir/target/abi/amd64/vararg.h
  246. include/kefir/toolchain/kefir/target/abi/util.h
  247. include/kefir/toolchain/kefir/target/asm/amd64/db.h
  248. include/kefir/toolchain/kefir/target/asm/amd64/xasmgen.h
  249. include/kefir/toolchain/kefir/target/dwarf/dwarf.h
  250. include/kefir/toolchain/kefir/target/dwarf/generator.h
  251. include/kefir/toolchain/kefir/test/codegen.h
  252. include/kefir/toolchain/kefir/test/module_shim.h
  253. include/kefir/toolchain/kefir/test/unit_test.h
  254. include/kefir/toolchain/kefir/test/util.h
  255. include/kefir/toolchain/kefir/util/bigint.h
  256. include/kefir/toolchain/kefir/util/char32.h
  257. include/kefir/toolchain/kefir/util/json.h
  258. include/kefir/toolchain/kefir/util/uchar.h
  259. lib/libkefir.a
  260. lib/libkefir.so
  261. lib/libkefir.so.0.0
  262. share/man/man1/kefir-cc1.1.gz
  263. share/man/man1/kefir-detect-host-env.1.gz
  264. share/man/man1/kefir.1.gz
  265. @owner
  266. @group
  267. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • kefir>0:lang/kefir
To install the port:
cd /usr/ports/lang/kefir/ && make install clean
To add the package, run one of these commands:
  • pkg install lang/kefir
  • pkg install kefir
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: kefir
Flavors: there is no flavor information for this port.
ONLY_FOR_ARCHS: amd64
distinfo:
TIMESTAMP = 1760556283 SHA256 (kefir-v0.5.0.tar.gz) = c162a114392b90708e49edfebe3e23f85c0c5e025fbac5a9ce518f1dfe4835f9 SIZE (kefir-v0.5.0.tar.gz) = 2190983

Packages (timestamps in pop-ups are UTC):
kefir
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-----n/an/an/a
FreeBSD:13:quarterly-----n/an/an/a
FreeBSD:14:latest-0.5.0------
FreeBSD:14:quarterly--------
FreeBSD:15:latest-0.5.0n/a-n/an/a--
FreeBSD:15:quarterly--n/a-n/an/a--
FreeBSD:16:latest-0.5.0n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. as : devel/binutils
  2. grealpath : sysutils/coreutils
  3. gmake>=4.4.1 : devel/gmake
Test dependencies:
  1. bash : shells/bash
Runtime dependencies:
  1. as : devel/binutils
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
lang_kefir
USES:
gmake
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://git.sr.ht/~jprotopopov/kefir/archive/v0.5.0.tar.gz?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
0.5.0
19 Oct 2025 08:03:25
commit hash: 8a2fd68d44bd723c4f2d1489d6b0a25b2bad9099commit hash: 8a2fd68d44bd723c4f2d1489d6b0a25b2bad9099commit hash: 8a2fd68d44bd723c4f2d1489d6b0a25b2bad9099commit hash: 8a2fd68d44bd723c4f2d1489d6b0a25b2bad9099 files touched by this commit
Robert Clausecker (fuz) search for other commits by this committer
lang/kefir: C17/C23 compiler

Kefir is an independent compiler for the C17/C23 programming language,
developed by Jevgenij Protopopov.  Kefir has been validated with a test
suite of 80 software projects, among which are GNU core- and binutils,
Curl, Nginx, OpenSSL, Perl, Postgresql, Tcl and many others.  The
compiler targets x86_64 architecture and System-V AMD64 ABI, supporting
Linux, FreeBSD, NetBSD an OpenBSD.  While the primary priority is
compatibility and compliance, Kefir also features conservative SSA-based
optimization pipeline, debug information generation,
position-independent code, and implements bit-identical bootstrap.
Kefir focuses on C source code translation to assembly, and integrates
with the rest of system toolchain (assembler, linker, standard library)
for other tasks.

WWW: https://kefir.protopopov.lv/

Number of commits found: 1