most recent changes, diff for auctex

Index: editors/auctex/Portfile
--- editors/auctex/Portfile (revision 40920)
+++ editors/auctex/Portfile (revision 40921)
@@ -3,7 +3,7 @@
PortSystem 1.0

name auctex
-version 11.83
+version 11.85
categories editors print
maintainers reilles@loria.fr openmaintainer
description A major emacs mode for editing TeX files.
@@ -17,24 +17,30 @@
homepage http://www.gnu.org/software/auctex/
master_sites gnu

-checksums md5 19480487036f602841507c0e151674c2
+checksums md5 597c2adbee11877fe1f9b57baf0ba165

-# We want emacs from DP since this will install stuff in emacs'
+# We want emacs from MacPorts since this will install stuff in emacs'
# site-lisp and we want it to go into ${prefix}'s site-lisp.
depends_lib port:emacs
depends_run bin:tex:texlive

-variant emacs_devel description {Depend on emacs-devel instead of emacs} {
- depends_lib-append port:emacs-devel
- depends_lib-delete port:emacs
+configure.args --with-lispdir=${prefix}/share/emacs/site-lisp \
+ --with-auto-dir=${prefix}/share/emacs/site-lisp/auctex/auto
+
+variant emacs_app description "If your Emacs is emacs-app" {
+ depends_lib-append port:emacs-app
+ depends_lib-delete port:emacs
+ configure.args-append --with-emacs=/Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs
+ configure.args-append --with-lispdir=/Applications/MacPorts/Emacs.app/Contents/Resources/lisp
}

-configure.args --with-lispdir=${prefix}/share/emacs/site-lisp \
- --with-auto-dir=${prefix}/share/emacs/site-lisp/auctex/auto \
- --infodir=${prefix}/share/info \
- --mandir=${prefix}/share/man
+variant mactex description "If your TeX distribution is MacTeX" {
+ # Note: This also needs /usr/texbin in binpath in macports.conf
+ configure.args-append --with-texmf-dir=/usr/local/texlive/texmf-local
+}

post-activate {
ui_msg "To use this, put the following into your ~/.emacs:"
ui_msg "(require 'tex-site)"
}
+