[108376] trunk/dports/science/gwyddion/Portfile
Ryan Schmidt
ryandesign at macports.org
Mon Jul 22 06:01:18 PDT 2013
On Jul 21, 2013, at 16:52, rowue at macports.org wrote:
> Revision: 108376
> https://trac.macports.org/changeset/108376
> Author: rowue at macports.org
> Date: 2013-07-21 14:52:57 -0700 (Sun, 21 Jul 2013)
> Log Message:
> -----------
> gwyddion: variant_isset no_x11 or variant_isset quartz
>
> Modified Paths:
> --------------
> trunk/dports/science/gwyddion/Portfile
>
> Modified: trunk/dports/science/gwyddion/Portfile
> ===================================================================
> --- trunk/dports/science/gwyddion/Portfile 2013-07-21 21:46:31 UTC (rev 108375)
> +++ trunk/dports/science/gwyddion/Portfile 2013-07-21 21:52:57 UTC (rev 108376)
> @@ -56,7 +56,7 @@
>
> post-destroot {
> xinstall -m 755 -d ${destroot}${applications_dir}/gwyddion.app/Contents/MacOS
> - if {[variant_isset no_x11]} {
> + if {[variant_isset no_x11 or variant_isset quartz]} {
> xinstall ${filespath}/gwyddion.quartz ${destroot}${applications_dir}/gwyddion.app/Contents/MacOS/gwyddion
> reinplace "s|@PREFIX@|${prefix}|" ${destroot}${applications_dir}/gwyddion.app/Contents/MacOS/gwyddion
> } else {
That's not valid syntax:
Error: org.macports.destroot for port gwyddion returned: wrong # args: should be "variant_isset name"
You meant:
if {[variant_isset no_x11] || [variant_isset quartz]} {
More information about the macports-dev
mailing list