HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept
{
"name": "file",
"portdir": "sysutils/file",
"version": "5.46",
"license": "BSD",
"platforms": "darwin",
"epoch": 0,
"replaced_by": null,
"homepage": "https://www.darwinsys.com/file/",
"description": "File - determine file type",
"long_description": "File tests each argument in an attempt to classify it. There are three sets of tests, performed in this order: filesystem tests, magic number tests, and language tests. The first test that succeeds causes the file type to be printed. For information on Mach-O binaries, it is suggested that one uses the command `otool -fv`.",
"active": true,
"categories": [
"sysutils"
],
"maintainers": [
{
"name": "ryandesign",
"github": "ryandesign",
"ports_count": 1825
}
],
"variants": [
"universal"
],
"dependencies": [
{
"type": "build",
"ports": [
"autoconf",
"automake",
"libtool",
"clang-17"
]
},
{
"type": "lib",
"ports": [
"bzip2",
"libmagic",
"xz",
"zlib",
"zstd"
]
}
],
"depends_on": [
{
"type": "build",
"ports": [
"hledger-iadd",
"HaXml",
"aeson-pretty",
"cpphs",
"lhs2tex",
"ihaskell",
"hlint",
"hledger",
"p5.26-file-libmagic",
"hadolint",
"gf-core",
"stack",
"ghc",
"ghc-prebuilt",
"hadrian",
"sleuthkit",
"darcs",
"matterhorn",
"p5.28-file-libmagic",
"p5.30-file-libmagic",
"p5.32-file-libmagic",
"p5.34-file-libmagic",
"pure-gen",
"haskell-stan",
"shellcheck",
"happy",
"hscolour",
"autopsy",
"haskell-language-server",
"alex",
"erd",
"pandoc-citeproc",
"cabal",
"apple-pki-bundle",
"adblock2privoxy",
"hindent"
]
},
{
"type": "lib",
"ports": [
"py38-magic",
"py36-magic",
"py39-magic",
"littleutils",
"py37-magic",
"py310-magic",
"py311-magic",
"py312-magic",
"py313-magic",
"py35-magic",
"py27-magic",
"tiledb",
"mldonkey"
]
},
{
"type": "run",
"ports": [
"gutils-suite-core"
]
}
]
}