# $Id: Portfile 88496 2012-01-03 14:08:28Z snc@macports.org $ PortSystem 1.0 PortGroup xcode 1.0 name iTerm2 version 1.0.0.20111009 categories aqua shells maintainers singingwolfboy openmaintainer license GPL-2+ description Enhanced terminal emulator program, successor to iTerm long_description \ iTerm2 is a replacement for Terminal and the successor to iTerm. It \ works on Macs with Leopard or Snow Leopard. Its focus is on \ performance, internationalization, and supporting innovative features \ that make your life better. homepage http://www.iterm2.com/ master_sites https://github.com/gnachman/iTerm2/tarball/v${version} checksums sha256 eec7c99158357721ddfb23e5050af1108fdbafa478c8bae9da646d48b503a9e2 \ rmd160 70fe3448711c3edbe33ead016061c088b217250f # needed by dated libcurl on Leopard (and probably Tiger) fetch.ignore_sslcert yes xcode.project iTerm.xcodeproj xcode.target iTerm post-extract { move [glob ${workpath}/*] ${worksrcpath} } 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 } platform darwin 8 { pre-fetch { ui_error "${name} requires Mac OS X 10.5 or newer" return -code error "unsupported Mac OS X version" } }