[103969] users/larryv/dports/lang/rust/Portfile

larryv at macports.org larryv at macports.org
Mon Mar 11 02:11:05 PDT 2013


Revision: 103969
          https://trac.macports.org/changeset/103969
Author:   larryv at macports.org
Date:     2013-03-11 02:11:05 -0700 (Mon, 11 Mar 2013)
Log Message:
-----------
[sandbox] rust: Install vim support files.

Modified Paths:
--------------
    users/larryv/dports/lang/rust/Portfile

Modified: users/larryv/dports/lang/rust/Portfile
===================================================================
--- users/larryv/dports/lang/rust/Portfile	2013-03-11 08:16:41 UTC (rev 103968)
+++ users/larryv/dports/lang/rust/Portfile	2013-03-11 09:11:05 UTC (rev 103969)
@@ -107,6 +107,13 @@
 test.env            VERBOSE=1
 
 destroot.args       VERBOSE=1
+post-destroot {
+    foreach dir {after/syntax ftdetect indent syntax} {
+        xinstall -d ${destroot}${prefix}/share/vim/vimfiles/${dir}
+        xinstall -m 644 ${worksrcpath}/src/etc/vim/${dir}/rust.vim \
+            ${destroot}${prefix}/share/vim/vimfiles/${dir}
+    }
+}
 
 livecheck.type      regex
 livecheck.url       ${homepage}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130311/f4e7f646/attachment.html>


More information about the macports-changes mailing list