[97076] trunk/dports/editors/textmate2

cal at macports.org cal at macports.org
Sun Aug 26 12:21:03 PDT 2012


Revision: 97076
          https://trac.macports.org/changeset/97076
Author:   cal at macports.org
Date:     2012-08-26 12:21:01 -0700 (Sun, 26 Aug 2012)
Log Message:
-----------
textmate2: update to r9290, released today

Revision Links:
--------------
    https://trac.macports.org/changeset/9290

Modified Paths:
--------------
    trunk/dports/editors/textmate2/Portfile

Added Paths:
-----------
    trunk/dports/editors/textmate2/files/
    trunk/dports/editors/textmate2/files/patch-configure-versionnumber.diff

Modified: trunk/dports/editors/textmate2/Portfile
===================================================================
--- trunk/dports/editors/textmate2/Portfile	2012-08-26 19:07:53 UTC (rev 97075)
+++ trunk/dports/editors/textmate2/Portfile	2012-08-26 19:21:01 UTC (rev 97076)
@@ -4,8 +4,10 @@
 PortSystem              1.0
 PortGroup               github 1.0
 
-github.setup            textmate textmate 134bea2b6c2baef7ce7775f7f1891bd5d229fc22
-version                 2.0.2012082000
+set rev                 9290
+github.setup            textmate textmate r$rev
+version                 2.0.$rev
+epoch                   1
 
 maintainers             cal openmaintainer
 name                    textmate2
@@ -27,7 +29,10 @@
     system -W ${worksrcpath} "git submodule update --init"
 }
 
+patchfiles              patch-configure-versionnumber.diff
+
 post-patch {
+    reinplace "s/@REVISION@/$rev/" ${worksrcpath}/configure
     fs-traverse file ${worksrcpath} {
         if {[file tail ${file}] == "target"} {
             reinplace "/TEST_SOURCES =/d" ${file}

Added: trunk/dports/editors/textmate2/files/patch-configure-versionnumber.diff
===================================================================
--- trunk/dports/editors/textmate2/files/patch-configure-versionnumber.diff	                        (rev 0)
+++ trunk/dports/editors/textmate2/files/patch-configure-versionnumber.diff	2012-08-26 19:21:01 UTC (rev 97076)
@@ -0,0 +1,18 @@
+--- configure.orig	2012-08-26 20:45:18.000000000 +0200
++++ configure	2012-08-26 20:45:30.000000000 +0200
+@@ -16,14 +16,9 @@
+ 
+ name=TextMate
+ ver=2.0
+-rev=1
++rev=@REVISION@
+ min_os=10.7
+ 
+-rev=$(( $(curl -sf "${rest_api}/releases/nightly/revision")+1 )) || \
+-	if test -d .git && which -s git; then
+-		rev=$(git log --oneline master | wc -l)
+-	fi
+-
+ # ===============================================
+ # = Find clang via xcrun, MacPorts, or Homebrew =
+ # ===============================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120826/41007caf/attachment.html>


More information about the macports-changes mailing list