#!/bin/sh # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 # Run the Tcl interpreter \ exec /usr/bin/tclsh "$0" "$@" catch {source \ [file join "/Library/Tcl" macports1.0 macports_fastload.tcl]} package require macports package require Pextlib # Globals array set ui_options [list] array set global_options [list] array set global_variations [list] set port_options [list] # Pass global options into mportinit mportinit ui_options global_options global_variations # Standard procedures proc print_usage args { global argv0 puts "Usage: $argv0 \[-d\] -m