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

Ryan Schmidt ryandesign at macports.org
Mon Sep 30 03:16:26 PDT 2013


On Sep 30, 2013, at 02:42, mojca at macports.org wrote:

> 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"
> +        }

You should use "notes-append" for this instead.



More information about the macports-dev mailing list