[123540] trunk/dports/shells/fish/Portfile

and.damore at macports.org and.damore at macports.org
Sun Aug 10 08:57:44 PDT 2014


Revision: 123540
          https://trac.macports.org/changeset/123540
Author:   and.damore at macports.org
Date:     2014-08-10 08:57:44 -0700 (Sun, 10 Aug 2014)
Log Message:
-----------
port fish: fix git version reported from resulting binary (the utility script relies on being called in a git repo), bump revision, rename subdir to revision; nomaintainer

Modified Paths:
--------------
    trunk/dports/shells/fish/Portfile

Modified: trunk/dports/shells/fish/Portfile
===================================================================
--- trunk/dports/shells/fish/Portfile	2014-08-10 15:57:34 UTC (rev 123539)
+++ trunk/dports/shells/fish/Portfile	2014-08-10 15:57:44 UTC (rev 123540)
@@ -5,8 +5,9 @@
 PortGroup               github 1.0
 
 github.setup            fish-shell fish-shell 2.1.0
-# fish was stealth-updated, no changes. Remove this line with the next update.
-dist_subdir             ${name}/${version}_1
+# fish was stealth-updated, no changes. Remove this line with the next version update.
+revision                1
+dist_subdir             ${name}/${version}_${revision}
 name                    fish
 license                 GPL-2
 categories              shells
@@ -33,6 +34,7 @@
 
 post-patch {
     reinplace "s|@@PREFIX@@|${prefix}/bin|g"     "${worksrcpath}/share/config.fish"
+    reinplace "s|DEF_VER=2.0.GIT|DEF_VER=${version}|"     ${worksrcpath}/build_tools/git_version_gen.sh
 }
 
 notes "
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140810/e1911a67/attachment.html>


More information about the macports-changes mailing list