Ticket #24563: macports.conf

File macports.conf, 5.6 KB (added by roberto@…, 15 years ago)

macports.conf

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