Ticket #35620: port-platypus.diff
File port-platypus.diff, 2.8 KB (added by anddam (Andrea D'Amore), 12 years ago) |
---|
-
files/project.pbxproj.patch
1 --- Platypus.xcodeproj/project.pbxproj.orig 2010-08-18 06:14:30.000000000 +10002 +++ Platypus.xcodeproj/project.pbxproj 2012-07-16 16:07:17.000000000 +10003 @@ -1142,7 +1142,6 @@4 GCC_CW_ASM_SYNTAX = NO;5 GCC_ENABLE_CPP_EXCEPTIONS = NO;6 GCC_ENABLE_CPP_RTTI = NO;7 - GCC_ENABLE_OBJC_EXCEPTIONS = NO;8 GCC_ENABLE_PASCAL_STRINGS = YES;9 GCC_ENABLE_SSE3_EXTENSIONS = YES;10 GCC_ENABLE_SUPPLEMENTAL_SSE3_INSTRUCTIONS = YES; -
Portfile
4 4 PortGroup xcode 1.0 5 5 6 6 name Platypus 7 version 4.4 8 revision 1 7 version 4.7 9 8 categories aqua devel 10 maintainers me.com:tsupplis 9 maintainers me.com:tsupplis openmaintainer 11 10 description Program for creating application wrappers around scripts. 12 11 13 12 long_description Platypus is a program for creating application \ … … 24 23 distname platypus${version}.src 25 24 use_zip yes 26 25 27 checksums md5 e6fe23f7037a873394b70bcc62843940\28 sha1 31faa5ea5e3e266a213aa3dd3c1fa1173e611110\29 rmd160 0708e489de457d79cecb8192f1747459df8402c826 checksums md5 a2a24f6d4cd3da850bbfc54175e3332e \ 27 sha1 87b959b96df9221caacccba3e843558d6800ebec \ 28 rmd160 54dc72eb2af47523561d5140d0cbad842bcfd38c 30 29 31 worksrcdir "${name}-${version}-Source"32 30 33 supported_archs i386 ppc31 supported_archs i386 x86_64 34 32 35 33 build.target platypus ScriptExec Platypus 36 34 destroot.target Platypus … … 39 37 universal_variant no 40 38 } 41 39 42 patchfiles project.pbxproj.patch 40 set extracted_dir "${name} ${version} Source Code" 41 set target_dir [string map {" " _} "$extracted_dir"] 42 worksrcdir $target_dir 43 44 post-extract { 45 file rename ${workpath}/${extracted_dir} ${workpath}/${target_dir} 46 } 47 48 43 49 post-patch { 44 reinplace "s|/usr/local|${prefix}|" ${worksrcpath}/CommandLineTool/platypus.1 ${worksrcpath}/CommonDefs.h 50 reinplace "s|/usr/local|${prefix}|" ${worksrcpath}/CommandLineTool/platypus.1 ${worksrcpath}/Common.h 51 reinplace "s|build/Platypus/Build/Products/Development|build/Deployment|" ${worksrcpath}/Platypus.xcodeproj/project.pbxproj 45 52 } 46 53 47 54 post-destroot { … … 52 59 reinplace "s|English.lproj/||g" ${worksrcpath}/Scripts/InstallCommandLineTool.sh 53 60 } 54 61 55 exec /bin/bash ${worksrcpath}/Scripts/InstallCommandLineTool.sh ${destroot}${applications_dir}/Platypus.app/Contents/Resources 62 system -W ${worksrcpath}/Scripts "./InstallCommandLineTool.sh ${destroot}${applications_dir}/Platypus.app/Contents/Resources" 56 63 } 57 64 58 65 livecheck.type regex