GET /api/v1/ports/file/
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "name": "file",
    "portdir": "sysutils/file",
    "version": "5.45",
    "license": "BSD",
    "platforms": "darwin",
    "epoch": 0,
    "replaced_by": null,
    "homepage": "http://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": 1782
        }
    ],
    "variants": [
        "universal"
    ],
    "dependencies": [
        {
            "type": "build",
            "ports": [
                "autoconf",
                "automake",
                "libtool",
                "clang-15"
            ]
        },
        {
            "type": "lib",
            "ports": [
                "bzip2",
                "libmagic",
                "xz",
                "zlib",
                "zstd"
            ]
        }
    ],
    "depends_on": [
        {
            "type": "build",
            "ports": [
                "p5.34-file-libmagic",
                "autopsy",
                "matterhorn",
                "alex",
                "apple-pki-bundle",
                "adblock2privoxy",
                "cabal",
                "ihaskell",
                "haskell-language-server",
                "HaXml",
                "aeson-pretty",
                "cpphs",
                "lhs2tex",
                "shellcheck",
                "p5.26-file-libmagic",
                "hledger",
                "p5.28-file-libmagic",
                "p5.30-file-libmagic",
                "p5.32-file-libmagic",
                "hlint",
                "pure-gen",
                "sleuthkit",
                "stack",
                "haskell-stan",
                "happy",
                "ghc",
                "ghc-prebuilt",
                "hadrian",
                "hscolour"
            ]
        },
        {
            "type": "lib",
            "ports": [
                "py39-magic",
                "py310-magic",
                "py35-magic",
                "py36-magic",
                "py311-magic",
                "mldonkey",
                "py37-magic",
                "py312-magic",
                "py27-magic",
                "littleutils",
                "tiledb",
                "py38-magic"
            ]
        },
        {
            "type": "run",
            "ports": [
                "gutils-suite-core"
            ]
        }
    ]
}