#43738: gnuplot: upgrade to 5.0 ----------------------+---------------------- Reporter: mojca@… | Owner: mojca@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: haspatch Port: gnuplot | ----------------------+---------------------- Comment (by devans@…): The port has a vert extensive and well anotated set of demos which not only serve as a test of functionality but also a nice tutorial. After building the port, I was able to run them all successfullly but only after I overcame a few of my own naive assumptions. First try. The all-inclusive demo, all.dem is installed in ${prefix}/share/doc/gnuplot/demo so I did this {{{ cd ~ gnuplot ${prefix}/share/doc/gnuplot/demo/all.dem }}} This fails with file not found errors because the file references in the scripts are interpreted as relative to the CWD. Second try {{{ cd ${prefix}/share/doc/gnuplot/demo gnuplot all.dem }}} This works better but fails again if the script issues any warning/error messages. gnuplot is trying to write these messages to a log file which by defalt is located in the CWD but the user usually doesn't have write permission to the MacPorts installation tree. Third try, copy the demos to a writable directory in the user's home directory {{{ mkdir ~/macports/gnuplots cp -R ${prefix}/share/doc/gnuplot/demo ~/macports/gnuplots cd ~/macports/gnuplots/demo gnuplot all.dem }}} Success!! All demos work correctly. I acknowlege again that this was all due to my naive ideas about how a demo might work but you might consider adding some notes to the Portfile advertizing the demos as a starting point for the naive user and how to install them locally so they work without hiccups. This would answer the question, "Ok, I installed the port -- what now?" -- Ticket URL: <https://trac.macports.org/ticket/43738#comment:15> MacPorts <http://www.macports.org/> Ports system for OS X