Ticket #14344: Portfile-auctex.diff

File Portfile-auctex.diff, 1.6 KB (added by jrhope, 16 years ago)

Removes emacs_devel variant, adds emacs_app and mactex variants, and updates to auctex 11.85.

  • Portfile

    old new  
    33PortSystem      1.0
    44
    55name            auctex
    6 version         11.83
     6version         11.85
    77categories      editors print
    88maintainers     reilles@loria.fr openmaintainer
    99description     A major emacs mode for editing TeX files.
     
    1717homepage        http://www.gnu.org/software/auctex/
    1818master_sites    gnu
    1919
    20 checksums       md5 19480487036f602841507c0e151674c2
     20checksums       md5 597c2adbee11877fe1f9b57baf0ba165
    2121
    22 # We want emacs from DP since this will install stuff in emacs'
     22# We want emacs from MacPorts since this will install stuff in emacs'
    2323# site-lisp and we want it to go into ${prefix}'s site-lisp.
    2424depends_lib     port:emacs
    2525depends_run     bin:tex:texlive
    2626
    27 variant emacs_devel description {Depend on emacs-devel instead of emacs} {
    28     depends_lib-append port:emacs-devel
     27configure.args  --with-lispdir=${prefix}/share/emacs/site-lisp \
     28                --with-auto-dir=${prefix}/share/emacs/site-lisp/auctex/auto
     29
     30variant emacs_app description "If your Emacs is emacs-app" {
     31    depends_lib-append port:emacs-app
    2932    depends_lib-delete port:emacs
    3033}
    3134
    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
     35variant 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}
    3639
    3740post-activate {
    3841        ui_msg "To use this, put the following into your ~/.emacs:"