-
-
29 Jan 2020 07:52:41 UTC
- Distribution: Module-Build
- Module version: 0.4231
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Repository
- Issues (117)
- Testers (1791 / 72 / 15)
- Kwalitee
Bus factor: 2- 63.77% Coverage
- License: perl_5
- Perl: v5.6.1
- Activity
24 month- Tools
- Download (296.35KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- CPAN::Meta
- Cwd
- Data::Dumper
- ExtUtils::CBuilder
- ExtUtils::Install
- ExtUtils::Manifest
- ExtUtils::Mkbootstrap
- ExtUtils::ParseXS
- File::Basename
- File::Compare
- File::Copy
- File::Find
- File::Path
- File::Spec
- Getopt::Long
- Module::Metadata
- Perl::OSType
- Pod::Man
- TAP::Harness
- Text::Abbrev
- Text::ParseWords
- version
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Module::Build::Platform::MacOS - Builder class for MacOS platforms
DESCRIPTION
The sole purpose of this module is to inherit from
Module::Build::Base
and override a few methods. Please see Module::Build for the docs.Overridden Methods
- new()
-
MacPerl doesn't define $Config{sitelib} or $Config{sitearch} for some reason, but $Config{installsitelib} and $Config{installsitearch} are there. So we copy the install variables to the other location
- make_executable()
-
On MacOS we set the file type and creator to MacPerl so it will run with a double-click.
- dispatch()
-
Because there's no easy way to say "./Build test" on MacOS, if dispatch is called with no arguments and no @ARGV a dialog box will pop up asking what action to take and any extra arguments.
Default action is "test".
- ACTION_realclean()
-
Need to unlock the Build program before deleting.
AUTHOR
Michael G Schwern <schwern@pobox.com>
SEE ALSO
perl(1), Module::Build(3), ExtUtils::MakeMaker(3)
Module Install Instructions
To install Module::Build, copy and paste the appropriate command in to your terminal.
cpanm Module::Build
perl -MCPAN -e shell install Module::Build
For more information on module installation, please visit the detailed CPAN module installation guide.