Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #################################################################################
- # Note: iTerm2 Portfile has been edited to allow build on 10.6
- # cd $(port dir iterm2)
- # sudo cp -p Portfile Portfile.orig
- # sudo port edit --editor vi iTerm2
- # change line: "if {${os.platform} eq "darwin" && ${os.major} < 11} {"
- # to read: "if {${os.platform} eq "darwin" && ${os.major} < 10} {"
- # or backup and replace original Portfile & copy this edited Portfile to
- # /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/aqua/iTerm2/Portfile
- #
- #################################################################################
- #
- # -*- 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
- # $Id: Portfile 112262 2013-10-16 05:32:39Z ryandesign@macports.org $
- PortSystem 1.0
- PortGroup github 1.0
- PortGroup xcode 1.0
- github.setup gnachman iTerm2 1.0.0.20130811 v
- categories aqua shells
- maintainers emer.net:emer
- license GPL-2+
- description Enhanced terminal emulator program, successor to iTerm
- long_description \
- iTerm2 is a replacement for Terminal and the successor to iTerm. Its focus is on \
- performance, internationalization, and supporting innovative features \
- that make your life better.
- homepage http://www.iterm2.com/
- checksums rmd160 166bce10474465288f06f20e61482d303d56cea3 \
- sha256 682cafc2f88675bf9a2ef5d988fabe84ae936aece958d1bc23c4664840fc3033
- xcode.project iTerm.xcodeproj
- xcode.target iTerm
- post-patch {
- reinplace "s|^version *= *.*$|version = \"${version}\"|" ${worksrcpath}/updateVersion.py
- # disable Sparkle autoupdate
- reinplace "s|.*Sparkle.*||g" ${worksrcpath}/${xcode.project}/project.pbxproj
- }
- destroot {
- file copy ${build.dir}/build/Deployment/iTerm.app \
- ${destroot}${applications_dir}/${name}.app
- }
- if {${os.platform} eq "darwin" && ${os.major} < 10} {
- pre-fetch {
- ui_error "${name} requires OS X 10.7 or newer (edited portfile to allow 10.6)"
- return -code error "unsupported OS X version"
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement