Ticket #14344: auctex-portfile.diff

File auctex-portfile.diff, 1021 bytes (added by jrhope, 17 years ago)

auctex Portfile enhancement to support Emacs.app and texlive

Line 
125a26,30
2> configure.args        --with-lispdir=${prefix}/share/emacs/site-lisp  \
3>               --with-auto-dir=${prefix}/share/emacs/site-lisp/auctex/auto     \
4>               --infodir=${prefix}/share/info  \
5>               --mandir=${prefix}/share/man
6>
731,34c36,48
8< configure.args        --with-lispdir=${prefix}/share/emacs/site-lisp  \
9<               --with-auto-dir=${prefix}/share/emacs/site-lisp/auctex/auto     \
10<               --infodir=${prefix}/share/info  \
11<               --mandir=${prefix}/share/man
12---
13> variant emacs_app {
14>     depends_lib-append port:emacs-app
15>     depends_lib-delete port:emacs
16>     configure.args-delete --with-lispdir=${prefix}/share/emacs/site-lisp
17>     configure.args-delete --with-auto-dir=${prefix}/share/emacs/site-lisp/auctex/auto
18>     configure.args-append --with-lispdir=/Applications/MacPorts/Emacs.app/Contents/Resources/site-lisp
19>     configure.args-append --with-auto-dir=/Applications/MacPorts/Emacs.app/Contents/Resources/site-lisp/auctex/auto
20> }
21>
22> variant texlive {
23>       depends_run-delete bin:tex:teTeX
24>       depends_run-append bin:tex:texlive
25> }