[150922] trunk/dports/aqua/iTerm2

ryandesign at macports.org ryandesign at macports.org
Tue Aug 2 04:12:30 PDT 2016


Revision: 150922
          https://trac.macports.org/changeset/150922
Author:   ryandesign at macports.org
Date:     2016-08-02 04:12:29 -0700 (Tue, 02 Aug 2016)
Log Message:
-----------
iTerm2: update to 3.0.5 (#47965)

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

Added Paths:
-----------
    trunk/dports/aqua/iTerm2/files/
    trunk/dports/aqua/iTerm2/files/patch-Makefile.diff

Modified: trunk/dports/aqua/iTerm2/Portfile
===================================================================
--- trunk/dports/aqua/iTerm2/Portfile	2016-08-01 22:37:22 UTC (rev 150921)
+++ trunk/dports/aqua/iTerm2/Portfile	2016-08-02 11:12:29 UTC (rev 150922)
@@ -3,12 +3,13 @@
 
 PortSystem  1.0
 PortGroup   github 1.0
-PortGroup   xcode 1.0
 
-github.setup gnachman iTerm2 2.1 v
+github.setup        gnachman iTerm2 3.0.5 v
 categories  aqua shells
 maintainers emer.net:emer
 license         GPL-2+
+supported_archs     x86_64
+
 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 \
@@ -17,26 +18,23 @@
 
 homepage        http://iterm2.com/
 
-checksums       rmd160  899f80c2b53cb88f8f9efa9251f141e8e2528b3a \
-                sha256  33ece870c1bf1eb9ca23a0fd06ee3ff0f95de8bf28d99d26fd3502f9e90e41fa
+checksums           rmd160  a0ba817b6772f2303a43f516e08ad95258b0b472 \
+                    sha256  a0a2b10e4a1611a9769810a0655c9b8b79b70b014c42d1d5651ef0a101676934
 
-xcode.project   iTerm.xcodeproj
-xcode.target    iTerm
+patchfiles          patch-Makefile.diff
 
-post-patch {
-    reinplace "s|^version *= *.*$|version = \"${version}\"|" ${worksrcpath}/updateVersion.py
-    # disable Sparkle autoupdate
-    reinplace "s|.*Sparkle.*||g" ${worksrcpath}/${xcode.project}/project.pbxproj
-}
+compiler.cpath
+compiler.library_path
 
-destroot {
-    file copy ${build.dir}/build/Deployment/iTerm.app \
-        ${destroot}${applications_dir}/${name}.app
-}
+use_configure       no
 
-if {${os.platform} eq "darwin" && ${os.major} < 11} {
+build.target        prod
+
+destroot.destdir    APPS=${destroot}${applications_dir}
+
+if {${os.platform} eq "darwin" && ${os.major} < 12} {
     pre-fetch {
-        ui_error "${subport} @${version} requires Mac OS X 10.7 or newer"
+        ui_error "${subport} @${version} requires OS X 10.8 or newer"
         return -code error "unsupported Mac OS X version"
     }
 }

Added: trunk/dports/aqua/iTerm2/files/patch-Makefile.diff
===================================================================
--- trunk/dports/aqua/iTerm2/files/patch-Makefile.diff	                        (rev 0)
+++ trunk/dports/aqua/iTerm2/files/patch-Makefile.diff	2016-08-02 11:12:29 UTC (rev 150922)
@@ -0,0 +1,13 @@
+Declare dependencies so we don't unnecessarily rebuild when running "make install"
+--- Makefile.orig	2016-07-11 17:10:54.000000000 -0500
++++ Makefile	2016-08-01 23:05:10.000000000 -0500
+@@ -31,7 +31,8 @@
+ Dep:
+ 	xcodebuild -parallelizeTargets -target iTerm2 -configuration Deployment
+ 
+-Deployment:
++Deployment: build/Deployment/iTerm2.app/Contents/MacOS/iTerm2
++build/Deployment/iTerm2.app/Contents/MacOS/iTerm2:
+ 	xcodebuild -parallelizeTargets -target iTerm2 -configuration Deployment && \
+ 	chmod -R go+rX build/Deployment
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160802/d7915977/attachment.html>


More information about the macports-changes mailing list