b6d2fb1048
Create ${PREFIX}/etc/modulefiles and add it to the default modulepath.
This gives a stable, non-versioned location for local modulefiles that
survives Modules upgrades without mixing site files into
${PREFIX}/Modules/${DISTVERSION}/modulefiles.
Add pkg-message with shell initialization instructions.
Bump PORTREVISION.
PR: 295476
Reviewed by: thierry (mentor)
Approved by: thierry (mentor)
17 lines
240 B
Plaintext
17 lines
240 B
Plaintext
[
|
|
{
|
|
message: <<EOD
|
|
To enable modules for bash(1), ksh(1), or zsh(1):
|
|
|
|
. %%PREFIX%%/etc/profile.d/module.sh
|
|
|
|
For csh(1) or tcsh(1):
|
|
|
|
source %%PREFIX%%/etc/profile.d/module.csh
|
|
|
|
This step is not needed for sh(1).
|
|
EOD,
|
|
type: install
|
|
}
|
|
]
|