Changeset 6591


Ignore:
Timestamp:
Apr 21, 2004, 8:40:02 AM (16 years ago)
Author:
toby
Message:

Minor changes - now requires DP python. Also, post-install message is disabled.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/port1.0/resources/group/python-1.0.tcl

    r6442 r6591  
    22# python-1.0.tcl
    33#
    4 # $Id: python-1.0.tcl,v 1.1 2004/04/14 15:36:30 toby Exp $
     4# $Id: python-1.0.tcl,v 1.2 2004/04/21 08:40:02 toby Exp $
    55#
    66# Copyright (c) 2004 Markus W. Weissman <mww@opendarwin.org>,
     
    3333#
    3434
    35 set python.bin python2.3
     35set python.bin ${prefix}/bin/python2.3
    3636
    3737categories       python
     
    3939dist_subdir      python
    4040
    41 depends_lib      bin:${python.bin}:python23
     41depends_lib      path:${python.bin}:python23
    4242
    4343use_configure    no
     
    5454
    5555post-install    {
    56         if [ file exists /Library/Python ] {
    57                 if { [ file readlink /Library/Python/2.3 ] ne "${prefix}/lib/python2.3/site-packages/" } {
    58                         ui_msg "############################################################"
    59                         ui_msg "# Please create a symlink at '/Library/Python/2.3' pointing"
    60                         ui_msg "# to ${prefix}/lib/python2.3/site-packages"
    61                         ui_msg "# for MacOS-X python to work with this package."
    62                         ui_msg "#"
    63                         ui_msg "# /Library/Python/2.3 -> ${prefix}/lib/python2.3/site-packages/"
    64                         ui_msg "#"
    65                 }
    66         }
     56#       if [ file exists /Library/Python ] {
     57#               if { [ file type /Library/Python/2.3 eq "link" ] } {
     58#                       if { [ file readlink /Library/Python/2.3 ] ne "${prefix}/lib/python2.3/site-packages/" } {
     59#                               ui_msg "############################################################"
     60#                                       ui_msg "# Please create a symlink at '/Library/Python/2.3' pointing"
     61#                                       ui_msg "# to ${prefix}/lib/python2.3/site-packages"
     62#                                       ui_msg "# for MacOS-X python to work with this package."
     63#                                       ui_msg "#"
     64#                                       ui_msg "# /Library/Python/2.3 -> ${prefix}/lib/python2.3/site-packages/"
     65#                                       ui_msg "#"
     66#                       }
     67#               }
     68#       }
    6769}
Note: See TracChangeset for help on using the changeset viewer.