source: trunk/dports/aqua/TeXShop3/Portfile

Last change on this file was 152579, checked in by jwa@…, 10 months ago

TeXShop3: whitespace only

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.4 KB
Line 
1# -*- 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
2# $Id: Portfile 152579 2016-09-12 19:11:18Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           xcode 1.0
6
7name                TeXShop3
8conflicts           TeXShop
9version             3.73
10
11set major           [lindex [split ${version} .] 0]
12categories          aqua editors
13license             GPL-2+
14maintainers         jwa openmaintainer
15description         TeX previewer for Mac OS X
16long_description   \
17    TeXShop is a TeX previewer for Mac OS X, written in Cocoa.  \
18    Since pdf is a native file format on OS X, TeXShop uses     \
19    "pdftex" and "pdflatex" rather than "tex" and "latex" to    \
20    typeset, these programs in the standard teTeX distribution  \
21    of TeX produce pdf output instead of dvi output.
22homepage            http://pages.uoregon.edu/koch/texshop
23master_sites        ${homepage}/texshop-64
24use_zip             yes
25distname            texshopsource[strsed ${version} {/\.//}]
26dist_subdir         TeXShop/
27worksrcdir          texshopsource[strsed ${version} {/\.//}]
28set propername      TeXShop
29
30checksums           rmd160  b36d5071f3cf10fe3f037bf6cd7f92d16bf765d0 \
31                    sha256  07af0596ef77ff07216c620bb4bb41aca86087d1cfbab7d0f47bdb27bce89bbe
32
33pre-fetch {
34    platform darwin {
35        if {${os.major} < 11} {
36            ui_error "${name} requires at least 10.7, Lion"
37            return -code error "This version is for 10.7, Lion, and later only"
38        }
39    }
40}
41
42# error: -fobjc-arc is not supported on platforms using the legacy runtime
43supported_archs     x86_64
44
45post-extract    {
46    set ogrekit "OgreKit.framework/Versions/A/OgreKit"
47    # thin the bundled frameworks
48    system -W ${worksrcpath} "lipo -thin ${configure.build_arch} ${ogrekit} -output ${ogrekit}"
49}
50
51macosx_deployment_target    10.7
52
53build.target        ${propername}
54
55xcode.project       ${propername}.xcodeproj
56xcode.configuration Release
57xcode.build.settings    FRAMEWORK_SEARCH_PATHS=${worksrcpath} \
58                        CONFIGURATION_BUILD_DIR=${worksrcpath}/build \
59                        CODE_SIGN_IDENTITY=
60
61destroot.target     ${propername}
62eval xcode.destroot.settings INSTALL_MODE_FLAG=755 ${xcode.build.settings}
63
64post-destroot {
65    file delete -force ${destroot}${applications_dir}/TeX.mdimporter
66}
67
68livecheck.type      regex
69livecheck.regex     TeXShop \\(v (${major}\.\[0-9.\]+)\\)
Note: See TracBrowser for help on using the repository browser.