[73201] users/ryandesign/ports/games/PCLauncher

ryandesign at macports.org ryandesign at macports.org
Sat Nov 6 15:44:06 PDT 2010


Revision: 73201
          http://trac.macports.org/changeset/73201
Author:   ryandesign at macports.org
Date:     2010-11-06 15:44:03 -0700 (Sat, 06 Nov 2010)
Log Message:
-----------
PCLauncher: Don't hardcode /opt/local

Modified Paths:
--------------
    users/ryandesign/ports/games/PCLauncher/Portfile

Added Paths:
-----------
    users/ryandesign/ports/games/PCLauncher/files/patch-PCLauncher.xcodeproj-project.pbxproj.diff

Modified: users/ryandesign/ports/games/PCLauncher/Portfile
===================================================================
--- users/ryandesign/ports/games/PCLauncher/Portfile	2010-11-06 22:34:20 UTC (rev 73200)
+++ users/ryandesign/ports/games/PCLauncher/Portfile	2010-11-06 22:44:03 UTC (rev 73201)
@@ -34,10 +34,11 @@
     }
 }
 
-patchfiles                  patch-LoginWindowController.m.diff
+patchfiles                  patch-LoginWindowController.m.diff \
+                            patch-PCLauncher.xcodeproj-project.pbxproj.diff
 
 post-patch {
-    reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/LoginWindowController.m ${worksrcpath}/PCDownloader ${worksrcpath}/PCExtractor
+    reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/LoginWindowController.m ${worksrcpath}/PCLauncher.xcodeproj/project.pbxproj ${worksrcpath}/PCDownloader ${worksrcpath}/PCExtractor
 }
 
 post-destroot {

Added: users/ryandesign/ports/games/PCLauncher/files/patch-PCLauncher.xcodeproj-project.pbxproj.diff
===================================================================
--- users/ryandesign/ports/games/PCLauncher/files/patch-PCLauncher.xcodeproj-project.pbxproj.diff	                        (rev 0)
+++ users/ryandesign/ports/games/PCLauncher/files/patch-PCLauncher.xcodeproj-project.pbxproj.diff	2010-11-06 22:44:03 UTC (rev 73201)
@@ -0,0 +1,41 @@
+--- PCLauncher.xcodeproj/project.pbxproj.orig	2010-11-06 14:03:25.000000000 -0500
++++ PCLauncher.xcodeproj/project.pbxproj	2010-11-06 15:25:13.000000000 -0500
+@@ -48,7 +48,7 @@
+ 		5051863B127B8FD900078EC1 /* CSRegex.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CSRegex.m; sourceTree = "<group>"; };
+ 		50C80D5412801809007FCD3A /* Server.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Server.h; sourceTree = "<group>"; };
+ 		50C80D5512801809007FCD3A /* Server.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = Server.mm; sourceTree = "<group>"; };
+-		50C80E3F12816E36007FCD3A /* libHSPlasma.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libHSPlasma.dylib; path = /opt/local/lib/libHSPlasma.dylib; sourceTree = "<absolute>"; };
++		50C80E3F12816E36007FCD3A /* libHSPlasma.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libHSPlasma.dylib; path = @PREFIX@/lib/libHSPlasma.dylib; sourceTree = "<absolute>"; };
+ 		50C80F3E12827C4C007FCD3A /* PreferencesWindowController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PreferencesWindowController.h; sourceTree = "<group>"; };
+ 		50C80F3F12827C4C007FCD3A /* PreferencesWindowController.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = PreferencesWindowController.mm; sourceTree = "<group>"; };
+ 		8D1107310486CEB800E47090 /* PCLauncher-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "PCLauncher-Info.plist"; sourceTree = "<group>"; };
+@@ -274,12 +274,12 @@
+ 				GCC_OPTIMIZATION_LEVEL = 0;
+ 				GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ 				GCC_PREFIX_HEADER = PCLauncher_Prefix.pch;
+-				HEADER_SEARCH_PATHS = /opt/local/include/HSPlasma;
++				HEADER_SEARCH_PATHS = @PREFIX@/include/HSPlasma;
+ 				INFOPLIST_FILE = "PCLauncher-Info.plist";
+ 				INSTALL_PATH = /Applications;
+ 				LIBRARY_SEARCH_PATHS = (
+ 					"$(inherited)",
+-					/opt/local/lib,
++					@PREFIX@/lib,
+ 				);
+ 				PRODUCT_NAME = PCLauncher;
+ 				SDKROOT = "";
+@@ -294,12 +294,12 @@
+ 				GCC_MODEL_TUNING = G5;
+ 				GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ 				GCC_PREFIX_HEADER = PCLauncher_Prefix.pch;
+-				HEADER_SEARCH_PATHS = /opt/local/include/HSPlasma;
++				HEADER_SEARCH_PATHS = @PREFIX@/include/HSPlasma;
+ 				INFOPLIST_FILE = "PCLauncher-Info.plist";
+ 				INSTALL_PATH = /Applications;
+ 				LIBRARY_SEARCH_PATHS = (
+ 					"$(inherited)",
+-					/opt/local/lib,
++					@PREFIX@/lib,
+ 				);
+ 				PRODUCT_NAME = PCLauncher;
+ 				SDKROOT = "";
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101106/4f4b71db/attachment-0001.html>


More information about the macports-changes mailing list