1Module::Build::PlatformU:s:eMracCOoSn(t3r)ibuted Perl DoMcoudmuelnet:a:tBiuoinld::Platform::MacOS(3)
2
3
4
6 Module::Build::Platform::MacOS - Builder class for MacOS platforms
7
9 The sole purpose of this module is to inherit from
10 "Module::Build::Base" and override a few methods. Please see
11 Module::Build for the docs.
12
13 Overridden Methods
14 new()
15 MacPerl doesn't define $Config{sitelib} or $Config{sitearch} for
16 some reason, but $Config{installsitelib} and
17 $Config{installsitearch} are there. So we copy the install
18 variables to the other location
19
20 make_executable()
21 On MacOS we set the file type and creator to MacPerl so it will run
22 with a double-click.
23
24 dispatch()
25 Because there's no easy way to say "./Build test" on MacOS, if
26 dispatch is called with no arguments and no @ARGV a dialog box will
27 pop up asking what action to take and any extra arguments.
28
29 Default action is "test".
30
31 ACTION_realclean()
32 Need to unlock the Build program before deleting.
33
35 Michael G Schwern <schwern@pobox.com>
36
38 perl(1), Module::Build(3), ExtUtils::MakeMaker(3)
39
40
41
42perl v5.32.1 2021-01-27 Module::Build::Platform::MacOS(3)