[MacPorts] CommittersTipsAndTricks modified
MacPorts
noreply at macports.org
Thu Jun 3 19:23:38 PDT 2010
Changed page "CommittersTipsAndTricks" by jmr at macports.org from 210.215.87.80*
Page URL: <http://trac.macports.org/wiki/CommittersTipsAndTricks>
Diff URL: <http://trac.macports.org/wiki/CommittersTipsAndTricks?action=diff&version=34>
Revision 34
Comment: simplify explorative programming instructions
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: CommittersTipsAndTricks
=========================================================================
--- CommittersTipsAndTricks (version: 33)
+++ CommittersTipsAndTricks (version: 34)
@@ -217,25 +217,19 @@
put the following into ~/bin/macports_testing.tcl:
{{{
-source /Library/Tcl/macports1.0/macports_fastload.tcl
-package require macports 1.0
+package require macports
set portarchivemode no
-#package require port 1.0
+mportinit
+#package require port
package require Pextlib
-set prefix /opt/local
-}}}
-
-If you use trunk you have to change first row to
-{{{
-source ${prefix}/share/macports/Tcl/macports1.0/macports_fastload.tcl
}}}
[Note, Oct 2009] There may be a bug in the port 1.0 package, see http://lists.macosforge.org/pipermail/macports-dev/2009-September/010132.html
-Then source the file in tclsh8.4 (which is the Tcl version shipped with Leopard), i.e.:
-
-{{{
-$ rlwrap tclsh8.4
+Then source the file in the Apple-supplied tclsh, i.e.:
+
+{{{
+$ rlwrap /usr/bin/tclsh
% source ~/bin/macports_testing.tcl
/opt/local
% strsed "foo" "s/f/m/"
-------8<------8<------8<------8<------8<------8<------8<------8<--------
* The IP shown here might not mean anything if the user or the server is
behind a proxy.
--
MacPorts <http://www.macports.org/>
Ports system for Mac OS
This is an automated message. Someone at http://www.macports.org/ added your email
address to be notified of changes on CommittersTipsAndTricks. If it was not you, please
report to .
More information about the macports-changes
mailing list