Changeset 97116


Ignore:
Timestamp:
Aug 27, 2012, 9:11:19 PM (7 years ago)
Author:
ryandesign@…
Message:

TeXShop: use notes for OS version message

File:
1 edited

Legend:

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

    r97110 r97116  
    2828                sha256  cd8f9fd827d9b080423da0f1d9664bdbfdfebb4525bbb7542ee54c44e2f9ce19
    2929
    30 pre-fetch {
    31     platform darwin {
    32         if {${os.major} >= 11} {
    33             ui_msg "${name} ${version} is designed for OS X 10.6 Snow Leopard and older; for OS X 10.7 Lion and newer you may prefer to use the TeXShop3 port."
    34         }
    35     }
    36 }
    37 
    3830# force 32-bit, ticket #20291
    3931supported_archs i386 ppc
     32
    4033post-extract    {
    4134    set sparkle "Sparkle.framework/Versions/A/Sparkle"
     
    7669}
    7770
    78 if {${os.major} >= 11} {
    79         universal_variant       no
    80     supported_archs     i386
     71notes "If you intend to use the Lilypond engine, please copy ${applications_dir}/${name}.app/Contents/Resources/${name}/Engines/Lilypond.engine to ~/Library/${name}/Engines/Lilypond.engine"
     72
     73platform darwin {
     74    if {${os.major} >= 11} {
     75        universal_variant   no
     76        supported_archs     i386
     77        set os_note "${name} ${version} is designed for OS X 10.6 Snow Leopard and older; for OS X 10.7 Lion and newer you may prefer to use the TeXShop3 port."
     78        notes-append "\n\n${os_note}"
     79        pre-fetch {
     80            ui_msg ${os_note}
     81        }
     82    }
    8183}
    82 
    83 notes "If you intend to use the Lilypond engine, please copy ${applications_dir}/${name}.app/Contents/Resources/${name}/Engines/Lilypond.engine to ~/Library/${name}/Engines/Lilypond.engine"
    8484
    8585livecheck.type      regex
Note: See TracChangeset for help on using the changeset viewer.