source: trunk/dports/aqua/iTerm2/Portfile @ 111828

Last change on this file since 111828 was 111828, checked in by ryandesign@…, 6 years ago

iTerm2: update description and error message

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
RevLine 
[111825]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
[79310]2# $Id: Portfile 111828 2013-10-03 00:38:23Z ryandesign@macports.org $
3
4PortSystem  1.0
[91243]5PortGroup   github 1.0
[79310]6PortGroup   xcode 1.0
7
[111825]8github.setup gnachman iTerm2 1.0.0.20130622 v
[79310]9categories  aqua shells
[99643]10maintainers nomaintainer
[88496]11license         GPL-2+
[79310]12description Enhanced terminal emulator program, successor to iTerm
13long_description    \
[111828]14    iTerm2 is a replacement for Terminal and the successor to iTerm. Its focus is on \
[79310]15    performance, internationalization, and supporting innovative features \
16    that make your life better.
17
[87017]18homepage        http://www.iterm2.com/
[79310]19
[111825]20checksums       rmd160  d8f1cb64cb31fd9318aed61724dd0d262fce8c73 \
21                sha256  8610c86ec0e3f1089d6e1720fc5db4a45e46a63f329bb6bb7c4821210e559418
[79310]22
23xcode.project   iTerm.xcodeproj
24xcode.target    iTerm
25
[87710]26post-patch {
[87017]27    reinplace "s|^version *= *.*$|version = \"${version}\"|" ${worksrcpath}/updateVersion.py
[87710]28    # disable Sparkle autoupdate
29    reinplace "s|.*Sparkle.*||g" ${worksrcpath}/${xcode.project}/project.pbxproj
[87017]30}
31
[79310]32destroot {
33    file copy ${build.dir}/build/Deployment/iTerm.app \
34        ${destroot}${applications_dir}/${name}.app
35}
[87415]36
[111826]37if {${os.platform} eq "darwin" && ${os.major} < 11} {
[87415]38    pre-fetch {
[111826]39        ui_error "${name} requires OS X 10.7 or newer"
[111828]40        return -code error "unsupported OS X version"
[87415]41    }
42}
Note: See TracBrowser for help on using the repository browser.