[48565] trunk/dports/science/gwyddion
Ryan Schmidt
ryandesign at macports.org
Wed Mar 25 05:01:09 PDT 2009
On Mar 25, 2009, at 02:28, rowue at macports.org wrote:
> Added: trunk/dports/science/gwyddion/files/gwyddion
> ===================================================================
> --- trunk/dports/science/gwyddion/files/
> gwyddion (rev 0)
> +++ trunk/dports/science/gwyddion/files/gwyddion 2009-03-25
> 07:28:56 UTC (rev 48565)
> @@ -0,0 +1,6 @@
> +#!/bin/bash
> +if [ -x @APPDIR@/X11.app/Contents/MacOS/X11 ]; then
> + open -a @APPDIR@/X11.app/Contents/MacOS/X11 /opt/local/bin/gwyddion
> +else
> + open -a /Applications/Utilities/X11.app/Contents/MacOS/X11 /opt/
> local/bin/gwyddion
> +fi
/opt/local shouldn't be hardcoded here. :)
More information about the macports-dev
mailing list