Ticket #57712: macports.conf

File macports.conf, 8.8 KB (added by sgrewe (Stefan Grewe), 6 years ago)

macports.conf

Line 
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.
6prefix                  /opt/local
7
8# User to run operations as when MacPorts drops privileges.
9#macportsuser           macports
10
11# Directory for MacPorts working data.
12portdbpath              /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          /Applications/Xcode.app/Contents/Developer
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.
30applications_dir        /Applications/MacPorts
31
32# Directory for frameworks installed by ports.
33frameworks_dir          /opt/local/Library/Frameworks
34
35# Location of the MacPorts sources list.
36sources_conf            /opt/local/etc/macports/sources.conf
37
38# Location of the MacPorts global variants definition file. Optional.
39variants_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", and "x86_64". Defaults to:
61# - OS X 10.5 and earlier: "ppc" on PowerPC, otherwise "i386".
62# - OS X 10.6 and later: "x86_64" on Intel 64, otherwise "i386".
63#build_arch             i386
64
65# Space-delimited list of CPU architectures to target when building
66# universal. Defaults to "i386 ppc" on Mac OS X 10.5 and earlier,
67# "x86_64 i386" on Mac OS X 10.6 through macOS 10.13, and "x86_64" on
68# macOS 10.14 and later (the 10.14 SDK is not universal).
69#universal_archs        x86_64
70
71# Use ccache, a compiler cache for C, C++, Objective-C, and
72# Objective-C++. (See http://ccache.samba.org.) The "ccache" executable
73# must exist in one of the directories in binpath.
74#configureccache        no
75
76# Directory for ccache's cached compiler output.
77#ccache_dir             /opt/local/var/macports/build/.ccache
78
79# Maximum size of files stored in ccache's cache. Append "G", "M", or
80# "K" for gigabytes, megabytes, or kilobytes.
81#ccache_size            2G
82
83# Use distcc, a distributed compiler for C, C++, Objective-C, and
84# Objective-C++. (See http://distcc.org.) The "distcc" executable must
85# exist in one of the directories in binpath.
86#configuredistcc        no
87
88# Use pipes rather than temporary files for communication between the
89# various stages of C, C++, Objective-C, and Objective-C++ compilation.
90#configurepipe          yes
91
92# Lowered scheduling priority to use for commands run during configure,
93# build, and destroot. Accepted values are 0 (normal priority) through
94# 20 (lowest priority).
95#buildnicevalue         0
96
97# Number of simultaneous make(1) jobs to use when building ports. If set
98# to 0, the number of jobs will be the lesser of:
99# - number of automatically-detected CPU cores
100# - gigabytes of physical memory + 1
101#buildmakejobs          0
102
103# umask value to use when a port installs its files.
104#destroot_umask         022
105
106# Automatically execute "clean" after "install" of ports.
107#portautoclean          yes
108
109# Keep logs after successful installations.
110#keeplogs               no
111
112# The rsync server for fetching MacPorts base during selfupdate. This
113# setting is NOT used when downloading ports trees; ports trees are
114# configured using the file referenced by sources_conf. See
115# https://trac.macports.org/wiki/Mirrors#MacPortsSource for a list of
116# available servers.
117#rsync_server           rsync.macports.org
118
119# Location of MacPorts base sources on rsync_server. If this references
120# a .tar file, a signed .rmd160 file must exist in the same directory
121# and will be used to verify its integrity. See
122# https://trac.macports.org/wiki/Mirrors#MacPortsSource to find the
123# correct rsync_dir for a particular rsync_server.
124#rsync_dir              macports/release/tarballs/base.tar
125
126# Options to pass to rsync when fetching MacPorts base and the ports tree.
127#rsync_options          -rtzvl --delete-after
128
129# Type of generated StartupItems.
130# - launchd: Create StartupItems for use with launchd.
131# - default: Create StartupItems for launchd on OS X and none on
132#   other platforms.
133# - none: Disable creation of StartupItems.
134# This setting only applies when building ports from source.
135#startupitem_type       default
136
137# Create system-level symlinks to generated StartupItems. If set to
138# "no", symlinks will not be created; otherwise, symlinks will be placed
139# in /Library/LaunchDaemons or /Library/LaunchAgents as appropriate.
140# This setting only applies when building ports from source.
141#startupitem_install    yes
142
143# Whether to allow ports to automatically load their StartupItems.
144# If set to "no", StartupItems will never be loaded unless the user
145# explicitly requests it. If set to "yes" (the default), some ports may
146# automatically load their StartupItems when they are activated.
147#startupitem_autostart  yes
148
149# Extra environment variables to keep. MacPorts sanitizes its
150# environment while processing ports, keeping:
151# - DISPLAY
152# - DYLD_FALLBACK_FRAMEWORK_PATH, DYLD_FALLBACK_LIBRARY_PATH,
153#   DYLD_FRAMEWORK_PATH, DYLD_INSERT_LIBRARIES, DYLD_LIBRARY_PATH
154# - JAVA_HOME
155# - ARCHIVE_SITE_LOCAL, MASTER_SITE_LOCAL, PATCH_SITE_LOCAL
156# - PORTSRC
157# - ALL_PROXY, FTP_PROXY, http_proxy, HTTPS_PROXY, NO_PROXY, RSYNC_PROXY
158# - GROUP, USER
159# - COLUMNS, LINES
160# Variables listed in extra_env are added to this list. This has no
161# default value; setting it is intended for advanced users and is
162# unsupported. (Note that sudo(8) sanitizes its environment on OS X 10.5
163# and later, so it may have to be configured to pass the desired
164# variables to MacPorts.)
165#extra_env              KEEP_THIS THIS_TOO
166
167# Override proxy-related environment variables. By default, MacPorts
168# takes proxy settings from the environment, from the proxy_* options
169# below, and from Network Preferences, in that order. If this is set to
170# "yes", MacPorts uses proxy_*, then Network Preferences, then the
171# environment. (Note that Network Preferences does not have a setting
172# for rsync proxies. Also note that sudo(8) sanitizes its environment on
173# OS X 10.5 and later, so it may have to be configured to pass desired
174# variables to MacPorts.)
175#proxy_override_env     no
176
177# Proxies. These have no default values. The analogous environment
178# variables are "http_proxy", "HTTPS_PROXY", "FTP_PROXY", and
179# "RSYNC_PROXY".
180#proxy_http             proxy1:12345
181#proxy_https            proxy2:67890
182#proxy_ftp              proxy3:02139
183#proxy_rsync            proxy4:11377
184
185# Comma-delimited list of hosts that MacPorts should not access through
186# the HTTP, HTTPS, and FTP proxies. This does not apply to rsync, and it
187# has no default value.
188#proxy_skip             host1, host2, host3
189
190# Space-delimited lists of glob patterns matched against download hosts
191# that MacPorts should not use and that MacPorts should prefer, respectively,
192# overriding the usual ping time checks. These have no default values.
193#host_blacklist         badhost1 badhost2
194#preferred_hosts        preferredhost1 preferredhost2 *.de.*.macports.org
195
196# Whether MacPorts should automatically run rev-upgrade after upgrading
197# ports.
198#revupgrade_autorun     yes
199
200# Whether rev-upgrade should automatically rebuild ports with broken
201# linking or merely report the breakage. Supported values are "report"
202# and "rebuild".
203#revupgrade_mode        rebuild
204
205# Space-delimited list of files and directories to delete after the
206# unarchive stage and before creating a pkg. Paths are interpreted
207# relative to prefix, and there is no default value. This is useful for
208# removing unnecessary files and directories prior to pkg or mpkg
209# deployment.
210#pkg_post_unarchive_deletions   include share/doc share/man
211
212# Whether the user interface should ask interactive questions
213#ui_interactive         yes