1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129
|
# Usepackage Environment Manager
# Copyright (C) 1995-2020 Jonathan Hogg <me@jonathanhogg.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
#
# Usepackage Sample Configuration File
#
# Format:
#
# <packagename> [<arch> [<os> [<release> [<host> [<shell>]]]]]
# [<= <requires>...] :
# <setting>[, <setting>...] ;
#
# <packagename>, <arch>, <os>, and <host> may use a restricted shell-style
# pattern matching ('*' for anything, '<pre>*' for prefix, '{<a>,<b>,...}'
# for a choice. <setting>s are of the form '<name>=<value>' or '<name>+=<value>',
# alias <name>=<value> or '<[ ... ]>' - these define, respectively, an
# environment variable to be set, an element to be added to a path variable,
# an alias to be defined or a section of script to be evaluated directly in
# the shell.
#
# A <value> is either a path list (colon separated) or a literal string in
# double quotes. New-lines are ignored in path lists and in literal strings.
# A path may begin with '~' or '~user' which will be expanded respectively
# to the home directory of the user invoking usepackage or the specified user.
# The optional <requires> list is a comma-separated list of package or
# group names that must be loaded into the environment before this package.
# Whatever you do, DON'T create a mutually dependant loop!
#
# e.g.:
#
# X : PATH+=/usr/X11/bin, LD_LIBRARY_PATH+=/usr/X11/lib ;
# frib * * * mymachine : PATH+=/special/frib/bin ;
# frib sun4* : PATH+=/usr/local/frib/bin/sun4 ;
# frib alpha : PATH+=/usr/local/frib/bin/alpha ;
# cvs <= gnu : CVSROOT=/usr/local/src/cvsroot ;
# frob : <[ /usr/local/frob/bin/frob-init ]> ;
#
# NOTE: Sun SPARCs identify themselves as 'sun4m' or 'sun4c' not 'sun4',
# so use 'sun4*' to match both.
#
# Package matching is done sequentially through the file and _every_ record
# that matches will be added to the environment. Path additions (+=) are
# made to the head of a path list and duplicates are removed from the tail.
# Matches are case insensitive.
#
#
# Groups format:
#
# <groupname> := <packagename>[, <packagename>...] ;
#
# No pattern matching is available for <groupname> or <packagename>. Groups
# cannot reference other groups, only packages. Names are case insensitive.
#
# E.g.:
#
# standard-user-settings := standard, X, TeX ;
# openwin-user-settings := standard, OpenWin, TeX ;
#
#
# Annotations:
#
# >> name : "..." <<
#
# Annotations are used to document packages. The name and description of
# each package should be given. These are listed with the '-l' option of
# usepackage.
#
### Empty path: ###
>> none : "empty paths" <<
none : PATH = "",
MANPATH = "",
INFOPATH = "",
LD_LIBRARY_PATH = "" ;
none * Darwin : DYLD_LIBRARY_PATH = "" ;
### If you absolutely insist on such a security hole: ###
>> dot : "add current directory to end of PATH (possible security hole)" <<
dot : PATH += . ;
### Standard things that everyone should have: ###
>> system : "normal system paths" <<
system : PATH += /usr/bin:/bin,
MANPATH += /usr/share/man,
INFOPATH += /usr/share/info,
LD_LIBRARY_PATH += /usr/lib:/lib ;
system * Darwin : DYLD_LIBRARY_PATH += /usr/lib ;
>> site : "site installed commands" <<
site : PATH += /usr/local/bin,
MANPATH += /usr/local/share/man,
INFOPATH += /usr/local/share/info,
LD_LIBRARY_PATH += /usr/local/lib ;
site * Darwin : DYLD_LIBRARY_PATH += /usr/local/lib ;
# System administration binaries
>> sysadm : "system administration commands" <<
sysadm : PATH += /usr/local/sbin:/usr/sbin:/sbin ;
### Include user's own packages information: ###
(include ~/.packages)
|