Ticket #37188: auctex-whitespace.patch

File auctex-whitespace.patch, 3.0 KB (added by seanfarley (Sean Farley), 12 years ago)
  • dports/editors/auctex/Portfile

    diff --git a/dports/editors/auctex/Portfile b/dports/editors/auctex/Portfile
    a b  
    11# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
    22# $Id$
    33
    4 PortSystem      1.0
     4PortSystem          1.0
    55
    6 name            auctex
    7 version         11.86
    8 revision        1
    9 categories      editors print
    10 maintainers     loria.fr:reilles openmaintainer
    11 license         GPL-3+
    12 description     A major emacs mode for editing TeX files.
    13 long_description        \
    14                 AUCTeX is an extensible package for writing\
    15                 and formatting TeX files in GNU Emacs and XEmacs.\
    16                 It supports many different TeX macro packages,\
    17                 including AMS-TeX, LaTeX, Texinfo, ConTeXt, and docTeX.
     6name                auctex
     7version             11.86
     8revision            1
     9categories          editors print
     10maintainers         loria.fr:reilles openmaintainer
     11license             GPL-3+
     12description         A major emacs mode for editing TeX files.
     13long_description    \
     14    AUCTeX is an extensible package for writing\
     15    and formatting TeX files in GNU Emacs and XEmacs.\
     16    It supports many different TeX macro packages,\
     17    including AMS-TeX, LaTeX, Texinfo, ConTeXt, and docTeX.
    1818
    19 platforms       darwin
    20 supported_archs noarch
    21 homepage        http://www.gnu.org/software/auctex/
    22 master_sites    gnu
     19platforms           darwin
     20supported_archs     noarch
     21homepage            http://www.gnu.org/software/auctex/
     22master_sites        gnu
    2323
    2424checksums           sha1    af3dd156f8b2db7764c86d9f7de8abd5811d888a \
    2525                    rmd160  48c84c8e0a9d7659aeb80f579dc6807dd8f654a6
    2626
    2727# We want emacs from MacPorts since this will install stuff in emacs'
    2828# site-lisp and we want it to go into ${prefix}'s site-lisp.
    29 depends_lib     port:emacs
    30 depends_run     bin:tex:texlive
     29depends_lib         port:emacs
     30depends_run         bin:tex:texlive
    3131
    32 configure.args  --with-lispdir=${prefix}/share/emacs/site-lisp \
    33                 --with-auto-dir=${prefix}/share/emacs/site-lisp/auctex/auto
     32configure.args      --with-lispdir=${prefix}/share/emacs/site-lisp \
     33                    --with-auto-dir=${prefix}/share/emacs/site-lisp/auctex/auto
    3434
    3535variant emacs_app description "If your Emacs is emacs-app" {
    36         depends_lib-append      port:emacs-app
    37         depends_lib-delete      port:emacs
    38         configure.args-append   --with-emacs=${applications_dir}/Emacs.app/Contents/MacOS/Emacs
     36    depends_lib-append    port:emacs-app
     37    depends_lib-delete    port:emacs
     38    configure.args-append --with-emacs=${applications_dir}/Emacs.app/Contents/MacOS/Emacs
    3939}
    4040
    4141variant mactex description "If your TeX distribution is MacTeX" {
    42         # Note: This also needs /usr/texbin in binpath in macports.conf
    43         configure.args-append --with-texmf-dir=/usr/local/texlive/texmf-local
     42    # Note: This also needs /usr/texbin in binpath in macports.conf
     43    configure.args-append --with-texmf-dir=/usr/local/texlive/texmf-local
    4444}
    4545
    4646notes "To use this, put the following into your ~/.emacs:\n\
    4747    (require 'tex-site)"