Ticket #51184: macports.conf

File macports.conf, 5.9 KB (added by reeskm (Rees Machtemes), 9 years ago)
Line 
1# MacPorts system wide configuration file
2# $Id: macports.conf.in 72994 2010-10-31 20:03:51Z jmr@macports.org $
3
4# Set the directory in which to install ports. Must match where MacPorts itself is installed.
5prefix                  /opt/local
6
7# Set the user to run MacPorts compiles, etc as when privileges are dropped during an install
8#macportsuser           root
9
10# Where to store MacPorts working data
11portdbpath              /opt/local/var/macports
12
13# Type of storage to use for the port registry information, "flat" or "sqlite"
14# default is sqlite, flat is legacy
15#portdbformat           sqlite
16
17# Type of installation to do for ports, "direct" or "image".  See macports.conf(5) and online documentation.
18#portinstalltype                image
19
20# PATH settings that are used for external tools (configure, make, etc.) while installing ports. The default
21# paths are given in the example; it need not be uncommented.  Customizing binpath is intended for advanced users only.
22#binpath                /opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin
23
24# alternative binpath to check for port not using ${configure.cc} as it should
25# to eliminate this error, comment out this binpath line
26# See https://trac.macports.org/wiki/UsingTheRightCompiler
27#binpath                        /opt/local/bin/no_default_gcc:/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin
28
29# Directory containing Xcode Tools (default is to ask xcode-select)
30#developer_dir       /Developer
31
32# Directory containing Applications from ports.
33applications_dir        /Applications/MacPorts
34
35# Directory containing Frameworks from ports.
36frameworks_dir          /opt/local/Library/Frameworks
37
38# Where to find the sources list.
39sources_conf            /opt/local/etc/macports/sources.conf
40
41# Where to find global variants definition file (optional)
42variants_conf           /opt/local/etc/macports/variants.conf
43
44# Create and use binary archive packages for installation/reinstallation ease
45#portarchivemode                no
46
47# Where to store/retrieve ports binary archive files
48#portarchivepath                /opt/local/var/macports/packages
49
50# Type of binary archive packages to create when using archive mode
51#
52# Note: Multiple types ARE allowed and must be a colon or comma
53# separated list of choices (NO spaces). Use of multiple types will
54# cause archive creation to build all the specified types in one step.
55# Unarchive uses multiple types as a search list to locate the archive,
56# first archive to match one of the specified types in order is used.
57#
58# Supported types: tgz (default), tar, tbz, tbz2, tlz, txz, xar, zip, cpgz, cpio
59#portarchivetype                tgz
60
61# CPU architecture to compile for. Defaults to i386 or ppc on Mac OS X 10.5
62# and earlier, depending on the CPU type detected at runtime. On Mac OS X 10.6
63# the default is x86_64 if the CPU supports it, i386 otherwise.
64#build_arch                     i386
65
66# CPU architectures to use for Universal Binaries (+universal variant)
67universal_archs         i386 ppc
68
69# Use ccache (C/C++ compiler cache) - see http://ccache.samba.org/
70#configureccache                no
71
72# Use distcc (distributed compiler) - see http://distcc.samba.org/
73#configuredistcc                no
74
75# Use pipes rather than intermediate files when compiling C/C++/etc
76configurepipe           yes
77
78# Lowered scheduling priority (0-20) to use for make when building ports
79#buildnicevalue         0
80
81# Number of simultaneous make jobs (commands) to use when building ports. This
82# value may be set to 0 so the number of simultaneous make jobs will be set to
83# the number of CPU cores that are automatically detected, or the number of GB
84# of physical memory plus one, whichever is less.
85buildmakejobs           0
86
87# umask value to use when a port installs its files
88#destroot_umask 022
89
90# Set whether to automatically execute "clean" after "install" of ports
91#portautoclean          yes
92
93# Set to yes if you don't want logs to be deleted after successful builds
94#keeplogs no
95
96# Rsync server to fetch MacPorts sources from. Note that this is only used
97# for selfupdate. The source(s) for the ports tree are set in sources.conf.
98# Known mirrors at time of writing (see http://trac.macports.org/wiki/Mirrors
99# for the current list):
100#   rsync.macports.org        - California, USA (master)
101#   trd.no.rsync.macports.org - Trondheim, Norway
102#rsync_server           rsync.macports.org
103
104# Rsync directory from which to pull the base/ component (infrastructure) of MacPorts
105#rsync_dir                      release/base/
106
107# Rsync options
108#rsync_options          -rtzv --delete-after
109
110# Options for generated startup items
111# startupitem_type may be "default", "systemstarter", "launchd", or "none";
112# if the option is empty or "default" then a startupitem type appropriate
113# to the platform will be chosen. Mac OS X 10.4 Tiger and above will default to
114# launchd, while older Mac OS X systems will default to systemstarter. If
115# option "none" is chosen, port startupitems are ignored and no startupitems
116# are installed.
117#startupitem_type       default
118
119# Extra environment variables to keep. Any variables listed here are added
120# to the list of variables that are not removed from the environment used
121# while processing ports. As with binpath, setting extra_env is intended for
122# advanced users and is unsupported.
123# extra_env             KEEP_THIS THIS_TOO
124
125# Proxy support
126# Precedence is: env, macports.conf, System Preferences
127# That is, if it's set in the environment, that will be used instead of
128# anything here or in System Preferences.  Setting proxy_override_env to yes
129# will cause any proxies set here (or in System Preferences if set there but
130# not here) to override what's in the environment.
131# Note that System Preferences doesn't have an rsync proxy definition.
132# Also note, on 10.5, sudo will clear many environment variables including
133# those for proxy support.
134# Equivalent environment variables: http_proxy, HTTPS_PROXY, FTP_PROXY,
135# RSYNC_PROXY, NO_PROXY
136#
137#proxy_override_env    yes
138# HTTP proxy:
139#proxy_http            hostname:12345
140# HTTPS proxy:
141#proxy_https       hostname:12345
142# FTP proxy:
143#proxy_ftp         hostname:12345
144# rsync proxy:
145#proxy_rsync       hostname:12345
146# hosts not to go through the proxy (comma-separated, applies to HTTP, HTTPS,
147# and FTP, but not rsync):
148#proxy_skip            internal1, internal2, internal3