Ticket #32137: auctex.diff
File auctex.diff, 2.8 KB (added by vishketan@…, 13 years ago) |
---|
-
Portfile.
old new 2 2 # $Id$ 3 3 4 4 PortSystem 1.0 5 6 5 name auctex 7 6 version 11.86 8 7 categories editors print 9 8 maintainers loria.fr:reilles openmaintainer 10 9 license GPL-3+ 10 platforms darwin 11 supported_archs noarch 12 11 13 description A major emacs mode for editing TeX files. 12 14 long_description \ 13 15 AUCTeX is an extensible package for writing\ … … 15 17 It supports many different TeX macro packages,\ 16 18 including AMS-TeX, LaTeX, Texinfo, ConTeXt, and docTeX. 17 19 18 platforms darwin19 20 homepage http://www.gnu.org/software/auctex/ 20 master_sites 21 master_sites gnu 21 22 22 23 checksums sha1 af3dd156f8b2db7764c86d9f7de8abd5811d888a \ 23 24 rmd160 48c84c8e0a9d7659aeb80f579dc6807dd8f654a6 … … 26 27 # site-lisp and we want it to go into ${prefix}'s site-lisp. 27 28 depends_lib port:emacs 28 29 depends_run bin:tex:texlive 30 depends_build port:texinfo 29 31 30 configure.args --with-lispdir=${prefix}/share/emacs/site-lisp \ 31 --with-auto-dir=${prefix}/share/emacs/site-lisp/auctex/auto 32 configure.args --prefix=${prefix}\ 33 --with-lispdir=${prefix}/share/emacs/site-lisp \ 34 --infodir=${prefix}/share/info 32 35 33 36 variant emacs_app description "If your Emacs is emacs-app" { 34 37 depends_lib-append port:emacs-app 35 38 depends_lib-delete port:emacs 36 configure.args-append --with-emacs=/Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs 37 configure.args-append --with-lispdir=/Applications/MacPorts/Emacs.app/Contents/Resources/lisp 39 configure.args-append --with-emacs=${applications_dir}/Emacs.app/Contents/MacOS/Emacs 38 40 } 39 41 40 42 variant mactex description "If your TeX distribution is MacTeX" { … … 42 44 configure.args-append --with-texmf-dir=/usr/local/texlive/texmf-local 43 45 } 44 46 45 notes "To use this, put the following into your ~/.emacs:\n\ 46 (require 'tex-site)" 47 post-activate { 48 system "${prefix}/bin/install-info ${prefix}/share/info/auctex.info ${prefix}/share/info/dir" 49 system "${prefix}/bin/install-info ${prefix}/share/info/auctex.info-1 ${prefix}/share/info/dir" 50 system "${prefix}/bin/install-info ${prefix}/share/info/auctex.info-2 ${prefix}/share/info/dir" 51 system "${prefix}/bin/install-info ${prefix}/share/info/preview-latex.info ${prefix}/share/info/dir" 52 53 ui_msg "To use auctex, put the following in your ~/.emacs:" 54 ui_msg "(require 'tex-site)" 55 } 56 57 pre-deactivate { 58 system "${prefix}/bin/install-info --delete ${prefix}/share/info/auctex.info ${prefix}/share/info/dir" 59 system "${prefix}/bin/install-info --delete ${prefix}/share/info/auctex.info-1 ${prefix}/share/info/dir" 60 system "${prefix}/bin/install-info --delete ${prefix}/share/info/auctex.info-2 ${prefix}/share/info/dir" 61 system "${prefix}/bin/install-info --delete ${prefix}/share/info/preview-latex.info ${prefix}/share/info/dir" 62 } 63