[109566] trunk/dports/editors/textmate2

cal at macports.org cal at macports.org
Sat Aug 17 09:38:55 PDT 2013


Revision: 109566
          https://trac.macports.org/changeset/109566
Author:   cal at macports.org
Date:     2013-08-17 09:38:54 -0700 (Sat, 17 Aug 2013)
Log Message:
-----------
textmate2: update to alpha 9465, fix livecheck, change version string, fixes #40140, #40141

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

Modified: trunk/dports/editors/textmate2/Portfile
===================================================================
--- trunk/dports/editors/textmate2/Portfile	2013-08-17 16:06:09 UTC (rev 109565)
+++ trunk/dports/editors/textmate2/Portfile	2013-08-17 16:38:54 UTC (rev 109566)
@@ -6,9 +6,9 @@
 PortGroup               xcodeversion 1.0
 PortGroup               conflicts_build 1.0
 
-github.setup            textmate textmate 9455 a
-epoch                   1
-version                 2.0.${github.version}
+set app_revision        9465
+github.setup            textmate textmate 2.0-alpha.${app_revision} v
+epoch                   2
 
 maintainers             cal openmaintainer
 name                    textmate2
@@ -41,7 +41,7 @@
 macosx_deployment_target 10.7
 
 post-patch {
-    reinplace "s/@REVISION@/${github.version}/" ${worksrcpath}/configure
+    reinplace "s/@REVISION@/${app_revision}/" ${worksrcpath}/configure
     fs-traverse file ${worksrcpath} {
         if {[file tail ${file}] == "target"} {
             reinplace "/TESTS *=/d" ${file}
@@ -74,7 +74,7 @@
 }
 
 configure.env-append    builddir=${worksrcpath}/build \
-                        tag=-macports
+                        APP_REVISION=${app_revision}
 
 pre-configure {
     # the textmate build expects this to be present

Modified: trunk/dports/editors/textmate2/files/patch-configure-versionnumber.diff
===================================================================
--- trunk/dports/editors/textmate2/files/patch-configure-versionnumber.diff	2013-08-17 16:06:09 UTC (rev 109565)
+++ trunk/dports/editors/textmate2/files/patch-configure-versionnumber.diff	2013-08-17 16:38:54 UTC (rev 109566)
@@ -1,10 +1,12 @@
---- configure.orig	2013-04-16 01:14:30.000000000 +0200
-+++ configure	2013-04-16 01:15:54.000000000 +0200
-@@ -16,7 +16,7 @@
+--- configure.orig	2013-08-17 18:06:43.000000000 +0200
++++ configure	2013-08-17 18:08:13.000000000 +0200
+@@ -15,8 +15,8 @@
+ # ========================================================
  
  name=TextMate
- ver=2.0-alpha.\$APP_REVISION${tag:-+git.$(git rev-parse --short HEAD)}
+-ver=2.0-alpha.\$APP_REVISION${tag:-+git.$(git rev-parse --short HEAD)}
 -rev=$(( $(curl -sf "${rest_api}/releases/nightly/revision")+1 ))
++ver=2.0-alpha.\$APP_REVISION${tag:-+macports.git.$(git rev-parse --short HEAD)}
 +rev=@REVISION@
  min_os=10.7
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130817/4dbaeb52/attachment.html>


More information about the macports-changes mailing list