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 "Mod‐
10 ule::Build::Base" and override a few methods. Please see Module::Build
11 for the docs.
12
13 Overriden Methods
14
15 new()
16 MacPerl doesn't define $Config{sitelib} or $Config{sitearch} for
17 some reason, but $Config{installsitelib} and $Config{install‐
18 sitearch} are there. So we copy the install variables to the other
19 location
20
21 make_executable()
22 On MacOS we set the file type and creator to MacPerl so it will run
23 with a double-click.
24
25 dispatch()
26 Because there's no easy way to say "./Build test" on MacOS, if dis‐
27 patch is called with no arguments and no @ARGV a dialog box will
28 pop up asking what action to take and any extra arguments.
29
30 Default action is "test".
31
32 ACTION_realclean()
33 Need to unlock the Build program before deleting.
34
36 Michael G Schwern <schwern@pobox.com>
37
39 perl(1), Module::Build(3), ExtUtils::MakeMaker(3)
40
41
42
43perl v5.8.8 2007-04-02 Module::Build::Platform::MacOS(3)