Product Resource Information

My attempt at describing resources that a product provides led to the following example summary of environment variable based resources. Products can be described as providing such resources, or using such resources.

Entries

Entries of type "Env" describe things that need to be added to environment variables, including a separator (if multiple items can be set) and suffix for each item.

Entries of type "File" describe files containing entries that need to be added to user's files (usually in the user's home directory)

#Basics
#======
#
#Name		Type Sep Suf	ID			Value
#----		---- --- ---	---			-------
executable	Env  ':'  -	PATH			$P/bin
shlib		Env  ':'  -	LDLIBPATH		$P/lib
appdefault	Env  ':'  %N	XUSERFILESEARCHPATH	$P/lib/app-defaults
manpages	Env  ':'  -	MANPATH			$P/man
#
# ximagetools
#============
mailcap		File '\n' -	~/.mailcap		$P/lib/sample.mailcap
xfigkeys	Env  -    -	XFIGLIBDIR		$P/lib/xfig
#
# news
#============
newsrc		File '\n' -	~/.newsrc		$P/lib/sample.newsrc
nntpserver	Env   -   -	NNTPSERVER		newscli.fnal.gov
#
#TeX and friends
#===============
#
#Name		Type Sep Suf	ID			Value
#----		---- --- ---	---			------
texinit		Env  -    -	TEXCONFIG		$P/lib/texmf/ini
texsource	Env  ':'  -	TEXINPUTS		$P/lib/texmf/tex
texvffonts	Env  ':'  -	VFFONTS			$P/lib/texmf/fonts/vf
mfinit		Env   -   -	MFBASES			$P/lib/texmf/ini
mfsource	Env  ':'  -	MFINPUTS		$P/lib/texmf/fonts/*/src/*
bibtexstyles	Env  ':'  -	BSTINPUTS		$P/lib/texmf/bibtex/bst
bibtexsource	Env  ':'  -	BIBINPUTS		$P/lib/texmf/bibtex/bib
#
#TCL and friends
#===============
#
#Name		Type Sep Suf	ID			Value
#----		---- --- ---	---			------
tclsource	Env  ' '  -	TCLLIBPATH		$P/lib/tcl
tclinit		Env  -    -	TCL_LIBRARY		$P/lib/tcl*
tkinit		Env  -    -	TK_LIBRARY		$P/lib/tk*
tclxinit	Env  -    -	TCLX_LIBRARY		$P/lib/tclX/*
tkxinit		Env  -    -	TKX_LIBRARY		$P/lib/tclX/*

#
# CERNLIB,etc.
# ============
#
#Name		Type Sep Suf	ID			Value
#----		---- --- ---	---			------
cerncar		Env  -    -	CRNCAR			$P/src/car
cerncra		Env  -    -	CRNCRA			$P/src/car
cernlibrary	Env  -    -	CRNLIB			$P/lib/pawlib.a
cernkeys	Env  -    -	KXTERM			$P/bin/kxterm
#
# GNU stuff
# =========
emacsinit	File '\n' -	~/.emacs		$P/lib/sample.emacs
emacsdata	Env  ':'  -	EMACSDATA		$P/lib/share/emacs/*/etc
emacsdocs	Env  ':'  -	EMACSDOC		$P/lib/share/emacs/*/etc
emacspath	Env  ':'  -	EMACSPATH		$P/lib/share/emacs/*/*-*
emacsloadpath	Env  ':'  -	EMACSLOADPATH		$P/lib/share/emacs/*/lisp
info		Env  ':'  -	INFOPATH		$P/info
gccclibs	Env  ':'  -	LIBRARY_PATH		$P/lib
gcccincludes	Env  ':'  - 	CPATH			$P/include
gccc++includes	Env  ':'  -	CPLUS_INCLUDE_PATH	$P/include
gccexecpre	Env   -   -     GCC_EXEC_PREFIX		$P/lib/gcc-lib