Changeset 88675 for trunk/dports/aqua


Ignore:
Timestamp:
Jan 7, 2012, 5:15:29 PM (8 years ago)
Author:
jwa@…
Message:

started from an old, polish for Lion, i.e. drop some architecture fixes not needed, drop a file to install, drop old, obsolete versions

File:
1 edited

Legend:

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

    r88674 r88675  
    3030                    rmd160  e965e25076cf8907674d5ed666ee4e3ae9958b9f
    3131
    32 # force 32-bit, ticket #20291
    33 #supported_archs i386 ppc
     32pre-fetch {
     33    platform darwin {
     34        if {${os.major} < 11} {
     35            ui_err "${name} requires at least 10.7, Lion"
     36            return -code error  "This version is for 10.7, Lion, and later only"
     37        }
     38    }
     39}
     40
    3441post-extract    {
    3542    set sparkle "Sparkle.framework/Versions/A/Sparkle"
     
    3946        system "cd ${worksrcpath} && lipo -thin ${configure.build_arch} $sparkle -output $sparkle"
    4047        system "cd ${worksrcpath} && lipo -thin ${configure.build_arch} $ogrekit -output $ogrekit"
    41     } elseif {${os.major} == 8} {
    42         # Tiger chokes on the x86_64
    43         system "cd ${worksrcpath} && lipo -remove x86_64 $sparkle -output $sparkle"
    4448    }
    4549}
    46 
    47 patch {
    48     reinplace "s|defaultConfigurationName = Debug|defaultConfigurationName = Release|" ${worksrcpath}/TeXShop.xcodeproj/project.pbxproj
    49     reinplace "s|GCC_VERSION_i386 = 4\.0|GCC_VERSION_i386 = [lindex [split ${configure.objc} -] 1]|g" ${worksrcpath}/3rdparty/OgreKit/OgreKit.xcodeproj/project.pbxproj
    50     reinplace "s|GCC_VERSION_ppc = 3\.3|GCC_VERSION_ppc = [lindex [split ${configure.objc} -] 1]|g" ${worksrcpath}/3rdparty/OgreKit/OgreKit.xcodeproj/project.pbxproj
    51     reinplace "s|GCC_VERSION = 4\.0|GCC_VERSION = [lindex [split ${configure.objc} -] 1]|" ${worksrcpath}/TeXShop.xcodeproj/project.pbxproj
    52     reinplace "s|GCC_VERSION = 4\.0|GCC_VERSION = [lindex [split ${configure.objc} -] 1]|" ${worksrcpath}/3rdparty/TeX-mdimporter/TeX.xcodeproj/project.pbxproj
    53 }
    54 
    5550
    5651build.target    ${propername}
     
    6358destroot.target     ${propername}
    6459eval xcode.destroot.settings INSTALL_MODE_FLAG=755 ${xcode.build.settings}
     60
    6561post-destroot        {
    6662    file delete -force ${destroot}${applications_dir}/TeX.mdimporter
    67 
    68 #    xinstall -m 755 ${filespath}/lilypond.engine ${destroot}${applications_dir}/${propername}.app/Contents/Resources/${propername}/Engines/Lilypond.engine
    69 #    reinplace s|@@PREFIX@@|${prefix}|g ${destroot}${applications_dir}/${propername}.app/Contents/Resources/${propername}/Engines/Lilypond.engine
    7063}
    71 
    72 platforms darwin 11 {
    73     supported_archs     i386 x86_64
    74 }
    75 
    76 #notes "If you intend to use the Lilypond engine, please copy ${applications_dir}/${propername}.app/Contents/Resources/${propername}/Engines/Lilypond.engine to ~/Library/${propername}/Engines/Lilypond.engine"
    7764
    7865livecheck.type      regex
Note: See TracChangeset for help on using the changeset viewer.