[89092] trunk/dports/aqua/ShiftIt
ryandesign at macports.org
ryandesign at macports.org
Wed Jan 18 23:28:00 PST 2012
Revision: 89092
http://trac.macports.org/changeset/89092
Author: ryandesign at macports.org
Date: 2012-01-18 23:27:57 -0800 (Wed, 18 Jan 2012)
Log Message:
-----------
ShiftIt: use MacPorts libX11 instead of system version
Modified Paths:
--------------
trunk/dports/aqua/ShiftIt/Portfile
Added Paths:
-----------
trunk/dports/aqua/ShiftIt/files/
trunk/dports/aqua/ShiftIt/files/patch-ShiftIt-ShiftIt.xcodeproj-project.pbxproj.diff
Modified: trunk/dports/aqua/ShiftIt/Portfile
===================================================================
--- trunk/dports/aqua/ShiftIt/Portfile 2012-01-19 07:05:44 UTC (rev 89091)
+++ trunk/dports/aqua/ShiftIt/Portfile 2012-01-19 07:27:57 UTC (rev 89092)
@@ -6,6 +6,7 @@
PortGroup xcode 1.0
github.setup fikovnik ShiftIt 1.5 version-
+revision 1
categories aqua
maintainers phw openmaintainer
license GPL-3+
@@ -17,10 +18,18 @@
fetch.type git
git.branch 0f6a31350dbf72fa531d292f94bc0e9a63da487f
+depends_lib port:xorg-libX11
+
universal_variant no
build.dir ${worksrcpath}/ShiftIt
+patchfiles patch-ShiftIt-ShiftIt.xcodeproj-project.pbxproj.diff
+
+post-patch {
+ reinplace "s|@PREFIX@|${prefix}|g" ${build.dir}/ShiftIt.xcodeproj/project.pbxproj
+}
+
xcode.project ShiftIt.xcodeproj
xcode.target ShiftIt
xcode.configuration Release
Added: trunk/dports/aqua/ShiftIt/files/patch-ShiftIt-ShiftIt.xcodeproj-project.pbxproj.diff
===================================================================
--- trunk/dports/aqua/ShiftIt/files/patch-ShiftIt-ShiftIt.xcodeproj-project.pbxproj.diff (rev 0)
+++ trunk/dports/aqua/ShiftIt/files/patch-ShiftIt-ShiftIt.xcodeproj-project.pbxproj.diff 2012-01-19 07:27:57 UTC (rev 89092)
@@ -0,0 +1,38 @@
+--- ShiftIt/ShiftIt.xcodeproj/project.pbxproj.orig
++++ ShiftIt/ShiftIt.xcodeproj/project.pbxproj
+@@ -530,7 +530,7 @@
+ INFOPLIST_FILE = "ShiftIt-Info.plist";
+ INSTALL_PATH = "$(HOME)/Applications";
+ OTHER_LDFLAGS = (
+- "-L/usr/X11/lib",
++ "-L at PREFIX@/lib",
+ "-lX11",
+ );
+ PRODUCT_NAME = ShiftIt;
+@@ -562,7 +562,7 @@
+ INFOPLIST_FILE = "ShiftIt-Info.plist";
+ INSTALL_PATH = "$(HOME)/Applications";
+ OTHER_LDFLAGS = (
+- "-L/usr/X11/lib",
++ "-L at PREFIX@/lib",
+ "-lX11",
+ );
+ PRODUCT_NAME = ShiftIt;
+@@ -588,7 +588,7 @@
+ ONLY_ACTIVE_ARCH = YES;
+ OTHER_CFLAGS = "-DX11";
+ OTHER_LDFLAGS = (
+- "-L/usr/X11/lib",
++ "-L at PREFIX@/lib",
+ "-lX11",
+ );
+ PREBINDING = NO;
+@@ -612,7 +612,7 @@
+ "-DX11",
+ );
+ OTHER_LDFLAGS = (
+- "-L/usr/X11/lib",
++ "-L at PREFIX@/lib",
+ "-lX11",
+ );
+ PREBINDING = NO;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120118/3c697ba0/attachment.html>
More information about the macports-changes
mailing list