# $Id: Portfile 112617 2013-10-28 10:11:25Z raimue@macports.org $ PortSystem 1.0 PortGroup select 1.0 name python_select version 0.3 revision 3 categories sysutils platforms darwin license BSD maintainers nomaintainer supported_archs noarch description common files for selecting default python version long_description This port installs files that allow 'port select' to \ be used to create links to the preferred default \ version of python. homepage http://www.macports.org/ distfiles use_configure no build {} # install all files destroot { select::install python ${filespath}/base select::install python ${filespath}/none } platform darwin 8 { post-destroot { select::install python ${filespath}/python23-apple } } platform darwin 9 { post-destroot { select::install python ${filespath}/python25-apple } } platform darwin 10 { post-destroot { select::install python ${filespath}/python25-apple select::install python ${filespath}/python26-apple } } platform darwin 11 { post-destroot { select::install python ${filespath}/python25-apple select::install python ${filespath}/python26-apple select::install python ${filespath}/python27-apple } } platform darwin 12 { post-destroot { select::install python ${filespath}/python25-apple.mtln python25-apple select::install python ${filespath}/python26-apple.mtln python26-apple select::install python ${filespath}/python27-apple.mtln python27-apple } } platform darwin 13 { post-destroot { select::install python ${filespath}/python25-apple.mtln python25-apple select::install python ${filespath}/python26-apple.mtln python26-apple select::install python ${filespath}/python27-apple.mtln python27-apple } } livecheck.type none # Documentation for python ports: # PortGroup select 1.0 # select.group python # select.file ${filespath}/python[string map {. {}} ${branch}]