[100369] trunk/dports/editors/textmate2
cal at macports.org
cal at macports.org
Sun Dec 9 13:12:06 PST 2012
Revision: 100369
https://trac.macports.org/changeset/100369
Author: cal at macports.org
Date: 2012-12-09 13:12:06 -0800 (Sun, 09 Dec 2012)
Log Message:
-----------
textmate2: update to r9323
Revision Links:
--------------
https://trac.macports.org/changeset/9323
Modified Paths:
--------------
trunk/dports/editors/textmate2/Portfile
Added Paths:
-----------
trunk/dports/editors/textmate2/files/patch-bin-gen_credits.rb-use-mp-ruby.diff
trunk/dports/editors/textmate2/files/patch-bin-gen_html-use-mp-ruby.diff
Modified: trunk/dports/editors/textmate2/Portfile
===================================================================
--- trunk/dports/editors/textmate2/Portfile 2012-12-09 19:25:05 UTC (rev 100368)
+++ trunk/dports/editors/textmate2/Portfile 2012-12-09 21:12:06 UTC (rev 100369)
@@ -5,7 +5,7 @@
PortGroup github 1.0
PortGroup xcodeversion 1.0
-github.setup textmate textmate 9315 r
+github.setup textmate textmate 9323 r
epoch 1
version 2.0.${github.version}
@@ -32,11 +32,14 @@
patchfiles patch-configure-versionnumber.diff \
patch-create_default_bundles_tbz-verbose.diff \
- patch-configure-mdt.diff
+ patch-configure-mdt.diff \
+ patch-bin-gen_credits.rb-use-mp-ruby.diff \
+ patch-bin-gen_html-use-mp-ruby.diff
post-patch {
reinplace "s/@REVISION@/${github.version}/" ${worksrcpath}/configure
reinplace "s/__MACOSX_DEPLOYMENT_TARGET__/${macosx_deployment_target}/" ${worksrcpath}/configure
+ reinplace "s#@PREFIX@#${prefix}#" ${worksrcpath}/bin/gen_credits.rb ${worksrcpath}/bin/gen_html
fs-traverse file ${worksrcpath} {
if {[file tail ${file}] == "target"} {
reinplace "/TEST_SOURCES =/d" ${file}
@@ -46,7 +49,9 @@
depends_build-append port:ninja \
port:ragel \
- port:proctools
+ port:proctools \
+ port:ruby \
+ port:rb-json
depends_skip_archcheck ninja ragel proctools
@@ -72,6 +77,10 @@
configure.env-append builddir=${worksrcpath}/build \
tag=-macports
+pre-build {
+ # the textmate build expects this to be present
+ file mkdir $env(HOME)/Library/Caches/com.macromates.TextMate
+}
build.cmd ninja
build.args -v -j ${build.jobs}
build.target TextMate mate
Added: trunk/dports/editors/textmate2/files/patch-bin-gen_credits.rb-use-mp-ruby.diff
===================================================================
--- trunk/dports/editors/textmate2/files/patch-bin-gen_credits.rb-use-mp-ruby.diff (rev 0)
+++ trunk/dports/editors/textmate2/files/patch-bin-gen_credits.rb-use-mp-ruby.diff 2012-12-09 21:12:06 UTC (rev 100369)
@@ -0,0 +1,8 @@
+--- bin/gen_credits.rb.orig 2012-12-09 21:31:56.000000000 +0100
++++ bin/gen_credits.rb 2012-12-09 21:32:22.000000000 +0100
+@@ -1,4 +1,4 @@
+-#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -wKU
++#!@PREFIX@/bin/ruby -wKU
+ # == Synopsis
+ #
+ # Module to assist in building the Contributors page using git commit history.
Added: trunk/dports/editors/textmate2/files/patch-bin-gen_html-use-mp-ruby.diff
===================================================================
--- trunk/dports/editors/textmate2/files/patch-bin-gen_html-use-mp-ruby.diff (rev 0)
+++ trunk/dports/editors/textmate2/files/patch-bin-gen_html-use-mp-ruby.diff 2012-12-09 21:12:06 UTC (rev 100369)
@@ -0,0 +1,8 @@
+--- bin/gen_html.orig 2012-12-09 21:52:18.000000000 +0100
++++ bin/gen_html 2012-12-09 21:52:32.000000000 +0100
+@@ -1,4 +1,4 @@
+-#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -wKU
++#!@PREFIX@/bin/ruby -wKU
+ # == Synopsis
+ #
+ # gen_html: generates HTML file from markdown and optional template(s)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121209/ebcba551/attachment.html>
More information about the macports-changes
mailing list