--- port-depgraph.orig 2014-07-12 10:04:10.000000000 +1000
+++ port-depgraph 2014-07-12 10:07:34.000000000 +1000
+#!__PREFIX__/bin/port-tclsh
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
if /usr/bin/which -s port-tclsh; then exec port-tclsh "$0" -i `which port-tclsh` "$@"; else exec /usr/bin/tclsh "$0" "$@"; fi
puts "Usage: $::argv0 \[-dhrvV\] \[-p macports-prefix\] port-name \[variants...\]"
puts " -p Use a different MacPorts prefix"
- puts " (defaults to /opt/local)"
+ puts " (defaults to __PREFIX__)"
puts " -v verbose output, includes dependency labels"
puts " -V show version and MacPorts version being used"
-set macportsPrefix /opt/local
+set macportsPrefix __PREFIX__
- source ${macportsPrefix}/share/macports/Tcl/macports1.0/macports_fastload.tcl