[76594] trunk/dports/tex

Ryan Schmidt ryandesign at macports.org
Tue Mar 1 11:17:15 PST 2011


On Mar 1, 2011, at 12:20, phw at macports.org wrote:

> Revision: 76594
>          http://trac.macports.org/changeset/76594
> Author:   phw at macports.org
> Date:     2011-03-01 10:20:03 -0800 (Tue, 01 Mar 2011)
> Log Message:
> -----------
> New port: tex-whizzytex

> +pre-configure {
> +                  system "open /Applications/Utilities/X11.app"
> +}

This doesn't seem like a good idea. What if the user uses MacPorts X11 in ${applications_dir}/X11.app instead of Apple's?

It also doesn't seem necessary because Leopard and later automatically open X11 for you when needed, via launchd magic.

For Tiger, there's "open-x11", but I'm not sure if it would know to handle MacPorts X11 (but that might be ok since Tiger is becoming not so relevant).

http://newsgroups.derkeiler.com/Archive/Comp/comp.sys.mac.system/2007-10/msg02716.html


> +post-activate   {
> +
> +                        system "mktexlsr"
> +			ui_msg "To use this, put the following into your ~/.emacs:"
> +			ui_msg "(add-to-list 'load-path \"${prefix}/share/whizzytex/emacs/\")"
> +			ui_msg "(autoload 'whizzytex-mode"
> +			ui_msg "\"whizzytex\""
> +			ui_msg "\"WhizzyTeX, a minor-mode WYSIWIG environment for LaTeX\" t)"
> + 			}

You should use the notes command here, instead of ui_msgs.




More information about the macports-dev mailing list