[97145] trunk/dports/editors/textmate2/Portfile

cal at macports.org cal at macports.org
Mon Aug 27 18:19:14 PDT 2012


Revision: 97145
          https://trac.macports.org/changeset/97145
Author:   cal at macports.org
Date:     2012-08-27 18:19:11 -0700 (Mon, 27 Aug 2012)
Log Message:
-----------
textmate2: simplify version variables, make better use of github portgroup, #35860

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

Modified: trunk/dports/editors/textmate2/Portfile
===================================================================
--- trunk/dports/editors/textmate2/Portfile	2012-08-28 01:05:22 UTC (rev 97144)
+++ trunk/dports/editors/textmate2/Portfile	2012-08-28 01:19:11 UTC (rev 97145)
@@ -4,10 +4,9 @@
 PortSystem              1.0
 PortGroup               github 1.0
 
-set rev                 9290
-github.setup            textmate textmate r$rev
-version                 2.0.$rev
+github.setup            textmate textmate 9290 r
 epoch                   1
+version                 2.0.${github.version}
 
 maintainers             cal openmaintainer
 name                    textmate2
@@ -32,7 +31,7 @@
 patchfiles              patch-configure-versionnumber.diff
 
 post-patch {
-    reinplace "s/@REVISION@/$rev/" ${worksrcpath}/configure
+    reinplace "s/@REVISION@/${github.version}/" ${worksrcpath}/configure
     fs-traverse file ${worksrcpath} {
         if {[file tail ${file}] == "target"} {
             reinplace "/TEST_SOURCES =/d" ${file}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120827/b8ac7d17/attachment.html>


More information about the macports-changes mailing list