aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2021-08-20 09:08:05 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2021-08-20 09:08:47 +0000
commitc63158593b373d3f017260a813e6ff30921c4b9d (patch)
treed9551ec0dcd93733bf9b3a5c6ac19672ceec50ae
parent27d49c4c907fff7d64f82d400fd0897464f796dd (diff)
downloadports-c63158593b373d3f017260a813e6ff30921c4b9d.tar.gz
ports-c63158593b373d3f017260a813e6ff30921c4b9d.zip
science/dynare: Improve pkg-message
-rw-r--r--science/dynare/files/pkg-message.in16
1 files changed, 10 insertions, 6 deletions
diff --git a/science/dynare/files/pkg-message.in b/science/dynare/files/pkg-message.in
index 91df93776944..33c5872e94dc 100644
--- a/science/dynare/files/pkg-message.in
+++ b/science/dynare/files/pkg-message.in
@@ -3,14 +3,18 @@
message: <<EOM
You installed Dynare: Economics software package.
-Dynare runs as a 'dynare' command from the Octave prompt.
+Dynare runs as the 'dynare {example}.mod {args}' command
+in Octave.
-In order to make this command available you should:
-1. In the beginning of session run the command
- 'addpath %%PREFIX%%/lib/dynare/matlab'
- from the Octave prompt
+In order to make Dynare available in Octave you should:
+1. Add the line 'addpath %%PREFIX%%/lib/dynare/matlab'
+ to ~/.octaverc
or
-2. Add the same command to ~/.octaverc
+2. Run the same command in the beginning of each Octave
+ session.
+
+You can also run Dynare using one command:
+$ octave -c 'dynare {example}.mod {args}'
EOM
}