[68483] trunk/dports/tex/LaTeXiT/Portfile

Ryan Schmidt ryandesign at macports.org
Fri Jun 4 08:46:11 PDT 2010


On Jun 4, 2010, at 10:31, singingwolfboy at macports.org wrote:

> Revision: 68483
>          http://trac.macports.org/changeset/68483
> Author:   singingwolfboy at macports.org
> Date:     2010-06-04 08:31:28 -0700 (Fri, 04 Jun 2010)
> Log Message:
> -----------
> updated LaTeXiT to v2.2.0, added dependency on pdftex, along with variant to specify external pdftex

> +variant mactex description "If your TeX distribution is MacTeX" {
> +	depends_run-delete    bin:pdftex:texlive
> +}

I thought the whole point of specifying the texlive dependency using the bin:-style was so that an external binary such as one from MacTeX could satisfy it. (I believe the user is assumed to have inserted the path to the MacTeX programs into the binpath in macports.conf if they want to use MacTeX.) So I don't think such a variant is necessary here. I've not seen such a variant in other ports that use TeX.

I'm not a fan of this variant description either; it doesn't have the imperative style we use in other variant descriptions. Think of it as a checkbox in a GUI: you wouldn't write a checkbox label starting with "If". I guess you just copied this from the auctex port but I don't like it there either. "Use MacTeX instead of TeX Live" would be how I would describe the variant, if indeed the variant is necessary.



More information about the macports-dev mailing list