[117018] trunk/dports/editors/emacs-snapshot/Portfile

dports at macports.org dports at macports.org
Wed Feb 12 14:13:24 PST 2014


Revision: 117018
          https://trac.macports.org/changeset/117018
Author:   dports at macports.org
Date:     2014-02-12 14:13:24 -0800 (Wed, 12 Feb 2014)
Log Message:
-----------
emacs-snapshot: update to v20140101; add suffixes to binary names to
prevent conflicts with emacs port

Modified Paths:
--------------
    trunk/dports/editors/emacs-snapshot/Portfile

Modified: trunk/dports/editors/emacs-snapshot/Portfile
===================================================================
--- trunk/dports/editors/emacs-snapshot/Portfile	2014-02-12 21:16:38 UTC (rev 117017)
+++ trunk/dports/editors/emacs-snapshot/Portfile	2014-02-12 22:13:24 UTC (rev 117018)
@@ -5,8 +5,7 @@
 PortGroup  muniversal 1.0
 
 name            emacs-snapshot
-version         20120829
-revision        2
+version         20140101
 
 categories      editors
 license         GPL-3+
@@ -25,8 +24,8 @@
 master_sites    http://emacs.naquadah.org/unstable/
 distfiles       ${name}_${version}.orig.tar.xz
 
-checksums       rmd160  8a3588b2aa976dd044224b8d3a48d85c5be372fe \
-                sha256  22e74f07ddc0fb4972e89b16de40390833fa1e088019480b8b62a402df1cfacd
+checksums       rmd160  6bd8e699b7520612b1f4b731dff2654ed528c9d9 \
+                sha256  efc01e9c7a871710b8bb1b4008ab304f52baaa2284877eacdd98b28ecdd6bb8d
 
 set suffix      ".${name}"
 
@@ -40,6 +39,7 @@
                 --without-libotf \
                 --without-m17n-flt \
                 --without-gpm \
+                --program-suffix ${suffix} \
                 --infodir ${prefix}/share/info/${name}
 
 use_xz	yes
@@ -54,7 +54,7 @@
 post-destroot {
     xinstall -d ${destroot}${prefix}/share/emacs/${version}/leim
     # avoid conflict with ctags installed by the ctags port
-    delete ${destroot}${prefix}/bin/ctags
+    delete ${destroot}${prefix}/bin/ctags${suffix}
 
     # remove non-version-specific site-lisp dir
     delete ${destroot}${prefix}/share/emacs/site-lisp
@@ -62,11 +62,11 @@
     delete ${destroot}${prefix}/var/games/emacs/tetris-scores
 
     # give the emacs binary (and its manpage) a more sane name
-    move ${destroot}${prefix}/bin/emacs \
+    move ${destroot}${prefix}/bin/emacs${suffix} \
          ${destroot}${prefix}/bin/${name}
-    move ${destroot}${prefix}/bin/emacsclient \
-         ${destroot}${prefix}/bin/emacsclient-snapshot
-    move ${destroot}${prefix}/share/man/man1/emacs.1.gz \
+    move ${destroot}${prefix}/bin/emacs-${version}${suffix} \
+         ${destroot}${prefix}/bin/emacs-${version}
+    move ${destroot}${prefix}/share/man/man1/emacs${suffix}.1.gz \
          ${destroot}${prefix}/share/man/man1/${name}.1.gz
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140212/cdd127c6/attachment.html>


More information about the macports-changes mailing list