Ticket #37602: textmate.patch
File textmate.patch, 2.3 KB (added by ci42, 12 years ago) |
---|
-
Portfile
35 35 patchfiles patch-configure-versionnumber.diff \ 36 36 patch-create_default_bundles_tbz-verbose.diff \ 37 37 patch-configure-mdt.diff \ 38 patch-bin-gen_credits.rb-use-mp-ruby.diff \39 patch-bin-gen_html-use-mp-ruby.diff40 38 41 39 post-patch { 42 40 reinplace "s/@REVISION@/${github.version}/" ${worksrcpath}/configure 43 41 reinplace "s/__MACOSX_DEPLOYMENT_TARGET__/${macosx_deployment_target}/" ${worksrcpath}/configure 44 reinplace "s#@PREFIX@#${prefix}#" ${worksrcpath}/bin/gen_credits.rb ${worksrcpath}/bin/gen_html 42 reinplace "s|/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby|${prefix}/bin/ruby|" \ 43 ${worksrcpath}/bin/gen_credits.rb ${worksrcpath}/bin/gen_html \ 44 ${worksrcpath}/bin/gen_build ${worksrcpath}/bin/process_plist 45 45 fs-traverse file ${worksrcpath} { 46 46 if {[file tail ${file}] == "target"} { 47 47 reinplace "/TEST_SOURCES =/d" ${file} -
files/patch-bin-gen_credits.rb-use-mp-ruby.diff
1 --- bin/gen_credits.rb.orig 2012-12-09 21:31:56.000000000 +01002 +++ bin/gen_credits.rb 2012-12-09 21:32:22.000000000 +01003 @@ -1,4 +1,4 @@4 -#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -wKU5 +#!@PREFIX@/bin/ruby -wKU6 # == Synopsis7 #8 # Module to assist in building the Contributors page using git commit history. -
files/patch-bin-gen_html-use-mp-ruby.diff
1 --- bin/gen_html.orig 2012-12-09 21:52:18.000000000 +01002 +++ bin/gen_html 2012-12-09 21:52:32.000000000 +01003 @@ -1,4 +1,4 @@4 -#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -wKU5 +#!@PREFIX@/bin/ruby -wKU6 # == Synopsis7 #8 # gen_html: generates HTML file from markdown and optional template(s)