Revision: 76594 http://trac.macports.org/changeset/76594 Author: phw@macports.org Date: 2011-03-01 10:20:03 -0800 (Tue, 01 Mar 2011) Log Message: ----------- New port: tex-whizzytex Added Paths: ----------- trunk/dports/tex/tex-whizzytex/ trunk/dports/tex/tex-whizzytex/Portfile Added: trunk/dports/tex/tex-whizzytex/Portfile =================================================================== --- trunk/dports/tex/tex-whizzytex/Portfile (rev 0) +++ trunk/dports/tex/tex-whizzytex/Portfile 2011-03-01 18:20:03 UTC (rev 76594) @@ -0,0 +1,46 @@ +PortSystem 1.0 + +name tex-whizzytex +version 1.3.1 +revision 1 +categories tex +platforms darwin +maintainers phw openmaintiner +description An emacs minor mode for incremental viewing of LaTeX documents +long_description ${description} + +homepage http://cristal.inria.fr/whizzytex +master_sites http://gallium.inria.fr/whizzytex +distname whizzytex +distfiles ${distname}-${version}.tgz +worksrcdir ${distname}-${version} + +configure.pre_args -prefix ${prefix} + +#build.cmd x make build +depends_lib bin:tex:texlive + + +checksums md5 240d4ccb54b167f3baf55313411d6b92 \ + sha1 c01e0dc5886631250c786251c009324064dfde97 \ + rmd160 017cbdfa178216ec5f97ef0a4848813ac35550e1 + +pre-configure { + system "open /Applications/Utilities/X11.app" +} +post-destroot { + xinstall -m 755 -d ${destroot}${prefix}/share/texmf-dist/tex/latex/whizzytex + xinstall -m 644 ${worksrcpath}/src/${distname}.sty ${destroot}${prefix}/share/texmf-dist/tex/latex/whizzytex/ + } + + +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)" + } +