On Sep 30, 2013, at 02:42, [email protected] wrote: > Revision: 111725 > https://trac.macports.org/changeset/111725 > Author: [email protected] > 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. _______________________________________________ macports-dev mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-dev
