source: trunk/dports/tex/tex-whizzytex/Portfile

Last change on this file was 140414, checked in by ryandesign@…, 2 years ago

tex-whizzytex: don't attempt to launch /Applications/Utilities/X11.app (#39460, #48914)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 140414 2015-09-19 13:32:11Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                tex-whizzytex
7version             1.3.1
8revision            3
9categories          tex
10license             GPL-2+
11platforms           darwin
12supported_archs     noarch
13maintainers         nomaintainer
14
15description         An emacs minor mode for incremental viewing of LaTeX documents
16long_description    ${description}
17
18homepage            http://cristal.inria.fr/whizzytex
19master_sites        http://gallium.inria.fr/whizzytex
20distname            whizzytex
21distfiles           ${distname}-${version}.tgz
22worksrcdir          ${distname}-${version}
23
24configure.pre_args  -prefix ${prefix}
25
26depends_lib         bin:tex:texlive
27
28
29checksums           md5     240d4ccb54b167f3baf55313411d6b92 \
30                    sha1    c01e0dc5886631250c786251c009324064dfde97 \
31                    rmd160  017cbdfa178216ec5f97ef0a4848813ac35550e1
32
33post-destroot {
34    xinstall -m 755 -d ${destroot}${prefix}/share/texmf-dist/tex/latex/whizzytex
35    xinstall -m 644 ${worksrcpath}/src/${distname}.sty \
36        ${destroot}${prefix}/share/texmf-dist/tex/latex/whizzytex/
37}
38
39post-activate   {
40    system "mktexlsr"
41    ui_msg "WhizzyTex requires a viewer, like xdvi."
42    ui_msg "To use this, put the following into your ~/.emacs:"
43    ui_msg "(add-to-list 'load-path \"${prefix}/share/whizzytex/emacs/\")"
44    ui_msg "(autoload 'whizzytex-mode"
45    ui_msg "\"whizzytex\""
46    ui_msg "\"WhizzyTeX, a minor-mode WYSIWIG environment for LaTeX\" t)"
47}
48
49livecheck.url       "http://cristal.inria.fr/whizzytex/"
50livecheck.regex     "whizzytex-((\\d+(\\.)*)+)\\.tgz"
Note: See TracBrowser for help on using the repository browser.