push sheeet
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
# Build settings based on the upstream Xcode project.
# See: https://github.com/apple-oss-distributions/doc_cmds/blob/main/doc_cmds.xcodeproj/project.pbxproj
# Project settings
project('doc_cmds', 'c', version : '@version@')
add_global_arguments('-D__FBSDID=__RCSID', language : 'c')
# Dependencies
cc = meson.get_compiler('c')
zlib = dependency('zlib')
# Binaries
executable(
'makewhatis',
dependencies : [ zlib ],
install : true,
install_dir : get_option('libexecdir'),
sources : [ 'makewhatis/makewhatis.c' ],
)
install_man('makewhatis/makewhatis.8')
install_data(
'makewhatis/makewhatis.local.sh',
install_dir : get_option('libexecdir'),
install_mode : 'r-xr-xr-x',
rename : 'makewhatis.local'
)
install_man('makewhatis/makewhatis.local.8')

View File

@@ -0,0 +1,33 @@
{
lib,
mkAppleDerivation,
pkg-config,
shell_cmds,
zlib,
}:
mkAppleDerivation {
releaseName = "doc_cmds";
outputs = [
"out"
"man"
];
xcodeHash = "sha256-7/ADsfXTKqQhgratg2Twj7JgfFV0/U9rEvtsnX+NFPw=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ zlib ];
postInstall = ''
HOST_PATH='${lib.getBin shell_cmds}/bin' patchShebangs --host "$out/libexec"
'';
meta = {
description = "makewhatis commands for Darwin";
license = [
lib.licenses.bsd2
lib.licenses.bsd3
];
};
}