[87017] trunk/dports/aqua/iTerm2/Portfile

singingwolfboy at macports.org singingwolfboy at macports.org
Mon Nov 7 19:09:30 PST 2011


Revision: 87017
          http://trac.macports.org/changeset/87017
Author:   singingwolfboy at macports.org
Date:     2011-11-07 19:09:27 -0800 (Mon, 07 Nov 2011)
Log Message:
-----------
iTerm2: switched to Github development, updated to v1.0.0.20111009, disabled Sparkle autoupdated. Refs #31906

Modified Paths:
--------------
    trunk/dports/aqua/iTerm2/Portfile

Modified: trunk/dports/aqua/iTerm2/Portfile
===================================================================
--- trunk/dports/aqua/iTerm2/Portfile	2011-11-08 02:54:09 UTC (rev 87016)
+++ trunk/dports/aqua/iTerm2/Portfile	2011-11-08 03:09:27 UTC (rev 87017)
@@ -4,8 +4,7 @@
 PortGroup   xcode 1.0
 
 name        iTerm2
-version     1.0.0
-set svn_tag v[string map {. _} $version]
+version     1.0.0.20111009
 categories  aqua shells
 maintainers singingwolfboy openmaintainer
 description Enhanced terminal emulator program, successor to iTerm
@@ -15,15 +14,29 @@
     performance, internationalization, and supporting innovative features \
     that make your life better.
 
-homepage    http://www.iterm2.com/
+homepage        http://www.iterm2.com/
+master_sites    https://github.com/gnachman/iTerm2/tarball/v${version}
 
-fetch.type  svn
-svn.url     https://iterm2.googlecode.com/svn/tags/${svn_tag}
-worksrcdir  ${svn_tag}
+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
 
+use_configure   yes
+configure {
+    # disable Sparkle autoupdate
+    reinplace "s|.*Sparkle.*||g" ${worksrcpath}/${xcode.project}/project.pbxproj
+}
+
+post-extract {
+    move [glob ${workpath}/*] ${worksrcpath}
+    reinplace "s|^version *= *.*$|version = \"${version}\"|" ${worksrcpath}/updateVersion.py
+}
+
 destroot {
     file copy ${build.dir}/build/Deployment/iTerm.app \
         ${destroot}${applications_dir}/${name}.app
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111107/5566e609/attachment.html>


More information about the macports-changes mailing list