{
    "content": [
        {
            "type": "text",
            "text": "# Module::Build::Platform::MacOS (perldoc)\n\n## NAME\n\nModule::Build::Platform::MacOS - Builder class for MacOS platforms\n\n## DESCRIPTION\n\nThe sole purpose of this module is to inherit from \"Module::Build::Base\" and override a few\nmethods. Please see Module::Build for the docs.\n\n## Sections\n\n- **NAME**\n- **DESCRIPTION** (4 subsections)\n- **AUTHOR**\n- **SEE ALSO** (1 subsections)\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Module::Build::Platform::MacOS",
        "section": "",
        "mode": "perldoc",
        "summary": "Module::Build::Platform::MacOS - Builder class for MacOS platforms",
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 3,
                "subsections": [
                    {
                        "name": "Overridden Methods",
                        "lines": 1
                    },
                    {
                        "name": "new",
                        "lines": 4
                    },
                    {
                        "name": "make_executable",
                        "lines": 2
                    },
                    {
                        "name": "dispatch",
                        "lines": 9
                    }
                ]
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 1,
                "subsections": [
                    {
                        "name": "perl",
                        "lines": 1
                    }
                ]
            }
        ],
        "sections": {
            "NAME": {
                "content": "Module::Build::Platform::MacOS - Builder class for MacOS platforms\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "The sole purpose of this module is to inherit from \"Module::Build::Base\" and override a few\nmethods. Please see Module::Build for the docs.\n",
                "subsections": [
                    {
                        "name": "Overridden Methods",
                        "content": ""
                    },
                    {
                        "name": "new",
                        "content": "MacPerl doesn't define $Config{sitelib} or $Config{sitearch} for some reason, but\n$Config{installsitelib} and $Config{installsitearch} are there. So we copy the install\nvariables to the other location\n"
                    },
                    {
                        "name": "make_executable",
                        "content": "On MacOS we set the file type and creator to MacPerl so it will run with a double-click.\n"
                    },
                    {
                        "name": "dispatch",
                        "content": "Because there's no easy way to say \"./Build test\" on MacOS, if dispatch is called with no\narguments and no @ARGV a dialog box will pop up asking what action to take and any extra\narguments.\n\nDefault action is \"test\".\n\nACTIONrealclean()\nNeed to unlock the Build program before deleting.\n"
                    }
                ]
            },
            "AUTHOR": {
                "content": "Michael G Schwern <schwern@pobox.com>\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "",
                "subsections": [
                    {
                        "name": "perl",
                        "content": ""
                    }
                ]
            }
        }
    }
}