Ticket #33085: macports.conf

File macports.conf, 5.2 KB (added by adfernandes (Andrew Fernandes), 13 years ago)
Line 
1# MacPorts system wide configuration file
2# $Id: macports.conf.in 79601 2011-06-19 21:28:55Z 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           macports
9
10# Where to store MacPorts working data
11portdbpath              /opt/local/var/macports
12
13# PATH settings that are used for external tools (configure, make, etc.) while installing ports. The default
14# paths are given in the example; it need not be uncommented.  Customizing binpath is intended for advanced users only.
15binpath         /usr/texbin:/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin
16
17# Directory containing Xcode Tools (default is to ask xcode-select)
18#developer_dir       /Developer
19
20# Directory containing Applications from ports.
21applications_dir        /Applications/MacPorts
22
23# Directory containing Frameworks from ports.
24frameworks_dir          /opt/local/Library/Frameworks
25
26# Where to find the sources list.
27sources_conf            /opt/local/etc/macports/sources.conf
28
29# Where to find global variants definition file (optional)
30variants_conf           /opt/local/etc/macports/variants.conf
31
32# Type of archives to use for port images
33#
34# Supported types: tgz, tar, tbz, tbz2 (default), tlz, txz, xar, zip, cpgz, cpio
35#portarchivetype                tbz2
36
37# CPU architecture to compile for. Defaults to i386 or ppc on Mac OS X 10.5
38# and earlier, depending on the CPU type detected at runtime. On Mac OS X 10.6
39# the default is x86_64 if the CPU supports it, i386 otherwise.
40build_arch                      x86_64
41
42# CPU architectures to use for Universal Binaries (+universal variant)
43universal_archs         x86_64 i386
44
45# Use ccache (C/C++ compiler cache) - see http://ccache.samba.org/
46#configureccache                no
47
48# Location where ccache stores its files
49#ccache_dir                     /opt/local/var/macports/build/.ccache
50
51# Maximum size ccache may use.
52# Use 'G', 'M', or 'K' suffix for giga-, mega- or kilobytes.
53#ccache_size                    2G
54
55# Use distcc (distributed compiler) - see http://distcc.samba.org/
56#configuredistcc                no
57
58# Use pipes rather than intermediate files when compiling C/C++/etc
59#configurepipe          yes
60
61# Lowered scheduling priority (0-20) to use for make when building ports
62#buildnicevalue         0
63
64# Number of simultaneous make jobs (commands) to use when building ports. This
65# value may be set to 0 so the number of simultaneous make jobs will be set to
66# the number of CPU cores that are automatically detected, or the number of GB
67# of physical memory plus one, whichever is less.
68#buildmakejobs          0
69
70# umask value to use when a port installs its files
71#destroot_umask 022
72
73# Set whether to automatically execute "clean" after "install" of ports
74#portautoclean          yes
75
76# Set to yes if you don't want logs to be deleted after successful builds
77#keeplogs no
78
79# Rsync server to fetch MacPorts sources from. Note that this is only used
80# for selfupdate. The source(s) for the ports tree are set in sources.conf.
81# Known mirrors at time of writing (see https://trac.macports.org/wiki/Mirrors
82# for the current list):
83#   rsync.macports.org        - California, USA (master)
84#   trd.no.rsync.macports.org - Trondheim, Norway
85#rsync_server           rsync.macports.org
86
87# Rsync directory from which to pull the base/ component (infrastructure) of MacPorts
88# If this points to a .tar file, a signed .rmd160 must exist next to it
89# on the server and will be used to verify its integrity.
90#rsync_dir                      release/tarballs/base.tar
91
92# Rsync options
93#rsync_options          -rtzv --delete-after
94
95# Options for generated startup items
96# startupitem_type may be "default", "systemstarter", "launchd", or "none";
97# if the option is empty or "default" then a startupitem type appropriate
98# to the platform will be chosen. Mac OS X 10.4 Tiger and above will default to
99# launchd, while older Mac OS X systems will default to systemstarter. If
100# option "none" is chosen, port startupitems are ignored and no startupitems
101# are installed.
102#startupitem_type       default
103
104# Extra environment variables to keep. Any variables listed here are added
105# to the list of variables that are not removed from the environment used
106# while processing ports. As with binpath, setting extra_env is intended for
107# advanced users and is unsupported.
108# extra_env             KEEP_THIS THIS_TOO
109
110# Proxy support
111# Precedence is: env, macports.conf, System Preferences
112# That is, if it's set in the environment, that will be used instead of
113# anything here or in System Preferences.  Setting proxy_override_env to yes
114# will cause any proxies set here (or in System Preferences if set there but
115# not here) to override what's in the environment.
116# Note that System Preferences doesn't have an rsync proxy definition.
117# Also note, on 10.5, sudo will clear many environment variables including
118# those for proxy support.
119# Equivalent environment variables: http_proxy, HTTPS_PROXY, FTP_PROXY,
120# RSYNC_PROXY, NO_PROXY
121#
122#proxy_override_env    yes
123# HTTP proxy:
124#proxy_http            hostname:12345
125# HTTPS proxy:
126#proxy_https       hostname:12345
127# FTP proxy:
128#proxy_ftp         hostname:12345
129# rsync proxy:
130#proxy_rsync       hostname:12345
131# hosts not to go through the proxy (comma-separated, applies to HTTP, HTTPS,
132# and FTP, but not rsync):
133#proxy_skip            internal1, internal2, internal3