diff --git a/dports/editors/auctex/Portfile b/dports/editors/auctex/Portfile
a
|
b
|
|
1 | 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 | 2 | # $Id$ |
3 | 3 | |
4 | | PortSystem 1.0 |
| 4 | PortSystem 1.0 |
5 | 5 | |
6 | | name auctex |
7 | | version 11.86 |
8 | | revision 1 |
9 | | categories editors print |
10 | | maintainers loria.fr:reilles openmaintainer |
11 | | license GPL-3+ |
12 | | description A major emacs mode for editing TeX files. |
13 | | long_description \ |
14 | | AUCTeX is an extensible package for writing\ |
15 | | and formatting TeX files in GNU Emacs and XEmacs.\ |
16 | | It supports many different TeX macro packages,\ |
17 | | including AMS-TeX, LaTeX, Texinfo, ConTeXt, and docTeX. |
| 6 | name auctex |
| 7 | version 11.86 |
| 8 | revision 1 |
| 9 | categories editors print |
| 10 | maintainers loria.fr:reilles openmaintainer |
| 11 | license GPL-3+ |
| 12 | description A major emacs mode for editing TeX files. |
| 13 | long_description \ |
| 14 | AUCTeX is an extensible package for writing\ |
| 15 | and formatting TeX files in GNU Emacs and XEmacs.\ |
| 16 | It supports many different TeX macro packages,\ |
| 17 | including AMS-TeX, LaTeX, Texinfo, ConTeXt, and docTeX. |
18 | 18 | |
19 | | platforms darwin |
20 | | supported_archs noarch |
21 | | homepage http://www.gnu.org/software/auctex/ |
22 | | master_sites gnu |
| 19 | platforms darwin |
| 20 | supported_archs noarch |
| 21 | homepage http://www.gnu.org/software/auctex/ |
| 22 | master_sites gnu |
23 | 23 | |
24 | 24 | checksums sha1 af3dd156f8b2db7764c86d9f7de8abd5811d888a \ |
25 | 25 | rmd160 48c84c8e0a9d7659aeb80f579dc6807dd8f654a6 |
26 | 26 | |
27 | 27 | # We want emacs from MacPorts since this will install stuff in emacs' |
28 | 28 | # site-lisp and we want it to go into ${prefix}'s site-lisp. |
29 | | depends_lib port:emacs |
30 | | depends_run bin:tex:texlive |
| 29 | depends_lib port:emacs |
| 30 | depends_run bin:tex:texlive |
31 | 31 | |
32 | | configure.args --with-lispdir=${prefix}/share/emacs/site-lisp \ |
33 | | --with-auto-dir=${prefix}/share/emacs/site-lisp/auctex/auto |
| 32 | configure.args --with-lispdir=${prefix}/share/emacs/site-lisp \ |
| 33 | --with-auto-dir=${prefix}/share/emacs/site-lisp/auctex/auto |
34 | 34 | |
35 | 35 | variant emacs_app description "If your Emacs is emacs-app" { |
36 | | depends_lib-append port:emacs-app |
37 | | depends_lib-delete port:emacs |
38 | | configure.args-append --with-emacs=${applications_dir}/Emacs.app/Contents/MacOS/Emacs |
| 36 | depends_lib-append port:emacs-app |
| 37 | depends_lib-delete port:emacs |
| 38 | configure.args-append --with-emacs=${applications_dir}/Emacs.app/Contents/MacOS/Emacs |
39 | 39 | } |
40 | 40 | |
41 | 41 | variant mactex description "If your TeX distribution is MacTeX" { |
42 | | # Note: This also needs /usr/texbin in binpath in macports.conf |
43 | | configure.args-append --with-texmf-dir=/usr/local/texlive/texmf-local |
| 42 | # Note: This also needs /usr/texbin in binpath in macports.conf |
| 43 | configure.args-append --with-texmf-dir=/usr/local/texlive/texmf-local |
44 | 44 | } |
45 | 45 | |
46 | 46 | notes "To use this, put the following into your ~/.emacs:\n\ |
47 | 47 | (require 'tex-site)" |