[81767] trunk/dports/devel/GitX

cal at macports.org cal at macports.org
Thu Aug 4 12:09:08 PDT 2011


Revision: 81767
          http://trac.macports.org/changeset/81767
Author:   cal at macports.org
Date:     2011-08-04 12:09:06 -0700 (Thu, 04 Aug 2011)
Log Message:
-----------
GitX: allow disabling Finder integration, closes #25994

Modified Paths:
--------------
    trunk/dports/devel/GitX/Portfile

Added Paths:
-----------
    trunk/dports/devel/GitX/files/
    trunk/dports/devel/GitX/files/disable-finder-integration.patch

Modified: trunk/dports/devel/GitX/Portfile
===================================================================
--- trunk/dports/devel/GitX/Portfile	2011-08-04 18:42:01 UTC (rev 81766)
+++ trunk/dports/devel/GitX/Portfile	2011-08-04 19:09:06 UTC (rev 81767)
@@ -28,6 +28,14 @@
 xcode.target        GitX
 xcode.configuration Release
 
+patchfiles disable-finder-integration.patch
+
+variant finder_integration description {Enable finder integration, opening .git folders with GitX} {
+    patchfiles-delete disable-finder-integration.patch
+}
+
+default_variants +finder_integration
+
 pre-fetch {
     if {${os.major} < 9} {
         return -code error "This version of ${name} is only for Mac OS X 10.5 or later."

Added: trunk/dports/devel/GitX/files/disable-finder-integration.patch
===================================================================
--- trunk/dports/devel/GitX/files/disable-finder-integration.patch	                        (rev 0)
+++ trunk/dports/devel/GitX/files/disable-finder-integration.patch	2011-08-04 19:09:06 UTC (rev 81767)
@@ -0,0 +1,10 @@
+--- Info.plist.orig	2011-08-04 20:53:01.000000000 +0200
++++ Info.plist	2011-08-04 20:53:13.000000000 +0200
+@@ -23,7 +23,6 @@
+ 		<dict>
+ 			<key>CFBundleTypeExtensions</key>
+ 			<array>
+-				<string>git</string>
+ 				<string></string>
+ 			</array>
+ 			<key>CFBundleTypeIconFile</key>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110804/d23c1a2b/attachment.html>


More information about the macports-changes mailing list