Changeset 88675 for trunk/dports/aqua
- Timestamp:
- Jan 7, 2012, 5:15:29 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/aqua/TeXShop3/Portfile
r88674 r88675 30 30 rmd160 e965e25076cf8907674d5ed666ee4e3ae9958b9f 31 31 32 # force 32-bit, ticket #20291 33 #supported_archs i386 ppc 32 pre-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 34 41 post-extract { 35 42 set sparkle "Sparkle.framework/Versions/A/Sparkle" … … 39 46 system "cd ${worksrcpath} && lipo -thin ${configure.build_arch} $sparkle -output $sparkle" 40 47 system "cd ${worksrcpath} && lipo -thin ${configure.build_arch} $ogrekit -output $ogrekit" 41 } elseif {${os.major} == 8} {42 # Tiger chokes on the x86_6443 system "cd ${worksrcpath} && lipo -remove x86_64 $sparkle -output $sparkle"44 48 } 45 49 } 46 47 patch {48 reinplace "s|defaultConfigurationName = Debug|defaultConfigurationName = Release|" ${worksrcpath}/TeXShop.xcodeproj/project.pbxproj49 reinplace "s|GCC_VERSION_i386 = 4\.0|GCC_VERSION_i386 = [lindex [split ${configure.objc} -] 1]|g" ${worksrcpath}/3rdparty/OgreKit/OgreKit.xcodeproj/project.pbxproj50 reinplace "s|GCC_VERSION_ppc = 3\.3|GCC_VERSION_ppc = [lindex [split ${configure.objc} -] 1]|g" ${worksrcpath}/3rdparty/OgreKit/OgreKit.xcodeproj/project.pbxproj51 reinplace "s|GCC_VERSION = 4\.0|GCC_VERSION = [lindex [split ${configure.objc} -] 1]|" ${worksrcpath}/TeXShop.xcodeproj/project.pbxproj52 reinplace "s|GCC_VERSION = 4\.0|GCC_VERSION = [lindex [split ${configure.objc} -] 1]|" ${worksrcpath}/3rdparty/TeX-mdimporter/TeX.xcodeproj/project.pbxproj53 }54 55 50 56 51 build.target ${propername} … … 63 58 destroot.target ${propername} 64 59 eval xcode.destroot.settings INSTALL_MODE_FLAG=755 ${xcode.build.settings} 60 65 61 post-destroot { 66 62 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.engine69 # reinplace s|@@PREFIX@@|${prefix}|g ${destroot}${applications_dir}/${propername}.app/Contents/Resources/${propername}/Engines/Lilypond.engine70 63 } 71 72 platforms darwin 11 {73 supported_archs i386 x86_6474 }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"77 64 78 65 livecheck.type regex
Note: See TracChangeset
for help on using the changeset viewer.