This is the install script I am using. It might be a starting point for you:
#!/bin/bash
CONTEXTVERSION="beta"
CONTEXTDIRECTORY=$HOME/TeX/context/$CONTEXTVERSION
rm -R $CONTEXTDIRECTORY
mkdir -p $CONTEXTDIRECTORY/tex
cd $CONTEXTDIRECTORY
ln -s $HOME/Library/texmf tex/texmf-local
#cp -R $HOME/Library/texmf/* tex/texmf-local
sh ./first-setup.sh >first-setup.log
cd tex
echo "installation context $CONTEXTVERSION minimals done"

Hans van der Meer




On 18 aug 2009, at 18:55, luigi scarso wrote:

On Tue, Aug 18, 2009 at 6:15 PM, John Culleton<john@wexfordpress.com> wrote:
Tried to install context minimals including the steps
mktexlsr
texexec --make --all
No errors at this point.  But when I tried to run pdftex
I get the error message
I can't find the format file `pdftex.fmt!'
Did you source setuptex ?

Under linux I do
. setuptext
in tex dir

--
luigi
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________