[129141] trunk/dports/editors/NERD_tree/Portfile

Lawrence Velázquez larryv at macports.org
Sun Dec 7 10:38:11 PST 2014


Why is this port obsolete? Does it not work? Has upstream development ceased?

What do you mean "there are better ways of installing vim plugins"? One could say the same thing about Python/Perl/PHP/Ruby modules, but we still have ports for those.

If you're going to prevent installation, you might as well just delete the port. The reason we keep obsolete ports around for a year is to give users a chance to upgrade to the replacement. This port has no replacement, so keeping it around serves no purpose.

vq

> On Dec 7, 2014, at 1:29 PM, khindenburg at macports.org wrote:
> 
> Revision
> 129141 <https://trac.macports.org/changeset/129141>Author
> khindenburg at macports.org <mailto:khindenburg at macports.org>Date
> 2014-12-07 10:29:42 -0800 (Sun, 07 Dec 2014)
> Log Message
> 
> NERD_tree: obsolete - add pre-fetch error to disallow installing #38165
> Modified Paths
> 
> trunk/dports/editors/NERD_tree/Portfile <x-msg://155/#trunkdportseditorsNERD_treePortfile>
> Diff
> 
>  <>Modified: trunk/dports/editors/NERD_tree/Portfile (129140 => 129141)
> 
> --- trunk/dports/editors/NERD_tree/Portfile	2014-12-07 18:21:51 UTC (rev 129140)
> +++ trunk/dports/editors/NERD_tree/Portfile	2014-12-07 18:29:42 UTC (rev 129141)
> @@ -38,6 +38,13 @@
>      xinstall ${worksrcpath}/plugin/${name}.vim ${vim}/plugin/
>      copy ${worksrcpath}/nerdtree_plugin ${vim}
>  }
> +
> +# This port can be removed after Dec 2015
> +pre-fetch {
> +    ui_error "Please do not install this port since this is a vim plugin and there are better ways of installing vim plugins (#38165)."
> +    return -code error
> +}
> +
>  post-activate {
>      # rebuild help tags
>      system "${prefix}/bin/vim -c \":helptags ${prefix}/share/vim/vim73/doc\" -c \":q\" "
> _______________________________________________
> macports-changes mailing list
> macports-changes at lists.macosforge.org <mailto:macports-changes at lists.macosforge.org>
> https://lists.macosforge.org/mailman/listinfo/macports-changes <https://lists.macosforge.org/mailman/listinfo/macports-changes>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20141207/4f881924/attachment.html>


More information about the macports-dev mailing list