1 | # MacPorts system-wide configuration file. |
---|
2 | # Commented-out values are defaults unless otherwise noted. |
---|
3 | |
---|
4 | # Directory under which MacPorts should install ports. This must be |
---|
5 | # where MacPorts itself is installed. |
---|
6 | prefix /opt/local |
---|
7 | |
---|
8 | # User to run operations as when MacPorts drops privileges. |
---|
9 | #macportsuser macports |
---|
10 | |
---|
11 | # Directory for MacPorts working data. |
---|
12 | portdbpath /opt/local/var/macports |
---|
13 | |
---|
14 | # Colon-delimited list of directories to search for external tools |
---|
15 | # (make(1), pkg-config(1), etc.). While installing ports, MacPorts uses |
---|
16 | # this list for PATH. Changing this setting is intended for advanced |
---|
17 | # users only and is unsupported. |
---|
18 | #binpath /opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin |
---|
19 | |
---|
20 | # Directory containing Xcode Tools. By default, MacPorts determines this |
---|
21 | # using xcode-select(1). |
---|
22 | #developer_dir /Library/Developer/CommandLineTools |
---|
23 | |
---|
24 | # Location of PackageMaker. Defaults to |
---|
25 | # "${developer_dir}/Applications/Utilities/PackageMaker.app" with Xcode |
---|
26 | # 4.2 and earlier and "/Applications/PackageMaker.app" with 4.3 and later. |
---|
27 | #packagemaker_path /Applications/PackageMaker.app |
---|
28 | |
---|
29 | # Directory for application bundles installed by ports. |
---|
30 | applications_dir /Applications/MacPorts |
---|
31 | |
---|
32 | # Directory for frameworks installed by ports. |
---|
33 | frameworks_dir /opt/local/Library/Frameworks |
---|
34 | |
---|
35 | # Location of the MacPorts sources list. |
---|
36 | sources_conf /opt/local/etc/macports/sources.conf |
---|
37 | |
---|
38 | # Location of the MacPorts global variants definition file. Optional. |
---|
39 | variants_conf /opt/local/etc/macports/variants.conf |
---|
40 | |
---|
41 | # When MacPorts should build ports from source. |
---|
42 | # - ifneeded: Download binary archives if available; build from source |
---|
43 | # otherwise. |
---|
44 | # - always: Always build from source; never try fetching archives. |
---|
45 | # - never: Never build from source; try fetching archives and abort if |
---|
46 | # unavailable. |
---|
47 | #buildfromsource ifneeded |
---|
48 | |
---|
49 | # Type of archive to use for port images. Supported types are cpgz, |
---|
50 | # cpio, tar, tbz, tbz2, tgz, tlz, txz, xar, zip. |
---|
51 | #portarchivetype tbz2 |
---|
52 | |
---|
53 | # Apply transparent filesystem compression to files on activation. |
---|
54 | # Requires bsdtar with support for --hfsCompression in binpath, which can be |
---|
55 | # provided by installing the libarchive port. This will work with HFS+ or APFS |
---|
56 | # volumes only and will be ignored on other filesystems. |
---|
57 | #hfscompression yes |
---|
58 | |
---|
59 | # CPU architecture to target. Supported values are "ppc", "ppc64", |
---|
60 | # "i386", "x86_64", and "arm64". Defaults to: |
---|
61 | # - Mac OS X 10.5 and earlier: "ppc" on PowerPC, otherwise "i386". |
---|
62 | # - Mac OS X 10.6 - 10.15: "x86_64" on 64-bit Intel, otherwise "i386". |
---|
63 | # - macOS 11 and later: "arm64" on Apple Silicon, otherwise "x86_64". |
---|
64 | #build_arch x86_64 |
---|
65 | |
---|
66 | # Space-delimited list of CPU architectures to target when building |
---|
67 | # universal. Defaults to "i386 ppc" on Mac OS X 10.5 and earlier, |
---|
68 | # "x86_64 i386" on Mac OS X 10.6 through macOS 10.13, "x86_64" on |
---|
69 | # macOS 10.14 and 10.15 (these SDKs are not universal), and |
---|
70 | # "arm64 x86_64" on macOS 11 and later. Set an empty value to disable |
---|
71 | # universal building. |
---|
72 | #universal_archs arm64 x86_64 |
---|
73 | |
---|
74 | # Use ccache, a compiler cache for C, C++, Objective-C, and |
---|
75 | # Objective-C++. (See http://ccache.samba.org.) The "ccache" executable |
---|
76 | # must exist in one of the directories in binpath. |
---|
77 | #configureccache no |
---|
78 | |
---|
79 | # Directory for ccache's cached compiler output. |
---|
80 | #ccache_dir /opt/local/var/macports/build/.ccache |
---|
81 | |
---|
82 | # Maximum size of files stored in ccache's cache. Append "G", "M", or |
---|
83 | # "K" for gigabytes, megabytes, or kilobytes. |
---|
84 | #ccache_size 2G |
---|
85 | |
---|
86 | # Use distcc, a distributed compiler for C, C++, Objective-C, and |
---|
87 | # Objective-C++. (See http://distcc.org.) The "distcc" executable must |
---|
88 | # exist in one of the directories in binpath. |
---|
89 | #configuredistcc no |
---|
90 | |
---|
91 | # Use pipes rather than temporary files for communication between the |
---|
92 | # various stages of C, C++, Objective-C, and Objective-C++ compilation. |
---|
93 | #configurepipe yes |
---|
94 | |
---|
95 | # Lowered scheduling priority to use for commands run during configure, |
---|
96 | # build, and destroot. Accepted values are 0 (normal priority) through |
---|
97 | # 20 (lowest priority). |
---|
98 | #buildnicevalue 0 |
---|
99 | |
---|
100 | # Number of simultaneous make(1) jobs to use when building ports. If set |
---|
101 | # to 0, the number of jobs will be the lesser of: |
---|
102 | # - number of automatically-detected CPU cores |
---|
103 | # - gigabytes of physical memory + 1 |
---|
104 | #buildmakejobs 0 |
---|
105 | |
---|
106 | # umask value to use when a port installs its files. |
---|
107 | #destroot_umask 022 |
---|
108 | |
---|
109 | # Automatically execute "clean" after "install" of ports. |
---|
110 | #portautoclean yes |
---|
111 | |
---|
112 | # Keep logs after successful installations. |
---|
113 | #keeplogs no |
---|
114 | |
---|
115 | # The rsync server for fetching MacPorts base during selfupdate. This |
---|
116 | # setting is NOT used when downloading ports trees; ports trees are |
---|
117 | # configured using the file referenced by sources_conf. See |
---|
118 | # https://trac.macports.org/wiki/Mirrors#MacPortsSource for a list of |
---|
119 | # available servers. |
---|
120 | #rsync_server rsync.macports.org |
---|
121 | |
---|
122 | # Location of MacPorts base sources on rsync_server. If this references |
---|
123 | # a .tar file, a signed .rmd160 file must exist in the same directory |
---|
124 | # and will be used to verify its integrity. See |
---|
125 | # https://trac.macports.org/wiki/Mirrors#MacPortsSource to find the |
---|
126 | # correct rsync_dir for a particular rsync_server. |
---|
127 | #rsync_dir macports/release/tarballs/base.tar |
---|
128 | |
---|
129 | # Options to pass to rsync when fetching MacPorts base and the ports tree. |
---|
130 | #rsync_options -rtzvl --delete-after |
---|
131 | |
---|
132 | # Type of generated StartupItems. |
---|
133 | # - launchd: Create StartupItems for use with launchd. |
---|
134 | # - default: Create StartupItems for launchd on macOS and none on |
---|
135 | # other platforms. |
---|
136 | # - none: Disable creation of StartupItems. |
---|
137 | # This setting only applies when building ports from source. |
---|
138 | #startupitem_type default |
---|
139 | |
---|
140 | # Create system-level symlinks to generated StartupItems. If set to |
---|
141 | # "no", symlinks will not be created; otherwise, symlinks will be placed |
---|
142 | # in /Library/LaunchDaemons or /Library/LaunchAgents as appropriate. |
---|
143 | # This setting only applies when building ports from source. |
---|
144 | #startupitem_install yes |
---|
145 | |
---|
146 | # Whether to allow ports to automatically load their StartupItems. |
---|
147 | # If set to "no", StartupItems will never be loaded unless the user |
---|
148 | # explicitly requests it. If set to "yes" (the default), some ports may |
---|
149 | # automatically load their StartupItems when they are activated. |
---|
150 | #startupitem_autostart yes |
---|
151 | |
---|
152 | # Extra environment variables to keep. MacPorts sanitizes its |
---|
153 | # environment while processing ports, keeping: |
---|
154 | # - DISPLAY |
---|
155 | # - DYLD_FALLBACK_FRAMEWORK_PATH, DYLD_FALLBACK_LIBRARY_PATH, |
---|
156 | # DYLD_FRAMEWORK_PATH, DYLD_INSERT_LIBRARIES, DYLD_LIBRARY_PATH |
---|
157 | # - JAVA_HOME |
---|
158 | # - ARCHIVE_SITE_LOCAL, MASTER_SITE_LOCAL, PATCH_SITE_LOCAL |
---|
159 | # - PORTSRC |
---|
160 | # - ALL_PROXY, FTP_PROXY, http_proxy, HTTPS_PROXY, NO_PROXY, RSYNC_PROXY |
---|
161 | # - GROUP, USER |
---|
162 | # - COLUMNS, LINES |
---|
163 | # Variables listed in extra_env are added to this list. This has no |
---|
164 | # default value; setting it is intended for advanced users and is |
---|
165 | # unsupported. (Note that sudo(8) sanitizes its environment on Mac OS X 10.5 |
---|
166 | # and later, so it may have to be configured to pass the desired |
---|
167 | # variables to MacPorts.) |
---|
168 | #extra_env KEEP_THIS THIS_TOO |
---|
169 | |
---|
170 | # Override proxy-related environment variables. By default, MacPorts |
---|
171 | # takes proxy settings from the environment, from the proxy_* options |
---|
172 | # below, and from Network Preferences, in that order. If this is set to |
---|
173 | # "yes", MacPorts uses proxy_*, then Network Preferences, then the |
---|
174 | # environment. (Note that Network Preferences does not have a setting |
---|
175 | # for rsync proxies. Also note that sudo(8) sanitizes its environment on |
---|
176 | # Mac OS X 10.5 and later, so it may have to be configured to pass desired |
---|
177 | # variables to MacPorts.) |
---|
178 | #proxy_override_env no |
---|
179 | |
---|
180 | # Proxies. These have no default values. The analogous environment |
---|
181 | # variables are "http_proxy", "HTTPS_PROXY", "FTP_PROXY", and |
---|
182 | # "RSYNC_PROXY". |
---|
183 | #proxy_http proxy1:12345 |
---|
184 | #proxy_https proxy2:67890 |
---|
185 | #proxy_ftp proxy3:02139 |
---|
186 | #proxy_rsync proxy4:11377 |
---|
187 | |
---|
188 | # Comma-delimited list of hosts that MacPorts should not access through |
---|
189 | # the HTTP, HTTPS, and FTP proxies. This does not apply to rsync, and it |
---|
190 | # has no default value. |
---|
191 | #proxy_skip host1, host2, host3 |
---|
192 | |
---|
193 | # Space-delimited lists of glob patterns matched against download hosts |
---|
194 | # that MacPorts should not use and that MacPorts should prefer, respectively, |
---|
195 | # overriding the usual ping time checks. These have no default values. |
---|
196 | #host_blacklist badhost1 badhost2 |
---|
197 | #preferred_hosts preferredhost1 preferredhost2 *.de.*.macports.org |
---|
198 | |
---|
199 | # Whether MacPorts should automatically run rev-upgrade after upgrading |
---|
200 | # ports. |
---|
201 | #revupgrade_autorun yes |
---|
202 | |
---|
203 | # Whether rev-upgrade should automatically rebuild ports with broken |
---|
204 | # linking or merely report the breakage. Supported values are "report" |
---|
205 | # and "rebuild". |
---|
206 | #revupgrade_mode rebuild |
---|
207 | |
---|
208 | # Space-delimited list of files and directories to delete after the |
---|
209 | # unarchive stage and before creating a pkg. Paths are interpreted |
---|
210 | # relative to prefix, and there is no default value. This is useful for |
---|
211 | # removing unnecessary files and directories prior to pkg or mpkg |
---|
212 | # deployment. |
---|
213 | #pkg_post_unarchive_deletions include share/doc share/man |
---|
214 | |
---|
215 | # Whether the user interface should ask interactive questions |
---|
216 | #ui_interactive yes |
---|