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

{
    "name": "gengetopt",
    "portdir": "devel/gengetopt",
    "version": "2.23",
    "license": "GPL-3+",
    "platforms": "darwin",
    "epoch": 0,
    "replaced_by": null,
    "homepage": "https://www.gnu.org/software/gengetopt/",
    "description": "Generates a C function that uses getopt_long function",
    "long_description": "This program generates a C function that uses getopt_long function to parse the command line options, to validate them and fills a struct. Thus your program can now handle options such as: myprog --input foo.c -o foo.o --no-tabs -i 100 *.class And both long options (those that start with –) and short options (start with - and consist of only one character) can be handled. For standards about short and long options you may want to take a look at the GNU Coding Standards.",
    "active": true,
    "categories": [
        "devel"
    ],
    "maintainers": [
        {
            "name": "waqar",
            "github": "",
            "ports_count": 1
        }
    ],
    "variants": [
        "universal"
    ],
    "dependencies": [
        {
            "type": "build",
            "ports": [
                "texinfo",
                "clang-14"
            ]
        },
        {
            "type": "extract",
            "ports": [
                "xz"
            ]
        }
    ],
    "depends_on": [
        {
            "type": "build",
            "ports": [
                "yubico-piv-tool",
                "openpace",
                "libp11",
                "libu2f-server",
                "zmap",
                "pam-u2f",
                "opensc"
            ]
        }
    ]
}