[111725] trunk/dports/science/geant4/Portfile

mojca at macports.org mojca at macports.org
Mon Sep 30 00:42:36 PDT 2013


Revision: 111725
          https://trac.macports.org/changeset/111725
Author:   mojca at 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:
--------------
    trunk/dports/science/geant4/Portfile

Modified: trunk/dports/science/geant4/Portfile
===================================================================
--- 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130930/a0f036e0/attachment.html>


More information about the macports-changes mailing list