.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Module::Build::Platform::MacOS 3pm" .TH Module::Build::Platform::MacOS 3pm 2023-07-25 "perl v5.38.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME Module::Build::Platform::MacOS \- Builder class for MacOS platforms .SH DESCRIPTION .IX Header "DESCRIPTION" The sole purpose of this module is to inherit from \&\f(CW\*(C`Module::Build::Base\*(C'\fR and override a few methods. Please see Module::Build for the docs. .SS "Overridden Methods" .IX Subsection "Overridden Methods" .IP \fBnew()\fR 4 .IX Item "new()" MacPerl doesn't define \f(CW$Config\fR{sitelib} or \f(CW$Config\fR{sitearch} for some reason, but \f(CW$Config\fR{installsitelib} and \f(CW$Config\fR{installsitearch} are there. So we copy the install variables to the other location .IP \fBmake_executable()\fR 4 .IX Item "make_executable()" On MacOS we set the file type and creator to MacPerl so it will run with a double-click. .IP \fBdispatch()\fR 4 .IX Item "dispatch()" Because there's no easy way to say "./Build test" on MacOS, if dispatch is called with no arguments and no \f(CW@ARGV\fR a dialog box will pop up asking what action to take and any extra arguments. .Sp Default action is "test". .IP \fBACTION_realclean()\fR 4 .IX Item "ACTION_realclean()" Need to unlock the Build program before deleting. .SH AUTHOR .IX Header "AUTHOR" Michael G Schwern .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fBperl\fR\|(1), \fBModule::Build\fR\|(3), \fBExtUtils::MakeMaker\fR\|(3)