On Thu, May 27, 2010 at 12:28 AM, Dmitry Marakasov <[email protected]> wrote: > I'd think of `primary purpose' here. If the application is optional, > that's most likely a module. Sometimes there may be applications > inrended only for use with module, they don't count too. hs-zip-archive > seems to need a prefix, pandoc doesn't seem to.
Pandoc already has two purposes: it is a standalone application, and it is already used as a battery for gitit [1] and Bookshelf [2], for example. > Most python, java, erlang apps do the same, so? I found only 5 erlang ports (at first glance, no "erlang" category). Ports in "java" are really connected by the common category :P (but still 55 ports). But I like the python way, and I am leaning towards to propose a "cabal" virtual category. > It's the latter, build depends are not recorded. But why would one need > to update standalone apps? To get updates? :) > I thought the issue was that ports are 'tightly connected' - in that case they > would run-depend on each other. Yes, that is right. Hold on a bit... I am just reading the Handbook: "Include the -R flag if portupgrade should first upgrade all the ports required by the given application." And the man page for portupgrade(1) says this for -R (for --upward-recursive): "Act on all those packages _required by the given packages_ as well. (When specified with -F , fetch recursively, including the brand new, uninstalled ports that an upgraded port requires)" Which means that # portupgrade -R ghc-* Updates my GHC and its _dependencies_? However, as a side effect, all the Cabal ports might be uninstalled as well, but it makes this solution more hackish. Ah, you wanted to say this: # portupgrade -r ghc-* > pkg_info and look what is under py26- and p5-. Then look for end-user apps > written in python and p5. Cool, thanks! Cheers, :g [1] http://hackage.haskell.org/package/gitit [2] http://hackage.haskell.org/package/Bookshelf _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "[email protected]"
