Ticket #17277: Chmox-0.4_1.diff
File Chmox-0.4_1.diff, 2.3 KB (added by nox@…, 16 years ago) |
---|
-
files/patch-chmox.xcode-project.pbxproj.diff
1 --- chmox.xcode/project.pbxproj.orig 2008-11-16 20:53:28.000000000 +0100 2 +++ chmox.xcode/project.pbxproj 2008-11-16 21:17:13.000000000 +0100 3 @@ -1074,7 +1074,6 @@ 4 8D15AC2B0486D014006FF6A4, 5 8D15AC300486D014006FF6A4, 6 8D15AC330486D014006FF6A4, 7 - 448CC7FD068A319600F9B0DB, 8 ); 9 buildRules = ( 10 ); 11 @@ -1098,7 +1097,7 @@ 12 GCC_WARN_FOUR_CHARACTER_CONSTANTS = NO; 13 GCC_WARN_SHADOW = YES; 14 GCC_WARN_UNKNOWN_PRAGMAS = NO; 15 - HEADER_SEARCH_PATHS = /usr/include/libxml2; 16 + HEADER_SEARCH_PATHS = "\"@PREFIX@/include/libxml2\" \"@PREFIX@/include\""; 17 INFOPLIST_FILE = Info.plist; 18 INSTALL_PATH = "$(HOME)/Applications"; 19 LIBRARY_SEARCH_PATHS = ""; -
Portfile
1 1 # $Id$ 2 2 3 3 PortSystem 1.0 4 PortGroup xcode 1.0 5 4 6 name Chmox 5 7 version 0.4 8 revision 1 6 9 categories aqua textproc 7 10 maintainers waqar@macports.org 8 11 description Read CHM documents on your Mac 9 12 long_description \ 10 A viewer for Microsoft Help "CHM" (aka Compiled HTML) files\13 A viewer for Microsoft Help \"CHM\" (aka Compiled HTML) files \ 11 14 on Mac OS X 10.3 using Cocoa, WebKit and chmlib. 12 15 homepage http://chmox.sourceforge.net 13 platforms macosx14 16 15 17 fetch.type cvs 16 18 cvs.root :pserver:anonymous@chmox.cvs.sourceforge.net:/cvsroot/chmox 17 19 cvs.module Sources 18 20 19 21 worksrcdir Sources 20 use_configure no21 22 22 build.type pbx 23 build.target -target ${name} 24 build.args build 23 patchfiles patch-chmox.xcode-project.pbxproj.diff 25 24 26 destroot { 27 cd ${worksrcpath} 28 system "${build.cmd} install ${build.target} \ 29 INSTALL_PATH=/Applications/MacPorts \ 30 INSTALL_MODE_FLAG=go-w,a+rX DSTROOT=${destroot}" 25 post-patch { 26 reinplace s|@PREFIX@|${prefix}| ${worksrcpath}/chmox.xcode/project.pbxproj 31 27 } 28 29 depends_lib port:openssl \ 30 port:libxml2 31 32 xcode.build.settings LIBRARY_SEARCH_PATHS=${prefix}/lib \ 33 DEPLOYMENT_LOCATION=NO 34 35 xcode.destroot.settings LIBRARY_SEARCH_PATHS=${prefix}/lib