Ticket #14344: Portfile-auctex.diff
File Portfile-auctex.diff, 1.6 KB (added by jrhope, 16 years ago) |
---|
-
Portfile
old new 3 3 PortSystem 1.0 4 4 5 5 name auctex 6 version 11.8 36 version 11.85 7 7 categories editors print 8 8 maintainers reilles@loria.fr openmaintainer 9 9 description A major emacs mode for editing TeX files. … … 17 17 homepage http://www.gnu.org/software/auctex/ 18 18 master_sites gnu 19 19 20 checksums md5 19480487036f602841507c0e151674c220 checksums md5 597c2adbee11877fe1f9b57baf0ba165 21 21 22 # We want emacs from DPsince this will install stuff in emacs'22 # We want emacs from MacPorts since this will install stuff in emacs' 23 23 # site-lisp and we want it to go into ${prefix}'s site-lisp. 24 24 depends_lib port:emacs 25 25 depends_run bin:tex:texlive 26 26 27 variant emacs_devel description {Depend on emacs-devel instead of emacs} { 28 depends_lib-append port:emacs-devel 27 configure.args --with-lispdir=${prefix}/share/emacs/site-lisp \ 28 --with-auto-dir=${prefix}/share/emacs/site-lisp/auctex/auto 29 30 variant emacs_app description "If your Emacs is emacs-app" { 31 depends_lib-append port:emacs-app 29 32 depends_lib-delete port:emacs 30 33 } 31 34 32 configure.args --with-lispdir=${prefix}/share/emacs/site-lisp \ 33 --with-auto-dir=${prefix}/share/emacs/site-lisp/auctex/auto \ 34 --infodir=${prefix}/share/info \ 35 --mandir=${prefix}/share/man 35 variant mactex description "If your TeX distribution is MacTeX" { 36 # Note: This also needs /usr/texbin in binpath in macports.conf 37 configure.args-append --with-texmf-dir=/usr/local/texlive/texmf-local 38 } 36 39 37 40 post-activate { 38 41 ui_msg "To use this, put the following into your ~/.emacs:"