[66446] trunk/dports/editors/NERD_tree/Portfile
singingwolfboy at macports.org
singingwolfboy at macports.org
Tue Apr 13 12:15:27 PDT 2010
Revision: 66446
http://trac.macports.org/changeset/66446
Author: singingwolfboy at macports.org
Date: 2010-04-13 12:15:26 -0700 (Tue, 13 Apr 2010)
Log Message:
-----------
removed fetch phase override, moved helptag rebuild to post-activate
Modified Paths:
--------------
trunk/dports/editors/NERD_tree/Portfile
Modified: trunk/dports/editors/NERD_tree/Portfile
===================================================================
--- trunk/dports/editors/NERD_tree/Portfile 2010-04-13 17:54:55 UTC (rev 66445)
+++ trunk/dports/editors/NERD_tree/Portfile 2010-04-13 19:15:26 UTC (rev 66446)
@@ -4,7 +4,7 @@
name NERD_tree
version 4.1.0
-revision 1
+revision 2
categories editors
maintainers singingwolfboy openmaintainer
description File system explorer for Vim
@@ -16,28 +16,16 @@
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
+master_sites http://www.vim.org/scripts/download_script.php?src_id=11834&dummy=
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 {}
@@ -47,7 +35,8 @@
xinstall ${worksrcpath}/doc/${name}.txt ${vim}/doc/
xinstall ${worksrcpath}/plugin/${name}.vim ${vim}/plugin/
copy ${worksrcpath}/nerdtree_plugin ${vim}
-
+}
+post-activate {
# rebuild help tags
- system "${prefix}/bin/vim -c \":helptags ${destroot}${prefix}/share/vim/vim72/doc\" -c \":q\" "
+ system "${prefix}/bin/vim -c \":helptags ${prefix}/share/vim/vim72/doc\" -c \":q\" "
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100413/ed635af0/attachment.html>
More information about the macports-changes
mailing list