Revision
111725
Author
mojca@macports.org
Date
2013-09-30 00:42:36 -0700 (Mon, 30 Sep 2013)

Log Message

geant4: add a post-activate note about port select/source

Modified Paths

Diff

Modified: trunk/dports/science/geant4/Portfile (111724 => 111725)


--- trunk/dports/science/geant4/Portfile	2013-09-30 06:34:07 UTC (rev 111724)
+++ trunk/dports/science/geant4/Portfile	2013-09-30 07:42:36 UTC (rev 111725)
@@ -229,6 +229,11 @@
                 move ${destroot}${prefix}/bin ${destroot}${prefix}/libexec/Geant4/Geant${geant.version_simple}/examples
             }
         }
+        post-activate {
+            ui_msg "NOTE: Use 'sudo port select geant4 ${subport}'"
+            ui_msg "      if you need geant4-config or geant4.(c)sh in PATH."
+            ui_msg "      Otherwise source ${prefix}/libexec/Geant4/Geant${geant.version_simple}/geant4.(c)sh"
+        }
 
         variant qt description {Build with Qt support} {
             depends_lib-append    port:qt4-mac