Ticket #56366: macports.conf

File macports.conf, 8.2 KB (added by letaage, 6 years ago)

My macports.conf file

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