[66441] trunk/dports/editors

singingwolfboy at macports.org singingwolfboy at macports.org
Tue Apr 13 08:39:17 PDT 2010


Revision: 66441
          http://trac.macports.org/changeset/66441
Author:   singingwolfboy at macports.org
Date:     2010-04-13 08:39:15 -0700 (Tue, 13 Apr 2010)
Log Message:
-----------
Added port for NERD Tree Vim plugin

Added Paths:
-----------
    trunk/dports/editors/NERD_tree/
    trunk/dports/editors/NERD_tree/Portfile

Added: trunk/dports/editors/NERD_tree/Portfile
===================================================================
--- trunk/dports/editors/NERD_tree/Portfile	                        (rev 0)
+++ trunk/dports/editors/NERD_tree/Portfile	2010-04-13 15:39:15 UTC (rev 66441)
@@ -0,0 +1,52 @@
+# $Id$
+
+PortSystem          1.0
+
+name                NERD_tree
+version             4.1.0
+categories          editors
+maintainers         singingwolfboy openmaintainer
+description         File system explorer for Vim
+long_description    \
+    The NERD tree is a plugin for Vim that allows you to explore your \
+    filesystem and to open files and directories. It presents the filesystem \
+    to you in the form of a tree which you manipulate with the keyboard \
+    and/or mouse. It also allows you to perform simple filesystem operations. 
+
+homepage            http://www.vim.org/scripts/script.php?script_id=1658
+platforms           darwin
+master_sites        http://www.vim.org/scripts/download_script.php?src_id=11834
+distname            ${name}
+use_zip             yes
+
+depends_lib         port:vim
+
+fetch {
+    xinstall -d ${prefix}/var/macports/distfiles/${name}/
+    set dl ${prefix}/var/macports/distfiles/${name}/${distname}${extract.suffix}
+    foreach site ${master_sites} {
+        if {[file exists $dl]} {
+            if {[file size $dl] == 0} {
+                system "curl ${site} > ${dl}"
+            }
+        } else {
+            system "curl ${site} > ${dl}"
+        }
+    }
+}
+checksums           md5     a15fa66b36c3261e598d93dc830398f6 \
+                    sha1    27fb1202606dd00c1f3c0b0196af6579845ce159 \
+                    rmd160  0864709dab747a94fade6bde13e81e4fd5655c32
+extract.mkdir       yes
+use_configure       no
+build {}
+destroot {
+    set vim ${destroot}${prefix}/share/vim/vim72/
+    xinstall -d ${vim}/doc ${vim}/plugin
+    xinstall ${worksrcpath}/doc/${name}.txt ${vim}/doc/
+    xinstall ${worksrcpath}/plugin/${name}.vim ${vim}/plugin/
+    copy ${worksrcpath}/nerdtree_plugin ${vim}
+    
+    # rebuild help tags
+    system "${prefix}/bin/vim -c \":helptags /opt/local/share/vim/vim72/doc\" -c \":q\" "
+}


Property changes on: trunk/dports/editors/NERD_tree/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100413/3fcde213/attachment.html>


More information about the macports-changes mailing list