Ignore:
Timestamp:
Sep 13, 2005, 3:47:28 PM (12 years ago)
Author:
jberry
Message:
  • Upate todo for port(1).
  • Revise portversion/-target separator to '/' from ':' on Paul's suggestion.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/port/port.tcl

    r14073 r14074  
    33exec @TCLSH@ "$0" "$@"
    44# port.tcl
    5 # $Id: port.tcl,v 1.84 2005/09/13 15:33:56 jberry Exp $
     5# $Id: port.tcl,v 1.85 2005/09/13 15:47:28 jberry Exp $
    66#
    77# Copyright (c) 2004 Robert Shaw <rshaw@opendarwin.org>
     
    3535#
    3636#       TODO:
    37 #               - Add support for wellknown ports:
    38 #                               all, installed, active, inactive, outdated
     37#               - Implement pseudo-ports outdated and uninstalled
     38#               - Sort variant names in composite_version
    3939#
    4040
     
    307307
    308308        if {$portname == ""} {
    309                 fatal "To use the _current pseudo port, you must be in a port directory"
     309                fatal "The pseudo-port current must be issued in a port's directory"
    310310        }
    311311       
     
    511511                                # Parse the version
    512512                               
    513                                 set sepPos [string first ":" $opt]
     513                                set sepPos [string first "/" $opt]
    514514                                if {$sepPos >= 0} {
    515                                         # Version terminated by ":" to disambiguate -variant from part of version
     515                                        # Version terminated by "/" to disambiguate -variant from part of version
    516516                                        set portversion [string range $opt 0 [expr $sepPos-1]]
    517517                                        set opt [string range $opt [expr $sepPos+1] end]
Note: See TracChangeset for help on using the changeset viewer.