Changeset 114325


Ignore:
Timestamp:
Dec 5, 2013, 9:20:31 AM (4 years ago)
Author:
ryandesign@…
Message:

use eq and ne instead of == and != when comparing ${os.platform} and ${os.subplatform}

Location:
trunk/dports
Files:
142 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/aqua/HandBrake/Portfile

    r98486 r114325  
    141141
    142142pre-fetch {
    143     if {${os.platform} == "darwin" && ${os.major} < 10} {
     143    if {${os.platform} eq "darwin" && ${os.major} < 10} {
    144144        ui_error "${name} ${version} requires OS X 10.6 or greater."
    145145        return -code error "incompatible OS X version"
  • trunk/dports/aqua/Platypus/Portfile

    r98138 r114325  
    3434destroot.target     Platypus
    3535
    36 if {"darwin" == ${os.platform} && ${os.major} >= 10} {
     36if {${os.platform} eq "darwin" && ${os.major} >= 10} {
    3737    universal_variant   no
    3838}
     
    5656
    5757    # there is no English.lproj when building on Tiger and Leopard but there is one on SL
    58     if {"darwin" == ${os.platform} && 10 > ${os.major}} {
     58    if {${os.platform} eq "darwin" && 10 > ${os.major}} {
    5959        reinplace "s|English.lproj/||g" ${worksrcpath}/Scripts/InstallCommandLineTool.sh
    6060    }
  • trunk/dports/aqua/Platypus44/Portfile

    r100568 r114325  
    3636destroot.target     Platypus
    3737
    38 if {"darwin" == ${os.platform} && ${os.major} >= 10} {
     38if {${os.platform} eq "darwin" && ${os.major} >= 10} {
    3939    universal_variant   no
    4040}
     
    4949
    5050    # there is no English.lproj when building on Tiger and Leopard but there is one on SL
    51     if {"darwin" == ${os.platform} && 10 > ${os.major}} {
     51    if {${os.platform} eq "darwin" && 10 > ${os.major}} {
    5252        reinplace "s|English.lproj/||g" ${worksrcpath}/Scripts/InstallCommandLineTool.sh
    5353    }
  • trunk/dports/aqua/emacs-mac-app/Portfile

    r113392 r114325  
    3737                    --without-imagemagick
    3838
    39 if {${os.major} >= 11 && ${os.platform} == "darwin"} {
     39if {${os.major} >= 11 && ${os.platform} eq "darwin"} {
    4040    configure.cflags-append -fobjc-arc
    4141}
  • trunk/dports/aqua/iTunesMatchHelper/Portfile

    r99440 r114325  
    2828}
    2929
    30 if {${os.platform} == "darwin" && ${os.major} < 11} {
     30if {${os.platform} eq "darwin" && ${os.major} < 11} {
    3131    pre-fetch {
    3232        ui_error "${name} ${version} requires OS X 10.7 or greater."
  • trunk/dports/aqua/terminal-notifier/Portfile

    r112543 r114325  
    1818
    1919pre-fetch {
    20     if {${os.platform} == "darwin" && ${os.major} < 12} {
     20    if {${os.platform} eq "darwin" && ${os.major} < 12} {
    2121        ui_error "${name} only works with Mac OS X 10.8 Mountain Lion or later."
    2222        return -code error "incompatible Mac OS X version"
  • trunk/dports/archivers/unrar/Portfile

    r99381 r114325  
    9090        xinstall -d ${destroot}${prefix}/include/unrar
    9191        xinstall -m 644 ${worksrcpath}/dll.hpp ${destroot}${prefix}/include/unrar
    92         if {${os.platform} == "darwin"} {
     92        if {${os.platform} eq "darwin"} {
    9393            xinstall ${worksrcpath}/libunrar.dylib ${destroot}${prefix}/lib
    9494        } else {
  • trunk/dports/audio/julius/Portfile

    r107445 r114325  
    3939}
    4040
    41 if {${os.platform} == "darwin" && ${os.major} >= 10} {
     41if {${os.platform} eq "darwin" && ${os.major} >= 10} {
    4242    depends_lib-append      port:portaudio
    4343    configure.args-append   --with-mictype=portaudio
  • trunk/dports/audio/mpd/Portfile

    r111827 r114325  
    7878}
    7979
    80 if {"darwin" == ${os.platform} && ${os.major} > 8} {
     80if {${os.platform} eq "darwin" && ${os.major} > 8} {
    8181    set mpduser       _mpd
    8282} else {
  • trunk/dports/comms/libinfinity/Portfile

    r104704 r114325  
    3535universal_variant no
    3636
    37 if {${os.platform} == "darwin" && ${os.major} >= 10} {
     37if {${os.platform} eq "darwin" && ${os.major} >= 10} {
    3838    patchfiles-append patch-infinoted-infinoted-pam.c.diff
    3939}
  • trunk/dports/cross/arm-elf-gcc/Portfile

    r110370 r114325  
    178178configure.objc_archflags
    179179configure.ld_archflags
    180 if {${os.platform} == "darwin" && ($build_arch == "x86_64" || $build_arch == "ppc64")} {
     180if {${os.platform} eq "darwin" && ($build_arch == "x86_64" || $build_arch == "ppc64")} {
    181181    configure.args-append --build=${build_arch}-apple-darwin${os.major}
    182182}
  • trunk/dports/cross/arm-elf-gcc3/Portfile

    r110370 r114325  
    100100configure.objc_archflags
    101101configure.ld_archflags
    102 if {${os.platform} == "darwin" && ($build_arch == "x86_64" || $build_arch == "ppc64")} {
     102if {${os.platform} eq "darwin" && ($build_arch == "x86_64" || $build_arch == "ppc64")} {
    103103    configure.args-append --build=${build_arch}-apple-${os.platform}${os.version} \
    104104                          --host=${build_arch}-apple-${os.platform}${os.version} \
  • trunk/dports/cross/arm-none-linux-gnueabi-binutils/Portfile

    r95189 r114325  
    4141                        --program-prefix=${crossgcc-target}- --mandir='${prefix}/share/man' --with-sysroots \
    4242                        --disable-werror
    43 if {${os.platform} == "darwin" && ($build_arch == "x86_64" || $build_arch == "ppc64")} {
     43if {${os.platform} eq "darwin" && ($build_arch == "x86_64" || $build_arch == "ppc64")} {
    4444    configure.args-append --build=${build_arch}-apple-darwin${os.version} \
    4545                          --host=${build_arch}-apple-darwin${os.version}
  • trunk/dports/cross/arm-none-linux-gnueabi-gcc/Portfile

    r89280 r114325  
    8383configure.objc_archflags
    8484configure.ld_archflags
    85 if {${os.platform} == "darwin" && ($build_arch == "x86_64" || $build_arch == "ppc64")} {
     85if {${os.platform} eq "darwin" && ($build_arch == "x86_64" || $build_arch == "ppc64")} {
    8686    configure.args-append --build=${build_arch}-apple-darwin${os.version} \
    8787                          --host=${build_arch}-apple-darwin${os.version}
  • trunk/dports/cross/i386-mingw32-binutils/Portfile

    r110849 r114325  
    3333                    --program-prefix=${crossgcc-target}- --mandir='${prefix}/share/man' \
    3434                    --disable-werror
    35 if {${os.platform} == "darwin" && $build_arch != ""} {
     35if {${os.platform} eq "darwin" && $build_arch != ""} {
    3636    configure.args-append --build=${build_arch}-apple-darwin${os.major}
    3737}
  • trunk/dports/cross/i386-mingw32-gcc/Portfile

    r110370 r114325  
    7676    configure.cxx_archflags
    7777    configure.objc_archflags
    78     if {${os.platform} == "darwin"} {
     78    if {${os.platform} eq "darwin"} {
    7979        configure.args-append --build=${build_arch}-apple-darwin${os.major} \
    8080                              --host=${build_arch}-apple-darwin${os.major}
  • trunk/dports/cross/i960-rtems-binutils/Portfile

    r112296 r114325  
    135135# This target has been abandonned upstream.
    136136pre-fetch {
    137         if {${os.platform} == "darwin" && [vercmp 9.0 ${os.version}] < 0} {
     137        if {${os.platform} eq "darwin" && [vercmp 9.0 ${os.version}] < 0} {
    138138                ui_warn "i960-rtems-gcc does not build on darwin 9+ (Mac OS X 10.5+) and it has been abandonned upstream."
    139139        }
  • trunk/dports/cross/i960-rtems-gcc/Portfile

    r112297 r114325  
    202202# This target has been abandonned upstream.
    203203pre-fetch {
    204         if {${os.platform} == "darwin" && [vercmp 9.0 ${os.version}] < 0} {
     204        if {${os.platform} eq "darwin" && [vercmp 9.0 ${os.version}] < 0} {
    205205                error "This port does not build on darwin 9+ (Mac OS X 10.5+) and it has been abandonned upstream."
    206206        }
  • trunk/dports/cross/m68k-elf-gcc/Portfile

    r110370 r114325  
    9393configure.objc_archflags
    9494configure.ld_archflags
    95 if {${os.platform} == "darwin" && ($build_arch == "x86_64" || $build_arch == "ppc64")} {
     95if {${os.platform} eq "darwin" && ($build_arch == "x86_64" || $build_arch == "ppc64")} {
    9696    configure.args-append --build=${build_arch}-apple-${os.platform}${os.version} \
    9797                          --host=${build_arch}-apple-${os.platform}${os.version}
  • trunk/dports/cross/sh-rtems-binutils/Portfile

    r93052 r114325  
    5555                                        --program-prefix=${crossgcc-target}- --mandir='${prefix}/share/man' \
    5656                                        --disable-werror
    57 if {${os.platform} == "darwin" && ($build_arch == "x86_64" || $build_arch == "ppc64")} {
     57if {${os.platform} eq "darwin" && ($build_arch == "x86_64" || $build_arch == "ppc64")} {
    5858    configure.args-append --build=${build_arch}-apple-darwin${os.version}
    5959}
  • trunk/dports/cross/sh-rtems-gcc/Portfile

    r104510 r114325  
    103103                                --with-gxx-include-dir=${prefix}/${crossgcc-target}/include/c++/${version}/ \
    104104                                ${default-languages}
    105 if {${os.platform} == "darwin" && ($build_arch == "x86_64" || $build_arch == "ppc64")} {
     105if {${os.platform} eq "darwin" && ($build_arch == "x86_64" || $build_arch == "ppc64")} {
    106106    configure.args-append --build=${build_arch}-apple-darwin${os.version} \
    107107                          --host=${build_arch}-apple-darwin${os.version}
  • trunk/dports/databases/cassandra/Portfile

    r105107 r114325  
    5050set dbdir           ${prefix}/var/db/cassandra
    5151set logdir          ${prefix}/var/log/cassandra
    52 if {"darwin" == ${os.platform} && ${os.major} > 8} {
     52if {${os.platform} eq "darwin" && ${os.major} > 8} {
    5353    set cassandrauser       _cassandra
    5454} else {
  • trunk/dports/databases/db47/Portfile

    r98532 r114325  
    9494if {[variant_isset no_java]} {
    9595    default_variants -java
    96 } elseif {${os.subplatform} == "macosx" && ${os.major} < 11} {
     96} elseif {${os.subplatform} eq "macosx" && ${os.major} < 11} {
    9797    default_variants +java
    9898}
  • trunk/dports/databases/db48/Portfile

    r105617 r114325  
    6464if {[variant_isset no_java]} {
    6565    default_variants -java
    66 } elseif {${os.subplatform} == "macosx" && ${os.major} < 11} {
     66} elseif {${os.subplatform} eq "macosx" && ${os.major} < 11} {
    6767    default_variants +java
    6868}
  • trunk/dports/databases/db51/Portfile

    r111789 r114325  
    7878if {[variant_isset no_java]} {
    7979    default_variants -java
    80 } elseif {${os.subplatform} == "macosx" && ${os.major} < 11} {
     80} elseif {${os.subplatform} eq "macosx" && ${os.major} < 11} {
    8181    default_variants +java
    8282}
  • trunk/dports/databases/db52/Portfile

    r104996 r114325  
    7878if {[variant_isset no_java]} {
    7979    default_variants -java
    80 } elseif {${os.subplatform} == "macosx" && ${os.major} < 11} {
     80} elseif {${os.subplatform} eq "macosx" && ${os.major} < 11} {
    8181    default_variants +java
    8282}
  • trunk/dports/databases/db53/Portfile

    r104135 r114325  
    7575}
    7676
    77 if {${os.subplatform} == "macosx" && ${os.major} < 11} {
     77if {${os.subplatform} eq "macosx" && ${os.major} < 11} {
    7878    default_variants +java
    7979}
  • trunk/dports/databases/tokyocabinet/Portfile

    r97092 r114325  
    4848
    4949# broken on snow leopard, ticket #25513
    50 if {${os.major} < 10 || ${os.platform} != "darwin"} {
     50if {${os.major} < 10 || ${os.platform} ne "darwin"} {
    5151variant debug conflicts devel profile fastest description {build for debugging} {
    5252    configure.args-append   --enable-debug
  • trunk/dports/devel/BWToolkit/Portfile

    r102319 r114325  
    2323xcode.destroot.type     framework
    2424
    25 if {${os.platform} == "darwin" && (${os.major} < 9 || ${os.major} > 10)} {
     25if {${os.platform} eq "darwin" && (${os.major} < 9 || ${os.major} > 10)} {
    2626    pre-fetch {
    2727        ui_error "${name} ${version} requires OS X 10.5 or 10.6 only; it does not work on earlier or later versions of OS X."
  • trunk/dports/devel/allegro/Portfile

    r97481 r114325  
    3737
    3838pre-fetch {
    39     if {${os.platform} == "darwin" && ${os.major} > 10} {
     39    if {${os.platform} eq "darwin" && ${os.major} > 10} {
    4040        ui_error "${name} uses deprecated API which has been removed as of Mac OS X 10.7."
    4141        return -code error "incompatible Mac OS X version"
  • trunk/dports/devel/boost/Portfile

    r113985 r114325  
    8080}
    8181
    82 if {${os.platform} == "darwin" && ${os.major} <= 10} {
     82if {${os.platform} eq "darwin" && ${os.major} <= 10} {
    8383    configure.args-append   --without-libraries=context \
    8484                            --without-libraries=coroutine
  • trunk/dports/devel/cvs/Portfile

    r102612 r114325  
    3232# Lion provides a POSIX getline; rename the one in the source to use
    3333# the OS-provided one instead, and avoid conflict on name
    34 if {${os.platform} == "darwin" && ${os.major} >= 11} {
     34if {${os.platform} eq "darwin" && ${os.major} >= 11} {
    3535    patchfiles-append      patch-getline
    3636}
  • trunk/dports/devel/dylibbundler/Portfile

    r98657 r114325  
    3838
    3939pre-fetch {
    40     if {${os.platform} != "darwin"} {
     40    if {${os.platform} ne "darwin"} {
    4141        ui_error "${name} is designed for use on Darwin or OS X only."
    4242        return -code error "incompatible platform"
  • trunk/dports/devel/libgdiplus/Portfile

    r114130 r114325  
    7474}
    7575
    76 if {${os.platform} == "darwin" && ${os.major} >= 10} {
     76if {${os.platform} eq "darwin" && ${os.major} >= 10} {
    7777        patchfiles-append       patch-disable-atsui-support.diff
    7878}
  • trunk/dports/devel/libgii/Portfile

    r111614 r114325  
    4040configure.args   --mandir=${prefix}/share/man
    4141
    42 if {$build_arch == "x86_64" && ${os.platform} == "darwin"} {
     42if {$build_arch == "x86_64" && ${os.platform} eq "darwin"} {
    4343    configure.args-append --build=${build_arch}-apple-${os.platform}${os.version}
    4444}
  • trunk/dports/devel/libnotify/Portfile

    r113235 r114325  
    3636
    3737pre-activate {
    38         if {${os.major} == 11 && [lindex [split ${os.version} .] 1] < 2 && ${os.platform} == "darwin"} {
     38        if {${os.major} == 11 && [lindex [split ${os.version} .] 1] < 2 && ${os.platform} eq "darwin"} {
    3939                ui_error "You must first update to OS X 10.7.2."
    4040                return -code error "You must first update to OS X 10.7.2."
  • trunk/dports/devel/libtool/Portfile

    r97550 r114325  
    2929depends_build   port:automake port:autoconf
    3030
    31 if {${os.platform} != "darwin"} {
     31if {${os.platform} ne "darwin"} {
    3232    depends_lib port:grep \
    3333                port:gsed
  • trunk/dports/devel/omniORB/Portfile

    r114230 r114325  
    4343                    --with-omniNames-logdir="${prefix}/var"
    4444
    45 if {$build_arch == "x86_64" && ${os.platform} == "darwin"} {
     45if {$build_arch == "x86_64" && ${os.platform} eq "darwin"} {
    4646    configure.args-append --build=${build_arch}-apple-${os.platform}${os.version}
    4747}
  • trunk/dports/devel/openfst/Portfile

    r113460 r114325  
    2828# See http://www.openfst.org/twiki/bin/view/FST/CompilingOnMacOSX
    2929# TODO: Change this to compiler.blacklist
    30 if {${os.platform} == "darwin" && ${os.major} < 10} {
     30if {${os.platform} eq "darwin" && ${os.major} < 10} {
    3131    variant gcc43 conflicts gcc44 gcc45 description {Compile with gcc 4.3} {
    3232        configure.compiler macports-gcc-4.3
  • trunk/dports/devel/valgrind/Portfile

    r112845 r114325  
    3030
    3131pre-fetch {
    32     if {"darwin" == ${os.platform} && (${os.major} < 9 || ${os.major} > 12)} {
     32    if {${os.platform} eq "darwin" && (${os.major} < 9 || ${os.major} > 12)} {
    3333        ui_error "${name} ${version} is only compatible with Mac OS X 10.5, 10.6, 10.7 and 10.8"
    3434        return -code error "incompatible Mac OS X version"
  • trunk/dports/editors/MacVim/Portfile

    r113545 r114325  
    4444
    4545pre-fetch {
    46     if {${os.platform} == "darwin" && ${os.major} < 10} {
     46    if {${os.platform} eq "darwin" && ${os.major} < 10} {
    4747        ui_error "${name} only runs on Mac OS X 10.6 or greater."
    4848        return -code error "incompatible Mac OS X version"
  • trunk/dports/editors/textmate2/Portfile

    r112904 r114325  
    6565                        port:capnproto
    6666
    67 if {${os.platform} != "darwin" || ${os.major} < 11} {
     67if {${os.platform} ne "darwin" || ${os.major} < 11} {
    6868    depends_fetch
    6969    depends_build
  • trunk/dports/editors/vim-app/Portfile

    r113545 r114325  
    116116
    117117pre-fetch {
    118     if {${os.platform} == "darwin" && ${os.major} >= 10} {
     118    if {${os.platform} eq "darwin" && ${os.major} >= 10} {
    119119        ui_error "${name} does not run on Mac OS X 10.6 or greater. Please use MacVim instead."
    120120        return -code error "incompatible Mac OS X version"
  • trunk/dports/editors/xemacs/Portfile

    r102865 r114325  
    9595configure.cflags-append -std=gnu89
    9696
    97 if {${os.major} >= 11 && ${os.platform} == "darwin"} {
     97if {${os.major} >= 11 && ${os.platform} eq "darwin"} {
    9898    configure.ldflags-append -Wl,-no_pie
    9999}
  • trunk/dports/games/bzflag/Portfile

    r114119 r114325  
    4040                    --without-x
    4141
    42 if {${os.platform} == "darwin" && ${os.major} >= 10} {
     42if {${os.platform} eq "darwin" && ${os.major} >= 10} {
    4343    patchfiles-append patch-include__bzfSDL.h patch-src__platform__SDLDisplay.cxx
    4444}
  • trunk/dports/graphics/fontforge/Portfile

    r113035 r114325  
    7070
    7171post-patch {
    72     if {${os.major} > 11 && ${os.platform} == "darwin"} {
     72    if {${os.major} > 11 && ${os.platform} eq "darwin"} {
    7373        eval reinplace -W {${worksrcpath}/fontforge} "s|AnchorPoint|FFAnchorPoint|g" \
    7474            [glob -tails -directory ${worksrcpath}/fontforge *.c] \
  • trunk/dports/graphics/gimp/Portfile

    r114116 r114325  
    3838    # ticket #23675
    3939    #
    40     if { "darwin" == ${os.platform} } {
     40    if {${os.platform} eq "darwin"} {
    4141        if { ![string match *64* $build_arch] } {
    4242            depends_lib-append  port:macclipboard-gimp \
  • trunk/dports/graphics/glew/Portfile

    r108414 r114325  
    5151}
    5252
    53 if {${os.subplatform} != "macosx"} {
     53if {${os.subplatform} ne "macosx"} {
    5454    default_variants +x11
    5555}
  • trunk/dports/graphics/libguichan/Portfile

    r114119 r114325  
    2525depends_lib     port:libsdl port:libsdl_image port:allegro port:mesa
    2626
    27 if {${os.platform} == "darwin" && (([variant_isset universal] && [string match *64* $universal_archs]) || (![variant_isset universal] && [string match *64 $build_arch]))} {
     27if {${os.platform} eq "darwin" && (([variant_isset universal] && [string match *64* $universal_archs]) || (![variant_isset universal] && [string match *64 $build_arch]))} {
    2828    # allegro is not yet 64-bit compatible
    2929    depends_lib-delete port:allegro
  • trunk/dports/graphics/minidjvu/Portfile

    r102865 r114325  
    2828
    2929patchfiles                      patch-Makefile.in.diff
    30 if {${os.platform} == "darwin" && [vercmp ${os.version} 10] < 0} {
     30if {${os.platform} eq "darwin" && [vercmp ${os.version} 10] < 0} {
    3131    patchfiles-append           patch-configure.ac.diff
    3232    use_autoconf                yes
  • trunk/dports/graphics/opencv/Portfile

    r113355 r114325  
    165165variant opencl description {Enable OpenCL support.} {
    166166    pre-configure {
    167         if {${os.platform} == "darwin" && ${os.major} < 11} {
     167        if {${os.platform} eq "darwin" && ${os.major} < 11} {
    168168            ui_error "The OpenCL variant only works with OS X 10.7 Lion or later."
    169169            return -code error "incompatible OS X version"
  • trunk/dports/graphics/vtk5/Portfile

    r112958 r114325  
    116116variant carbon conflicts x11 tcltk description {Use Carbon.  Allows embedding VTK within qt4-mac (and py*-pyqt4 when used with Python)} {
    117117    supported_archs i386 ppc
    118     if {${os.platform} == "darwin" && ${os.major} >= 12} {
     118    if {${os.platform} eq "darwin" && ${os.major} >= 12} {
    119119        ui_error "${name}: 'carbon' is not supported on OS X 10.8 or greater"
    120120        return -code error "incompatible OS X version"
  • trunk/dports/irc/eggdrop/Portfile

    r84550 r114325  
    3838}
    3939
    40 if {${os.platform} == "darwin" && ${os.major} >= 10} {
     40if {${os.platform} eq "darwin" && ${os.major} >= 10} {
    4141    patchfiles-append patch-Makefile.in.diff
    4242}
  • trunk/dports/java/hadoop/Portfile

    r112736 r114325  
    3636    # This port works on Mac OS X 10.6 or later, because 'sudo option -E'
    3737    # is not available on Mac OS X 10.5 or earlier. See #34665.
    38     if {${os.platform} == "darwin" && ${os.major} <= 9} {
     38    if {${os.platform} eq "darwin" && ${os.major} <= 9} {
    3939        ui_error "This port works on Mac OS X 10.6 (Snow Leopard) or later"
    4040        return -code error "Mac OS X 10.6 (Snow Leopard) or later is required"
  • trunk/dports/java/jgoodies-common/Portfile

    r100512 r114325  
    2525worksrcdir              ${name}-${version}
    2626
    27 if {${os.platform} == "darwin" && ${os.major} < 10} {
     27if {${os.platform} eq "darwin" && ${os.major} < 10} {
    2828    pre-fetch {
    2929        ui_error "${name} ${version} requires OS X 10.6 or greater for Java 6."
  • trunk/dports/java/jgoodies-forms/Portfile

    r100512 r114325  
    2929worksrcdir              ${name}-${version}
    3030
    31 if {${os.platform} == "darwin" && ${os.major} < 10} {
     31if {${os.platform} eq "darwin" && ${os.major} < 10} {
    3232    pre-fetch {
    3333        ui_error "${name} ${version} requires OS X 10.6 or greater for Java 6."
  • trunk/dports/java/jgoodies-looks/Portfile

    r100512 r114325  
    2828worksrcdir              ${name}-${version}
    2929
    30 if {${os.platform} == "darwin" && ${os.major} < 10} {
     30if {${os.platform} eq "darwin" && ${os.major} < 10} {
    3131    pre-fetch {
    3232        ui_error "${name} ${version} requires OS X 10.6 or greater for Java 6."
  • trunk/dports/kde/kdebase3/Portfile

    r106069 r114325  
    136136}
    137137
    138 if {${os.platform} == "darwin" && ${os.major} >= 10} {
     138if {${os.platform} eq "darwin" && ${os.major} >= 10} {
    139139    patchfiles-append   patch-kcontrol_info_info_osx.cpp.diff
    140140}
  • trunk/dports/kde/kdevelop/Portfile

    r114138 r114325  
    7676
    7777#Using c++0x for Lion and higher in case of clang 64-bit
    78 if {${configure.compiler} == "clang" && ${os.platform} == "darwin" && ${os.major} >= 11} {
     78if {${configure.compiler} == "clang" && ${os.platform} eq "darwin" && ${os.major} >= 11} {
    7979    lappend merger_configure_args(x86_64)   -DCMAKE_CXX_FLAGS='-stdlib=libc++' -DHAVE_UNORDERED_MAP=1
    8080    if {${build_arch} == "x86_64" && ![variant_isset universal]} {
  • trunk/dports/kde/kdevplatform/Portfile

    r114137 r114325  
    6060
    6161#Using c++0x for Lion and higher in case of clang 64-bit
    62 if {${configure.compiler} == "clang" && ${os.platform} == "darwin" && ${os.major} >= 11} {
     62if {${configure.compiler} == "clang" && ${os.platform} eq "darwin" && ${os.major} >= 11} {
    6363    lappend merger_configure_args(x86_64)   -DCMAKE_CXX_FLAGS='-stdlib=libc++' -DHAVE_UNORDERED_MAP=1
    6464    if {${build_arch} == "x86_64" && ![variant_isset universal]} {
  • trunk/dports/lang/gauche-c-wrapper/Portfile

    r106545 r114325  
    3131# The author stated on 2012-07-18 that c-wrapper is still not compatible with
    3232# ObjectiveC 2.0 (i.e. on Leopard and up).
    33 if {${os.platform} == "darwin" && ${os.major} > 8} {
     33if {${os.platform} eq "darwin" && ${os.major} > 8} {
    3434    configure.args-append --disable-objc
    3535}
  • trunk/dports/lang/gnat-gcc/Portfile

    r83385 r114325  
    5454
    5555# the generated compiler doesn't accept -arch
    56 if {[info exists build_arch] && ${os.platform} == "darwin"} {
     56if {[info exists build_arch] && ${os.platform} eq "darwin"} {
    5757    configure.cc_archflags
    5858    configure.cxx_archflags
  • trunk/dports/lang/hugs98/Portfile

    r110624 r114325  
    2727depends_lib         port:libedit port:xorg-libX11
    2828
    29 if {${os.platform} == "darwin" && ${os.major} >= 10} {
     29if {${os.platform} eq "darwin" && ${os.major} >= 10} {
    3030    # This fixes the 'Undefined symbols: "_environ"' error
    3131    patchfiles-append patch-packages-base-include-HsBase.h.diff
  • trunk/dports/lang/perl5.10/Portfile

    r113976 r114325  
    8888# Allow perl to find p5-* ports installed by previous (minor) versions
    8989set platsuffix ""
    90 if {${os.platform} == "darwin"} {
     90if {${os.platform} eq "darwin"} {
    9191    set platsuffix "-2level"
    9292}
  • trunk/dports/lang/perl5.12/Portfile

    r113976 r114325  
    9292# Allow perl to find p5-* ports installed by previous (minor) versions
    9393set platsuffix ""
    94 if {${os.platform} == "darwin"} {
     94if {${os.platform} eq "darwin"} {
    9595    set platsuffix "-2level"
    9696}
  • trunk/dports/lang/perl5.14/Portfile

    r112361 r114325  
    8484# Allow perl to find p5-* ports installed by previous (minor) versions
    8585set platsuffix ""
    86 if {${os.platform} == "darwin"} {
     86if {${os.platform} eq "darwin"} {
    8787    set platsuffix "-2level"
    8888}
  • trunk/dports/lang/perl5.16/Portfile

    r112361 r114325  
    8383# Allow perl to find p5-* ports installed by previous (minor) versions
    8484set platsuffix ""
    85 if {${os.platform} == "darwin"} {
     85if {${os.platform} eq "darwin"} {
    8686    set platsuffix "-2level"
    8787}
  • trunk/dports/lang/perl5.18/Portfile

    r112781 r114325  
    6969# Allow perl to find p5-* ports installed by previous (minor) versions
    7070set platsuffix ""
    71 if {${os.platform} == "darwin"} {
     71if {${os.platform} eq "darwin"} {
    7272    set platsuffix "-2level"
    7373}
  • trunk/dports/lang/php4/Portfile

    r111962 r114325  
    105105    --with-freetype-dir=${prefix}
    106106
    107 if {${os.platform} == "darwin" && ${os.major} >= 10} {
     107if {${os.platform} eq "darwin" && ${os.major} >= 10} {
    108108    configure.env-append \
    109109        LIBS=-lresolv
     
    120120
    121121variant apache conflicts apache2 apache20 no_web description {Add Apache 1 web server module} {
    122     if { ! [variant_isset macosx] && (![info exists os.subplatform] || ${os.subplatform} != "macosx") } {
     122    if { ! [variant_isset macosx] && (![info exists os.subplatform] || ${os.subplatform} ne "macosx") } {
    123123        depends_lib-append \
    124124            port:apache
     
    302302variant suhosin description {Add Suhosin patch} {
    303303    pre-fetch {
    304         if {"darwin" == ${os.platform} && ${os.major} < 9} {
     304        if {${os.platform} eq "darwin" && ${os.major} < 9} {
    305305            ui_error "The suhosin variant requires Mac OS X 10.5 or greater."
    306306            return -code error "incompatible Mac OS X version"
     
    353353        # with the options specified in the apache, apache2 and apache20 variants.
    354354        if { [variant_isset apache] } {
    355             if { ![variant_isset macosx] && (![info exists os.subplatform] || ${os.subplatform} != "macosx") } {
     355            if { ![variant_isset macosx] && (![info exists os.subplatform] || ${os.subplatform} ne "macosx") } {
    356356                configure.args-delete \
    357357                    --with-apxs=${prefix}/sbin/apxs
  • trunk/dports/lang/php5/Portfile

    r111348 r114325  
    110110# in sync with those in the relevant part of the post-destroot phase.
    111111variant apache conflicts apache2 no_web description {Add Apache 1 web server module} {
    112     if { ! [variant_isset macosx] && (![info exists os.subplatform] || ${os.subplatform} != "macosx") } {
     112    if { ! [variant_isset macosx] && (![info exists os.subplatform] || ${os.subplatform} ne "macosx") } {
    113113        depends_lib-append \
    114114            port:apache
     
    186186variant suhosin description {Add Suhosin patch} {
    187187    pre-fetch {
    188         if {"darwin" == ${os.platform} && ${os.major} < 9} {
     188        if {${os.platform} eq "darwin" && ${os.major} < 9} {
    189189            ui_error "The suhosin variant requires Mac OS X 10.5 or greater."
    190190            return -code error "incompatible Mac OS X version"
     
    239239        # with the options specified in the apache and apache2 variants.
    240240        if { [variant_isset apache] } {
    241             if { ![variant_isset macosx] && (![info exists os.subplatform] || ${os.subplatform} != "macosx") } {
     241            if { ![variant_isset macosx] && (![info exists os.subplatform] || ${os.subplatform} ne "macosx") } {
    242242                configure.args-delete \
    243243                    --with-apxs=${prefix}/sbin/apxs
  • trunk/dports/lang/php52/Portfile

    r111348 r114325  
    113113configure.universal_args-delete --disable-dependency-tracking
    114114
    115 if {${os.platform} == "darwin" && ${os.major} >= 10} {
     115if {${os.platform} eq "darwin" && ${os.major} >= 10} {
    116116    configure.env-append \
    117117        LIBS=-lresolv
     
    131131# in sync with those in the relevant part of the post-destroot phase.
    132132variant apache conflicts apache2 no_web description {Add Apache 1 web server module} {
    133     if { ! [variant_isset macosx] && (![info exists os.subplatform] || ${os.subplatform} != "macosx") } {
     133    if { ! [variant_isset macosx] && (![info exists os.subplatform] || ${os.subplatform} ne "macosx") } {
    134134        depends_lib-append \
    135135            port:apache
     
    371371variant suhosin description {Add Suhosin patch} {
    372372    pre-fetch {
    373         if {"darwin" == ${os.platform} && ${os.major} < 9} {
     373        if {${os.platform} eq "darwin" && ${os.major} < 9} {
    374374            ui_error "The suhosin variant requires Mac OS X 10.5 or greater."
    375375            return -code error "incompatible Mac OS X version"
     
    414414        # with the options specified in the apache and apache2 variants.
    415415        if { [variant_isset apache] } {
    416             if { ![variant_isset macosx] && (![info exists os.subplatform] || ${os.subplatform} != "macosx") } {
     416            if { ![variant_isset macosx] && (![info exists os.subplatform] || ${os.subplatform} ne "macosx") } {
    417417                configure.args-delete \
    418418                    --with-apxs=${prefix}/sbin/apxs
  • trunk/dports/lang/python24/Portfile

    r104926 r114325  
    8787}
    8888select.group            python
    89 if {${os.subplatform} != "macosx"} {
     89if {${os.subplatform} ne "macosx"} {
    9090    select.file         ${workpath}/python[string map {. {}} ${branch}]
    9191}
  • trunk/dports/lang/python26/Portfile

    r113252 r114325  
    7676   system -W ${worksrcpath} "ed - Lib/locale.py < ${filespath}/locale.py.ed"
    7777
    78    if {${os.platform} == "darwin" && ${os.major} > 9} {
     78   if {${os.platform} eq "darwin" && ${os.major} > 9} {
    7979      # http://trac.macports.org/ticket/21559
    8080      system -W ${worksrcpath} "ed - Modules/posixmodule.c < ${filespath}/posixmodule.c.ed"
  • trunk/dports/lang/rust/Portfile

    r114035 r114325  
    2828
    2929pre-fetch {
    30     if {${os.platform} == "darwin" && ${os.major} < 10} {
     30    if {${os.platform} eq "darwin" && ${os.major} < 10} {
    3131        ui_error "${name} is only supported on OS X 10.6 Snow Leopard or later."
    3232        return -code error "unsupported platform version"
  • trunk/dports/lang/squeak/Portfile

    r102407 r114325  
    103103
    104104# "quartz" support uses NSQuickDrawView
    105 if {${os.subplatform} == "macosx" &&
     105if {${os.subplatform} eq "macosx" &&
    106106    ((![variant_isset universal] && ![string match *64 $build_arch]) ||
    107107     ([variant_isset universal] && ![string match *64* $universal_archs]))
  • trunk/dports/lang/upc/Portfile

    r113471 r114325  
    3131}
    3232
    33 if {[info exists build_arch] && ${os.platform} == "darwin"} {
     33if {[info exists build_arch] && ${os.platform} eq "darwin"} {
    3434    configure.cc_archflags
    3535    configure.cxx_archflags
     
    3939
    4040pre-configure {
    41     if {${os.platform} == "darwin" && ${os.arch} == "powerpc"} {
     41    if {${os.platform} eq "darwin" && ${os.arch} == "powerpc"} {
    4242        ui_error "PowerPC is not supported"
    4343    }
     
    5959                    --with-upc-backtrace-gdb=ggdb \
    6060                    --enable-languages=upc
    61 if {${os.platform} == "darwin" && ${build_arch} == "x86_64"} {
     61if {${os.platform} eq "darwin" && ${build_arch} == "x86_64"} {
    6262    configure.args-append   --build=${build_arch}-apple-${os.platform}${os.major}
    6363}
  • trunk/dports/lang/yap-devel/Portfile

    r95899 r114325  
    3434                --with-readline=${prefix}
    3535
    36 if {${os.platform} == "darwin" && ${build_arch} == "x86_64"} {
     36if {${os.platform} eq "darwin" && ${build_arch} == "x86_64"} {
    3737    configure.args-append --build=${build_arch}-apple-${os.platform}${os.version}
    3838}
  • trunk/dports/lang/yap/Portfile

    r95899 r114325  
    3434                --with-readline=${prefix}
    3535
    36 if {${os.platform} == "darwin" && ${build_arch} == "x86_64"} {
     36if {${os.platform} eq "darwin" && ${build_arch} == "x86_64"} {
    3737    configure.args-append --build=${build_arch}-apple-${os.platform}${os.version}
    3838}
  • trunk/dports/mail/alpine/Portfile

    r112814 r114325  
    2727                    patch-imap_Makefile.diff
    2828patch.pre_args      -p1
    29 if {${os.platform} == "darwin" && ${os.major} >= 10} {
     29if {${os.platform} eq "darwin" && ${os.major} >= 10} {
    3030    patchfiles-append   alpine-osx-10.6.patch
    3131}
  • trunk/dports/mail/dovecot2/Portfile

    r113879 r114325  
    5656
    5757# Do not build with kqueue or poll support prior to Darwin 10.7.0 (Mac OS X 10.6)
    58 if {${os.platform} == "darwin" && [vercmp ${os.version} 10.7.0] < 0} {
     58if {${os.platform} eq "darwin" && [vercmp ${os.version} 10.7.0] < 0} {
    5959    configure.args-append \
    6060                    --with-ioloop=select
  • trunk/dports/mail/imap-uw/Portfile

    r84550 r114325  
    3131
    3232patchfiles          patch-Makefile.diff
    33 if {"darwin" == ${os.platform} && ${os.major} >= 10} {
     33if {${os.platform} eq "darwin" && ${os.major} >= 10} {
    3434    patchfiles-append   patch-snowleopard.diff
    3535}
  • trunk/dports/mail/pine/Portfile

    r76785 r114325  
    3535
    3636pre-fetch {
    37         if {${os.platform} == "darwin" && ${os.major} >= 10} {
     37        if {${os.platform} eq "darwin" && ${os.major} >= 10} {
    3838                ui_error "Pine development ended with version 4.64 and evolved into the upwards-compatible replacement Alpine.  Also, this version does not build on Snow Leopard."
    3939                return -code error "incompatible Mac OS X version"
  • trunk/dports/mail/postfix/Portfile

    r110778 r114325  
    7575}
    7676
    77 if {${os.major} >= 10 && ${os.platform} == "darwin"} {
     77if {${os.major} >= 10 && ${os.platform} eq "darwin"} {
    7878    lappend AUXLIBS -lresolv
    7979}
  • trunk/dports/mail/tpop3d/Portfile

    r94982 r114325  
    3939}
    4040
    41 if {${os.platform} == "darwin" && ${os.major} <= 9} {
     41if {${os.platform} eq "darwin" && ${os.major} <= 9} {
    4242        patchfiles-append       patch-configure patch-auth_pam.c
    4343}
  • trunk/dports/math/arpack/Portfile

    r111272 r114325  
    3434
    3535pre-configure {
    36    if {"darwin" == ${os.platform} && ${os.major} < 9} {
     36   if {${os.platform} eq "darwin" && ${os.major} < 9} {
    3737        ui_error "${name} ${version} requires Mac OS X 10.5 or greater"
    3838        return -code error "incompatible Mac OS X version"
  • trunk/dports/math/maxima/Portfile

    r114292 r114325  
    3939                --enable-sbcl
    4040
    41 if {${os.platform} != "darwin" && ${os.arch} != "i386"} {
     41if {${os.platform} ne "darwin" && ${os.arch} != "i386"} {
    4242variant clisp description {Use CLISP instead of SBCL for Lisp} {
    4343    depends_lib-delete  port:sbcl
  • trunk/dports/multimedia/VLC-devel/Portfile

    r114119 r114325  
    6363
    6464pre-fetch {
    65     if {"darwin" == ${os.platform} && ${os.major} < 10} {
     65    if {${os.platform} eq "darwin" && ${os.major} < 10} {
    6666        ui_error "${name} ${version} requires Mac OS X 10.6 or greater."
    6767        return -code error "incompatible Mac OS X version"
  • trunk/dports/multimedia/VLC/Portfile

    r114119 r114325  
    6262
    6363pre-fetch {
    64     if {"darwin" == ${os.platform} && ${os.major} < 10} {
     64    if {${os.platform} eq "darwin" && ${os.major} < 10} {
    6565        ui_error "${name} ${version} requires Mac OS X 10.6 or greater."
    6666        return -code error "incompatible Mac OS X version"
  • trunk/dports/multimedia/mythtv-core.26/Portfile

    r113129 r114325  
    7676
    7777pre-fetch {
    78     if {"darwin" == ${os.platform} && ${os.major} < 9} {
     78    if {${os.platform} eq "darwin" && ${os.major} < 9} {
    7979        ui_error "${name} ${version} requires Mac OS X 10.5 or greater."
    8080        return -code error "incompatible Mac OS X version"
  • trunk/dports/multimedia/mythtv-core.27/Portfile

    r113139 r114325  
    8383
    8484pre-fetch {
    85     if {"darwin" == ${os.platform} && ${os.major} < 9} {
     85    if {${os.platform} eq "darwin" && ${os.major} < 9} {
    8686        ui_error "${name} ${version} requires Mac OS X 10.5 or greater."
    8787        return -code error "incompatible Mac OS X version"
  • trunk/dports/multimedia/subtitleripper/Portfile

    r97300 r114325  
    3434
    3535set defines ""
    36 if {${os.platform} == "darwin" && ${os.major} >= 11} {
     36if {${os.platform} eq "darwin" && ${os.major} >= 11} {
    3737    set defines -DHAVE_GETLINE
    3838}
  • trunk/dports/multimedia/x264/Portfile

    r112712 r114325  
    4949# asm works with a 64-bit snow leopard build
    5050
    51 if {[variant_isset asm] || ("darwin" == ${os.platform} && 10 == ${os.major} && "x86_64" == $build_arch && ![variant_isset universal])} {
     51if {[variant_isset asm] || (${os.platform} eq "darwin" && 10 == ${os.major} && "x86_64" == $build_arch && ![variant_isset universal])} {
    5252        depends_build-append    port:yasm
    5353        configure.args-delete   --disable-asm
    5454}
    5555
    56 if {${os.platform} == "darwin" && $build_arch != "" && ![variant_isset universal]} {
     56if {${os.platform} eq "darwin" && $build_arch != "" && ![variant_isset universal]} {
    5757    if {$build_arch == "i386"} {
    5858        configure.args-append   --host=i686-apple-darwin${os.major}
  • trunk/dports/net/dnstracer/Portfile

    r59683 r114325  
    2323configure.cppflags  "-DBIND_8_COMPAT=1"
    2424configure.args      --mandir=${prefix}/share/man
    25 if {${os.platform} == "darwin" && ${os.major} > 9} {
     25if {${os.platform} eq "darwin" && ${os.major} > 9} {
    2626   configure.env    LIBS=-lresolv
    2727}
  • trunk/dports/net/heimdal/Portfile

    r98631 r114325  
    8787post-patch {
    8888        # Tiger does not have the CommonCrypto support needed for -openssl
    89         if {${os.platform} == "darwin" && ${os.major} < 9} {
     89        if {${os.platform} eq "darwin" && ${os.major} < 9} {
    9090                reinplace "s:def __APPLE__: 0:" ${worksrcpath}/lib/hcrypto/evp-cc.c
    9191        }
  • trunk/dports/net/libtorrent-devel/Portfile

    r109076 r114325  
    4646}
    4747
    48 if {${os.platform} == "darwin" && ${os.major} <= 9} {
     48if {${os.platform} eq "darwin" && ${os.major} <= 9} {
    4949    patchfiles-append   no_posix_memalign.patch
    5050}
  • trunk/dports/net/libtorrent/Portfile

    r109075 r114325  
    4242}
    4343
    44 if {${os.platform} == "darwin" && ${os.major} <= 9} {
     44if {${os.platform} eq "darwin" && ${os.major} <= 9} {
    4545    # currently broken, ticket #27289
    4646    pre-fetch {
  • trunk/dports/net/libusrsctp/Portfile

    r108700 r114325  
    2525
    2626pre-fetch {
    27     if {${os.platform} == "darwin" && ${os.major} < 11} {
     27    if {${os.platform} eq "darwin" && ${os.major} < 11} {
    2828        ui_error "${name} is only supported on OS X 10.7 or later."
    2929        return -code error "unsupported platform version"
  • trunk/dports/net/mtr/Portfile

    r112306 r114325  
    3535                    --without-gtk
    3636
    37 if {${os.platform} == "darwin" && ${os.major} >= 10} {
     37if {${os.platform} eq "darwin" && ${os.major} >= 10} {
    3838    configure.env-append    LIBS=-lresolv
    3939}
  • trunk/dports/net/nefu/Portfile

    r110345 r114325  
    6363
    6464        # nefu start/stop rc script (if non-Darwin)
    65         if {${os.platform} != "darwin"} {
     65        if {${os.platform} ne "darwin"} {
    6666                xinstall -d -m 0755 ${destroot}${prefix}/etc/rc.d
    6767                xinstall -m 0755 ${filespath}/nefu.sh.in \
  • trunk/dports/net/nsping/Portfile

    r111939 r114325  
    3636                          xinstall -m 644 -c -W ${worksrcpath} nsping.8 ${destroot}${prefix}/share/man/man8 }
    3737
    38 if {${os.platform} == "darwin" && ${os.major} >= 10} {
     38if {${os.platform} eq "darwin" && ${os.major} >= 10} {
    3939    build.args-append LIBS=-lresolv
    4040}
  • trunk/dports/net/openvpn2/Portfile

    r103962 r114325  
    4444}
    4545
    46 if {${os.platform} == "darwin" && ${os.major} <= 9} {
     46if {${os.platform} eq "darwin" && ${os.major} <= 9} {
    4747    post-patch {
    4848        reinplace "s|security/pam_appl.h|pam/pam_appl.h|g" ${worksrcpath}/src/plugins/auth-pam/auth-pam.c
  • trunk/dports/net/radmind/Portfile

    r93787 r114325  
    6060
    6161        # radmind start/stop rc script (if non-Darwin)
    62         if {${os.platform} != "darwin"} {
     62        if {${os.platform} ne "darwin"} {
    6363                xinstall -d -m 0755 ${destroot}${prefix}/etc/rc.d
    6464                xinstall -m 0755 ${filespath}/radmind.sh.in \
  • trunk/dports/net/radvd/Portfile

    r94044 r114325  
    2424                    sha256  ac789d820c96570fe6921bd0c96ce69d7265c9686bdeb67170d9438091cfd08e
    2525
    26 if {${os.platform} == "darwin" && ${os.major} >= 11} {
     26if {${os.platform} eq "darwin" && ${os.major} >= 11} {
    2727    patchfiles-append   rfc3542.patch
    2828}
  • trunk/dports/net/xymon-client/Portfile

    r97926 r114325  
    4040patchfiles              patch-build-Makefile.Darwin.diff
    4141
    42 if {"darwin" == ${os.platform} && ${os.major} > 8} {
     42if {${os.platform} eq "darwin" && ${os.major} > 8} {
    4343    set xymonuser       _xymon
    4444} else {
  • trunk/dports/net/xymon-server/Portfile

    r97926 r114325  
    3939universal_variant       no
    4040
    41 if {"darwin" == ${os.platform} && ${os.major} > 8} {
     41if {${os.platform} eq "darwin" && ${os.major} > 8} {
    4242    set xymonuser       _xymon
    4343} else {
  • trunk/dports/print/cups-pdf/Portfile

    r90445 r114325  
    1414platforms           darwin
    1515
    16 if {${os.platform} == "darwin" && ${os.major} > 9} {
     16if {${os.platform} eq "darwin" && ${os.major} > 9} {
    1717   set notes-darwinover9 "
    1818   As of Mac OS X 10.6, cups can no longer write into user directories, so
     
    8080
    8181   # Some initial changes to the conf file
    82    if {${os.platform} == "darwin" && ${os.major} > 9} {
     82   if {${os.platform} eq "darwin" && ${os.major} > 9} {
    8383      reinplace "s|#Out .*|Out ${prefix}/var/spool/cups-pdf/\${USER}/|" \
    8484         ${destroot}${prefix}/etc/cups/cups-pdf.conf.dist
  • trunk/dports/print/ghostscript-fonts-hiragino/Portfile

    r112536 r114325  
    2222pre-fetch {
    2323    if {[variant_isset yu]} {
    24         if {${os.platform} == "darwin" && ${os.major} >= 13} {
     24        if {${os.platform} eq "darwin" && ${os.major} >= 13} {
    2525            # nop
    2626        } else {
     
    3535
    3636destroot {
    37     if {${os.platform} == "darwin" && ${os.major} <= 8} {
     37    if {${os.platform} eq "darwin" && ${os.major} <= 8} {
    3838        # for Tiger or older
    3939        set FontList {"/System/Library/Fonts/ヒラギノ角ゴ Pro W3.otf"  HiraKakuPro-W3     Adobe-Japan1 {GothicBBB-Medium A-OTF-GothicBBBPro-Medium}
     
    5858    }
    5959
    60     if {${os.platform} == "darwin"} {
     60    if {${os.platform} eq "darwin"} {
    6161        if {${os.major} >= 10} {
    6262            # for SnowLeopard or newer
  • trunk/dports/python/py-graph-tool/Portfile

    r114324 r114325  
    7171    # the old tr1 headers.
    7272    if {[string match *gcc* ${configure.compiler}] ||
    73         ${os.major} >= 13 && ${os.platform} == "darwin"} {
     73        ${os.major} >= 13 && ${os.platform} eq "darwin"} {
    7474        depends_lib-append port:sparsehash
    7575        configure.cppflags-append -I${prefix}/include/sparsehash
  • trunk/dports/python/py-lightblue/Portfile

    r114324 r114325  
    3535    extract.only        lightblue-${version}.tar.gz
    3636   
    37     if {${os.platform} == "darwin" && ${os.major} >= 10} {
     37    if {${os.platform} eq "darwin" && ${os.major} >= 10} {
    3838   
    3939        distfiles-append LightAquaBlue-framework-MacOS10.6.zip LightAquaBlue-python-MacOS10.6.zip
     
    6262    }
    6363
    64     if {${os.platform} == "darwin" && ${os.major} >= 12} {
     64    if {${os.platform} eq "darwin" && ${os.major} >= 12} {
    6565        # Fix #37361: use 10.7 SDK on 10.8 or later
    6666        configure.sdkroot ${developer_dir}/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk
  • trunk/dports/python/py-mpi4py/Portfile

    r114324 r114325  
    4141    universal_variant no
    4242
    43     if { ${os.platform} != "darwin" || ${os.major} > 8 } {
     43    if { ${os.platform} ne "darwin" || ${os.major} > 8 } {
    4444
    4545        variant mpich description {builds with the mpich port} {
  • trunk/dports/python/py-pylibmc/Portfile

    r114324 r114325  
    3030    depends_lib-append  port:libmemcached
    3131
    32     if {${os.platform} == "darwin" && ${os.major} <= 10} {
     32    if {${os.platform} eq "darwin" && ${os.major} <= 10} {
    3333        patchfiles-append patch-pylibmcmodule.c.diff
    3434    }
  • trunk/dports/science/hdf5/Portfile

    r111272 r114325  
    3737configure.ldflags   -L${worksrcpath}/src/.libs -L${prefix}/lib
    3838
    39 if {${os.platform} == "darwin" && [string match *64 $build_arch]} {
     39if {${os.platform} eq "darwin" && [string match *64 $build_arch]} {
    4040    configure.args-append --build=${build_arch}-apple-${os.platform}${os.version}
    4141}
  • trunk/dports/science/opendx/Portfile

    r96245 r114325  
    4545autoreconf.args -fv
    4646
    47 if {${os.platform} == "darwin" && ${os.major} >= 9} {
     47if {${os.platform} eq "darwin" && ${os.major} >= 9} {
    4848    configure.cppflags-append -D_UINT64 -D_UINT32 -D_UINT16 -D_UINT8
    4949}
  • trunk/dports/science/plplot/Portfile

    r114303 r114325  
    163163#}
    164164
    165 if {${os.platform}=="darwin"} {
     165if {${os.platform} eq "darwin"} {
    166166    default_variants    +aquaterm
    167167}
  • trunk/dports/security/botan/Portfile

    r106660 r114325  
    3535platform darwin { configure.args-append --os=darwin }
    3636
    37 if {[info exists build_arch] && ${os.platform} == "darwin"} {
     37if {[info exists build_arch] && ${os.platform} eq "darwin"} {
    3838    if {(${build_arch} == "i386")} {
    3939        configure.args-append --cpu=ia32
  • trunk/dports/security/cyrus-sasl2/Portfile

    r113161 r114325  
    9393    configure.args-append   --enable-keep-db-open
    9494   
    95     if {${os.platform} == "darwin"} {
     95    if {${os.platform} eq "darwin"} {
    9696        depends_lib-append  port:kerberos5
    9797        configure.args-append --with-gss_impl=mit \
    9898            --enable-gssapi=${prefix}
    9999    }
    100     if {${os.platform} == "freebsd"} {
     100    if {${os.platform} eq "freebsd"} {
    101101        depends_lib-append  port:heimdal
    102102        configure.args-append --with-gss_impl=heimdal \
  • trunk/dports/security/policykit/Portfile

    r114254 r114325  
    2929
    3030pre-patch {
    31     if {${os.platform} == "darwin" && ${os.major} < 10} {
     31    if {${os.platform} eq "darwin" && ${os.major} < 10} {
    3232        patchfiles-append patch-fdatasync.diff
    3333        reinplace "s|security/pam|pam/pam|" ${worksrcpath}/configure \
  • trunk/dports/sysutils/afsctool/Portfile

    r95149 r114325  
    3030
    3131pre-fetch {
    32     if {"darwin" == ${os.platform} && ${os.major} < 10} {
     32    if {${os.platform} eq "darwin" && ${os.major} < 10} {
    3333        ui_error "${name} ${version} is only compatible with Mac OS X 10.6 or later"
    3434        return -code error "incompatible Mac OS X version"
  • trunk/dports/sysutils/anacron/Portfile

    r86303 r114325  
    4949
    5050        # Create startup rc script (if non-Darwin)
    51         if {${os.platform} != "darwin"} {
     51        if {${os.platform} ne "darwin"} {
    5252                xinstall -d -m 0755 ${destroot}${prefix}/etc/rc.d
    5353                xinstall -m 755 -c ${filespath}/anacron.sh \
  • trunk/dports/sysutils/apt/Portfile

    r110568 r114325  
    117117                        ${worksrcpath}/dselect/update
    118118        # Hack for lack of post-patch-append
    119         if {${os.platform} == "freebsd"} {
     119        if {${os.platform} eq "freebsd"} {
    120120                reinplace "s|make -s|gmake -s|g" ${worksrcpath}/configure
    121121        }
  • trunk/dports/sysutils/bash-completion-devel/Portfile

    r112058 r114325  
    5757"
    5858
    59 if {${os.platform} == "darwin" && ${os.subplatform} == "macosx"} {
     59if {${os.platform} eq "darwin" && ${os.subplatform} eq "macosx"} {
    6060    # Insert an empty line into the notes
    6161    notes-append ""
  • trunk/dports/sysutils/bash-completion/Portfile

    r112058 r114325  
    5757"
    5858
    59 if {${os.platform} == "darwin" && ${os.subplatform} == "macosx"} {
     59if {${os.platform} eq "darwin" && ${os.subplatform} eq "macosx"} {
    6060    # Insert an empty line into the notes
    6161    notes-append ""
  • trunk/dports/sysutils/cfengine/Portfile

    r92837 r114325  
    9595        }
    9696        # Create startup rc script (if non-Darwin)
    97         if {${os.platform} != "darwin"} {
     97        if {${os.platform} ne "darwin"} {
    9898                xinstall -d -m 0755 ${destroot}${prefix}/etc/rc.d
    9999                xinstall -m 0755 ${filespath}/${name}.sh.in \
  • trunk/dports/sysutils/clamav-server/Portfile

    r97909 r114325  
    2525    port:clamav
    2626
    27 if {"darwin" == ${os.platform} && ${os.major} > 8} {
     27if {${os.platform} eq "darwin" && ${os.major} > 8} {
    2828    set clamavuser      _clamav
    2929} else {
  • trunk/dports/sysutils/dc3dd/Portfile

    r112361 r114325  
    2828
    2929configure.args      --mandir=${prefix}/share/man
    30 if {${os.major} >= 11 && ${os.platform} == "darwin"} {
     30if {${os.major} >= 11 && ${os.platform} eq "darwin"} {
    3131    # check for stpncpy is broken
    3232    configure.args-append gl_cv_func_stpncpy=yes
  • trunk/dports/sysutils/pv/Portfile

    r107143 r114325  
    3434depends_lib         port:gettext
    3535
    36 if {${os.platform} == "darwin" && ${os.major} != 9} {
     36if {${os.platform} eq "darwin" && ${os.major} != 9} {
    3737    # Leopard is the only release where stat64 exists and is not deprecated
    3838    patchfiles-append stat64.diff
  • trunk/dports/sysutils/screen/Portfile

    r112775 r114325  
    7676}
    7777
    78 if {${os.platform} == "darwin" && ${os.major} >= 10 && ${os.major} <= 13} {
     78if {${os.platform} eq "darwin" && ${os.major} >= 10 && ${os.major} <= 13} {
    7979    # These patches are based on http://www.opensource.apple.com/source/screen/screen-16/patches/
    8080    # The vproc_priv.h is the private header from launchd, used in Apple's 10.6 screen patches
  • trunk/dports/tex/pTeX/Portfile

    r112537 r114325  
    144144pre-fetch {
    145145    if {[variant_isset yu]} {
    146         if {${os.platform} == "darwin" && ${os.major} >= 13} {
     146        if {${os.platform} eq "darwin" && ${os.major} >= 13} {
    147147            # nop
    148148        } else {
  • trunk/dports/textproc/aspell/Portfile

    r113161 r114325  
    5959    default_variants -nls
    6060} else {
    61     if {${os.platform} == "darwin" && ${os.subplatform} == "macosx"} {
     61    if {${os.platform} eq "darwin" && ${os.subplatform} eq "macosx"} {
    6262        # gnustep-gui uses aspell and will not work if aspell is linked to gettext because
    6363        # gettext is linked to CoreFoundation which is itself linked to the Apple objc runtime
  • trunk/dports/textproc/juman6/Portfile

    r104254 r114325  
    2323                    rmd160  562773845e75bce157d027f541a47dd3b1846051
    2424
    25 if {${os.major} >= 12 && ${os.platform} == "darwin"} {
     25if {${os.major} >= 12 && ${os.platform} eq "darwin"} {
    2626    patchfiles-append patch-sed.diff
    2727}
  • trunk/dports/textproc/knp3/Portfile

    r98304 r114325  
    2626                    patch-dict.diff
    2727
    28 if {${os.major} >= 12 && ${os.platform} == "darwin"} {
     28if {${os.major} >= 12 && ${os.platform} eq "darwin"} {
    2929    patchfiles-append patch-sed.diff
    3030}
  • trunk/dports/textproc/mime/Portfile

    r95897 r114325  
    2626                    patch-message.c
    2727
    28 if {${os.major} >= 11 && ${os.platform} == "darwin"} {
     28if {${os.major} >= 11 && ${os.platform} eq "darwin"} {
    2929    patchfiles-append memmem.patch
    3030}
  • trunk/dports/textproc/pdftk/Portfile

    r109710 r114325  
    100100
    101101if {![variant_isset gcc42] && ![variant_isset gcc45] && ![variant_isset gcc47]} {
    102     if {${os.platform} == "darwin"} {
     102    if {${os.platform} eq "darwin"} {
    103103        if {${os.major} < 10} {
    104104            default_variants    +gcc42
  • trunk/dports/www/cgit/Portfile

    r111355 r114325  
    5252set group _www
    5353
    54 if {${os.platform} == "darwin" && ${os.major} <= 8} {
     54if {${os.platform} eq "darwin" && ${os.major} <= 8} {
    5555    set user www
    5656    set group www
  • trunk/dports/www/elinks-devel/Portfile

    r104704 r114325  
    7575                    --without-xterm
    7676
    77 if {${os.major} < 11 || ${os.platform} != "darwin"} {
     77if {${os.major} < 11 || ${os.platform} ne "darwin"} {
    7878    configure.args-delete   --without-gc
    7979    configure.args-append   --with-gc
  • trunk/dports/www/mod_jk/Portfile

    r112591 r114325  
    4343}
    4444if { ![file isdirectory ${javahome}] } {
    45         if { ${os.platform} == "darwin" } {
     45        if { ${os.platform} eq "darwin" } {
    4646                if { [file isdirectory "/System/Library/Frameworks/JavaVM.framework/Home"] } {
    4747                        set javahome "/System/Library/Frameworks/JavaVM.framework/Home"
  • trunk/dports/www/mod_jk2/Portfile

    r110869 r114325  
    4343}
    4444if { ![file isdirectory ${javahome}] } {
    45         if { ${os.platform} == "darwin" } {
     45        if { ${os.platform} eq "darwin" } {
    4646                if { [file isdirectory "/System/Library/Frameworks/JavaVM.framework/Home"] } {
    4747                        set javahome "/System/Library/Frameworks/JavaVM.framework/Home"
  • trunk/dports/www/privoxy/Portfile

    r105949 r114325  
    6363    xinstall -m 755 -d ${destroot}${prefix}/var/run
    6464    # Install and fixup startup script (if non-Darwin)
    65     if {${os.platform} != "darwin"} {
     65    if {${os.platform} ne "darwin"} {
    6666        xinstall -m 755 -d ${destroot}${prefix}/etc/rc.d
    6767        xinstall -m 755 -W ${worksrcpath} privoxy-generic.init \
  • trunk/dports/www/pserv/Portfile

    r90388 r114325  
    3737set conf_files      {etc/pserv/mime_types.dat etc/pserv/pserv.conf var/www/index.html}
    3838
    39 if {${os.platform} == "darwin" && ${os.major} > 8} {
     39if {${os.platform} eq "darwin" && ${os.major} > 8} {
    4040    set pserv_user _www
    4141} else {
  • trunk/dports/www/zope/Portfile

    r111937 r114325  
    8686
    8787        # Create startup rc script (if non-Darwin)
    88         if {${os.platform} != "darwin"} {
     88        if {${os.platform} ne "darwin"} {
    8989                xinstall -o root -m 0755 -d ${destroot}${prefix}/etc/rc.d
    9090                xinstall -o root -m 0755 ${filespath}/zope.sh.in \
  • trunk/dports/x11/ratpoison/Portfile

    r105517 r114325  
    3636configure.args  --mandir=${prefix}/share/man --infodir=${prefix}/share/info
    3737
    38 if {${os.platform} == "darwin" && ${os.major} >= 11} {
     38if {${os.platform} eq "darwin" && ${os.major} >= 11} {
    3939    # this check is missing from the configure script in 1.4.5
    4040    configure.cppflags-append -DHAVE_GETLINE=1
  • trunk/dports/x11/tk/Portfile

    r113389 r114325  
    6565}
    6666
    67 if {${os.platform} == "darwin" && ${os.subplatform} == "macosx" && ${os.major} >= 10} {
     67if {${os.platform} eq "darwin" && ${os.subplatform} eq "macosx" && ${os.major} >= 10} {
    6868    variant quartz conflicts x11 {
    6969        depends_lib-delete port:Xft2 port:xorg-libXScrnSaver port:fontconfig
Note: See TracChangeset for help on using the changeset viewer.