[40921] trunk/dports/editors/auctex/Portfile

raimue at macports.org raimue at macports.org
Sat Oct 18 08:00:39 PDT 2008


Revision: 40921
          http://trac.macports.org/changeset/40921
Author:   raimue at macports.org
Date:     2008-10-18 08:00:39 -0700 (Sat, 18 Oct 2008)
Log Message:
-----------
editors/auctex:
Update to 11.85 and a few additional variants, closes #14446.

Modified Paths:
--------------
    trunk/dports/editors/auctex/Portfile

Modified: trunk/dports/editors/auctex/Portfile
===================================================================
--- trunk/dports/editors/auctex/Portfile	2008-10-18 14:26:27 UTC (rev 40920)
+++ trunk/dports/editors/auctex/Portfile	2008-10-18 15:00:39 UTC (rev 40921)
@@ -3,7 +3,7 @@
 PortSystem	1.0
 
 name		auctex
-version		11.83
+version		11.85
 categories	editors print
 maintainers	reilles at 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)"
 }
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20081018/34ab9c81/attachment.html 


More information about the macports-changes mailing list