port notes

Mark Brethen mark.brethen at gmail.com
Fri Aug 5 17:09:54 UTC 2022


With a little experimentation I got it: 

    notes \
        "- To test for a successfull installation, execute the tool by typing \"cad2fbd\"" \
        \n \
        "-> some usage information should be displayed" \
        \n \
        "- The file result.fbd should be opened with the cgx parameter '-a' (auto)" \
        \n \
        "  cgx -a result.fbd"

Thanks,
Mark



> On Aug 5, 2022, at 12:06 PM, Joshua Root <jmr at macports.org> wrote:
> 
> On 2022-8-6 02:30 , Mark Brethen wrote:
>> Is formatting (e.g. \n for newline) available in the notes section of a portfile? Or is it just one block of text.
> 
> This is pretty easy to test, no? Yes, it's an arbitrary string, newlines are fine. Easiest to include them if you enclose the string in quotes.
> 
> - Josh



More information about the macports-dev mailing list