On Jun 27, 2011, at 12:14, MacPorts wrote: > > Added page "howto/AdvancedDailyAdm" by [email protected] from > 90.184.12.220* > Page URL: <https://trac.macports.org/wiki/howto/AdvancedDailyAdm> > Content: > -------8<------8<------8<------8<------8<------8<------8<------8<-------- > [wiki:howto <- Back to the HOWTO section] > > = Advanced Daily Administration of MacPorts = > > * Audience: advanced users > * Requires: MacPorts >=1.9.2 > * Author: Bjarne D Mathiesen - macintosh _at_ mathiesen _dot_ info > > == Introduction == > > This is a dump of my scripts to administer MacPorts on a daily basis. > > Please append comments, questions, and suggestions here. > > > == The Scripts == > > === Script 1: '''Installation''' === > > {{{ > #!/bin/bash > > ################################################################################ > # copyright Bjarne D Mathiesen > # København ; Danmark ; Europa > # macintosh .at. mathiesen .dot. info > # date 04/07-2007 > # revised 02/12-2007 implemented automatic patching of Portfiles > # 28/12-2009 fixed the download link > # modified source/build directory > # removed sudo from commands > # 18/06-2011 added default values for the parameters > # updated path values for XCode4 > # > # this script is released under the BSD license > # the author welcomes feedback and improvements > # > > usage() { > cat <<EOT > purpose : to automate the whole install process > \${1} : action [ install (default) , paths ] > \${2} : install prefix ( default /macports )
The default should be /opt/local. _______________________________________________ macports-dev mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev
