Texshop version 2.26 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    texshop  most recent diff


    version 2.26

      View the most recent changes for the texshop port at: texshop.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for texshop.
      The raw portfile for texshop 2.26 is located here:
      http://texshop.darwinports.com/dports/aqua/TeXShop/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/texshop


      # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
      The texshop Portfile 59134 2009-10-10 04:58:55Z snc macports.org $

      PortSystem 1.0
      PortGroup xcode 1.0

      Name: TeXShop
      Version: 2.26
      Revision: 1
      Category: aqua editors
      license GPL
      Maintainers: snc openmaintainer
      Description: TeX previewer for Mac OS X
      Long Description: TeXShop is a TeX previewer for Mac OS X, written in Cocoa. Since pdf is a native file format on OS X, TeXShop uses "pdftex" and "pdflatex" rather than "tex" and "latex" to typeset, these programs in the standard teTeX distribution of TeX produce pdf output instead of dvi output.
      Homepage: http://www.uoregon.edu/~koch/texshop/texshop.html
      Master Sites: http://www.uoregon.edu/~koch/texshop
      use_zip yes
      distname texshopsource-${version}
      dist_subdir ${name}/${version}_${revision}
      worksrcdir texshop${version}
      Checksums: md5 af7f1d9735fd84bf380c34ebe09401c3 sha1 fbdf076d4856486f6e91971fa81b9ebd8aae27bc rmd160 906b28a596929d896bea1c547644594942e3dcbb

      if {${os.major} > 9} {
      # force 32-bit in SL and beyond.
      # temporary fix for the 7 build issues presented
      # in ticket #20291
      configure.build_arch i386
      }
      post-extract {
      reinplace "s/defaultConfigurationName = Debug/defaultConfigurationName = Release/" ${worksrcpath}/${name}.xcodeproj/project.pbxproj

      set sparkle "Sparkle.framework/Versions/A/Sparkle"
      set ogrekit "OgreKit.framework/Versions/A/OgreKit"
      if {![variant_isset universal]} {
      # thin the bundled frameworks
      if {${os.major} >= 10 && $tcl_platform(wordSize) == 8} {
      set arch x86_64
      } elseif {${os.arch} == "powerpc"} {
      set arch ppc
      } else {
      set arch i386
      }
      system "cd ${worksrcpath} && lipo -thin $arch $sparkle -output $sparkle"
      # x86_64 does not exist in OgreKit
      if {${arch} == "x86_64"} {
      set arch i386
      }
      system "cd ${worksrcpath} && lipo -thin $arch $ogrekit -output $ogrekit"
      } elseif {${os.major} == 8} {
      # Tiger chokes on the x86_64
      system "cd ${worksrcpath} && lipo -remove x86_64 $sparkle -output $sparkle"
      }
      }

      build.target ${name}

      xcode.project ${name}.xcodeproj
      xcode.configuration Release
      xcode.build.settings FRAMEWORK_SEARCH_PATHS=${worksrcpath} CONFIGURATION_BUILD_DIR=${worksrcpath}/build

      destroot.target ${name}
      eval xcode.destroot.settings INSTALL_MODE_FLAG=755 ${xcode.build.settings}
      post-destroot {
      file delete -force ${destroot}${applications_dir}/TeX.mdimporter

      xinstall -m 755 ${filespath}/lilypond.engine ${destroot}${applications_dir}/${name}.app/Contents/Resources/${name}/Engines/Lilypond.engine
      reinplace s| PREFIX |${prefix}|g ${destroot}${applications_dir}/${name}.app/Contents/Resources/${name}/Engines/Lilypond.engine
      ui_msg "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"
      }

      livecheck.type regex
      livecheck.url ${homepage}
      livecheck.regex "${name} (\\d+\\.\\d+)"

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/texshop
      % sudo port install texshop
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching texshop
      ---> Verifying checksum for texshop
      ---> Extracting texshop
      ---> Configuring texshop
      ---> Building texshop with target all
      ---> Staging texshop into destroot
      ---> Installing texshop
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using texshop with these commands:
      %  man texshop
      % apropos texshop
      % which texshop
      % locate texshop

     Where to find more information:

    Darwin Ports



    Lightbox this page.