[37811] branches/python-frameworks/dports/lang
raimue at macports.org
raimue at macports.org
Tue Jun 24 13:36:47 PDT 2008
Revision: 37811
http://trac.macosforge.org/projects/macports/changeset/37811
Author: raimue at macports.org
Date: 2008-06-24 13:36:46 -0700 (Tue, 24 Jun 2008)
Log Message:
-----------
lang/python{24,25,30}:
Add better post-activate message
Modified Paths:
--------------
branches/python-frameworks/dports/lang/python24/Portfile
branches/python-frameworks/dports/lang/python25/Portfile
branches/python-frameworks/dports/lang/python30/Portfile
Modified: branches/python-frameworks/dports/lang/python24/Portfile
===================================================================
--- branches/python-frameworks/dports/lang/python24/Portfile 2008-06-24 19:51:31 UTC (rev 37810)
+++ branches/python-frameworks/dports/lang/python24/Portfile 2008-06-24 20:36:46 UTC (rev 37811)
@@ -101,6 +101,12 @@
xinstall -m 644 ${filespath}/python[string map {. {}} ${branch}] ${destroot}${prefix}/etc/select/python/
}
+post-activate {
+ ui_msg "\nTo fully complete your installation and make python $branch the default, please run
+\n\tsudo port install python_select \
+\n\tsudo python_select $name\n"
+}
+
platform darwin 8 {
# TODO: would configure.compiler be more appropriate?
configure.args-append --with-cxx=/usr/bin/g++-4.0
Modified: branches/python-frameworks/dports/lang/python25/Portfile
===================================================================
--- branches/python-frameworks/dports/lang/python25/Portfile 2008-06-24 19:51:31 UTC (rev 37810)
+++ branches/python-frameworks/dports/lang/python25/Portfile 2008-06-24 20:36:46 UTC (rev 37811)
@@ -99,9 +99,10 @@
xinstall -m 644 ${filespath}/python[string map {. {}} ${branch}] ${destroot}${prefix}/etc/select/python/
}
-# TODO: better message, how to install python_select etc.
post-activate {
- ui_msg "\n\n\nTo fully complete your installation and make python 2.5 the\ndefault, please run\n\nsudo python_select python25\n\n"
+ ui_msg "\nTo fully complete your installation and make python $branch the default, please run
+\n\tsudo port install python_select \
+\n\tsudo python_select $name\n"
}
platform darwin 7 {
Modified: branches/python-frameworks/dports/lang/python30/Portfile
===================================================================
--- branches/python-frameworks/dports/lang/python30/Portfile 2008-06-24 19:51:31 UTC (rev 37810)
+++ branches/python-frameworks/dports/lang/python30/Portfile 2008-06-24 20:36:46 UTC (rev 37811)
@@ -79,10 +79,10 @@
xinstall -m 644 ${filespath}/python[string map {. {}} ${branch}] ${destroot}${prefix}/etc/select/python/
}
-# TODO: better message, how to install python_select etc.
post-activate {
-ui_msg "\n\n\nTo fully complete your installation and make python 3.0 the default, \
-please run\n\nsudo python_select python30\n\n"
+ ui_msg "\nTo fully complete your installation and make python $branch the default, please run
+\n\tsudo port install python_select \
+\n\tsudo python_select $name\n"
}
variant universal {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080624/141ecc93/attachment-0001.htm
More information about the macports-changes
mailing list