[MacPorts] #39621: miriad: let MacPorts do the word wrapping in the notes

MacPorts noreply at macports.org
Wed Jul 3 00:57:41 PDT 2013


#39621: miriad: let MacPorts do the word wrapping in the notes
--------------------------+---------------------
 Reporter:  ryandesign@…  |      Owner:  peter@…
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.1.3
 Keywords:                |       Port:  miriad
--------------------------+---------------------
 The miriad port hardcodes newlines into its notes:

 {{{
 $ port notes miriad
 miriad has the following notes:
   MIRIAD programs are not in your $PATH by default.
   You need to run 'source /opt/local/lib/miriad/automiriad.sh' to set up
   your shell environment to use MIRIAD. (Source
 /opt/local/lib/miriad/automiriad.csh
   if you use csh or tcsh.) *** The 'source' keyword is important here! ***
   You can put this command in your .profile or other shell initialization
   files to have your shells automatically set up to use MIRIAD.
 }}}

 miriad should allow MacPorts to do the word wrapping at the width of the
 user's terminal. This is accomplished by placing the entire notes into a
 single Tcl string. If it is desired to wrap lines for better readability
 in the portfile, end such lines with a backslash, without any preceding
 whitespace. When actually wanting to start a newline in the displayed
 notes, simply insert an actual newline character. Here is an example:

 {{{
 notes "
 Here is the first paragraph of the\
 notes. MacPorts will automatically\
 wrap them to the width of the user's\
 terminal.

 Here is a second paragraph of the\
 notes.
 "
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/39621>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list