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": 1711
        }
    ],
    "variants": [
        "universal"
    ],
    "dependencies": [
        {
            "type": "build",
            "ports": [
                "autoconf",
                "automake",
                "libtool",
                "clang-15"
            ]
        },
        {
            "type": "lib",
            "ports": [
                "bzip2",
                "libmagic",
                "xz",
                "zlib",
                "zstd"
            ]
        }
    ],
    "depends_on": [
        {
            "type": "build",
            "ports": [
                "sleuthkit",
                "autopsy",
                "apple-pki-bundle",
                "p5.28-file-libmagic",
                "p5.30-file-libmagic",
                "p5.32-file-libmagic",
                "p5.34-file-libmagic",
                "p5.26-file-libmagic"
            ]
        },
        {
            "type": "lib",
            "ports": [
                "py310-magic",
                "py311-magic",
                "littleutils",
                "py35-magic",
                "py36-magic",
                "mldonkey",
                "py27-magic",
                "py37-magic",
                "py38-magic",
                "py39-magic"
            ]
        },
        {
            "type": "run",
            "ports": [
                "gutils-suite-core"
            ]
        }
    ]
}