Changeset 114325 for trunk/dports/print


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

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

Location:
trunk/dports/print
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • 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
Note: See TracChangeset for help on using the changeset viewer.